Skip to main content
POST
Generate speech (TTS)
See the Audio guide for runnable examples and voices.

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token.

Body

application/json
input
string
required
model
string
required
format
string
parameters
object
speed
number
store
boolean

Persist the generated audio to /v3/files and return a reusable file_id. Defaults to true; set false to skip.

voice
string

Response

Successful response

audio
object
required
created
integer
required
id
string
required
model
string
required
usage
object
required