Skip to main content
POST
Text to speech

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Body

application/json
text
string
required

Text to convert to speech

voice
enum<string>
default:alloy

Voice to use for synthesis. Defaults to alloy if omitted or invalid.

Available options:
alloy,
echo,
fable,
onyx,
nova,
shimmer
speed
number

Playback speed multiplier (e.g. 0.5, 1.0, 2.0)

Response

TTS generation accepted

success
enum<boolean>
Available options:
true
data
object
usage
object
meta
object