Skip to main content
POST

Headers

string
required
Bearer token authentication. Format: Authorization: Bearer sk-xxxxxx

Body

Format: application/json
string
required
Model ID
string
required
Text to convert, up to 4096 characters
string
required
Voice, allowed values: alloy, echo, fable, onyx, nova, shimmer
string
default:"mp3"
Audio output format, allowed values: mp3, opus, aac, flac, wav, pcm
number
default:"1"
Speech speed, range 0.25 to 4

Response

200 Success

Format: audio/mpeg
file
Audio fileFormat: binary
Last modified on October 28, 2026