Skip to main content
POST
{base_url}
/
v1
/
audio
/
speech
Error
A valid request URL is required to generate request examples
"<string>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Text-to-speech request

input
string
required
model
string
required
voice
string
required
instructions
string
provider
string

Provider is gateway routing metadata, stripped before dispatching upstream.

response_format
string
speed
number

Response

Binary audio in the requested response_format

The response is of type file.