Skip to content

Create a speech task ​

POST/tts/v1/tasks

One task produces one MP3. Fixed billing per successful generation, regardless of text length within the limit. Failed tasks refund the reservation. Save the returned ID before polling.

Asynchronous · submit and query · Returns a task ID. Query its status in the playground, then retrieve the result.

Authentication

Use a customer API Key. Setup →

Authorization: Bearer YOUR_API_KEY
VOX / VOICE LIBRARY

Listen. Find your voice.

Free samples · No API key

Choose a voice to update the request example and playground. Synthesizing your own text uses normal generation billing.

English0 voices

Choose a model

Model capabilities and limits →

Request body

The form uses canonical speech fields. Legacy text/parameters/output requests remain valid in the JSON editor; do not mix formats.

modelstringrequired

"vox-1"
inputstring

Plain text, up to 5000 weighted character units: U+4E00–U+9FFF Han characters count twice, other Unicode code points once. No truncation or splitting. Emotion markup is not interpreted.

Minimum characters: 1 · Maximum characters: 5000

voicestringrequired

A voice ID from /assets/media-tts/voices.json on the documentation site. Voices belong to their listed models.

Pattern: "^vx_[a-f0-9]{12}$"

speednumber

Speaking speed multiplier.

Minimum: 0.5 · Maximum: 2 · Default: 1

response_formatstring

Only MP3 is supported.

"mp3"

Default: "mp3"

metadataobject
Show structure
pitchinteger

Pitch control.

Minimum: -12 · Maximum: 12 · Default: 0

volumeinteger

Volume control: 0 retains baseline volume; values up to 10 increase it. Zero is not mute.

Minimum: 0 · Maximum: 10 · Default: 0

emotionstring

Emotion applied to the entire text. Perceived effect varies with voice and text.

"""happy""sad""angry""fearful""disgusted""surprised""neutral"

Default: ""

enhanceboolean

Enable speech enhancement. Set false for an unenhanced request.

Default: true

Additional properties are not allowed.

oneOf · 1
modelstringrequired

"vox-1"
inputstringrequired

Plain text, up to 5000 weighted character units: U+4E00–U+9FFF Han characters count twice, other Unicode code points once. No truncation or splitting. Emotion markup is not interpreted.

Minimum characters: 1 · Maximum characters: 5000

voicestringrequired

A voice ID from /assets/media-tts/voices.json on the documentation site. Voices belong to their listed models.

Pattern: "^vx_[a-f0-9]{12}$"

speednumber

Speaking speed multiplier.

Minimum: 0.5 · Maximum: 2 · Default: 1

response_formatstring

Only MP3 is supported.

"mp3"

Default: "mp3"

metadataobject
Show structure
pitchinteger

Pitch control.

Minimum: -12 · Maximum: 12 · Default: 0

volumeinteger

Volume control: 0 retains baseline volume; values up to 10 increase it. Zero is not mute.

Minimum: 0 · Maximum: 10 · Default: 0

emotionstring

Emotion applied to the entire text. Perceived effect varies with voice and text.

"""happy""sad""angry""fearful""disgusted""surprised""neutral"

Default: ""

enhanceboolean

Enable speech enhancement. Set false for an unenhanced request.

Default: true

Additional properties are not allowed.

Additional properties are not allowed.

oneOf · 2
modelstringrequired

"vox-1"
textstringrequired

Plain text, up to 5000 weighted character units: U+4E00–U+9FFF Han characters count twice, other Unicode code points once. No truncation or splitting. Emotion markup is not interpreted.

Minimum characters: 1 · Maximum characters: 5000

voicestringrequired

A voice ID from /assets/media-tts/voices.json on the documentation site. Voices belong to their listed models.

Pattern: "^vx_[a-f0-9]{12}$"

parametersobject
Show structure
speednumber

Speaking speed multiplier.

Minimum: 0.5 · Maximum: 2 · Default: 1

pitchinteger

Pitch control.

Minimum: -12 · Maximum: 12 · Default: 0

volumeinteger

Volume control: 0 retains baseline volume; values up to 10 increase it. Zero is not mute.

Minimum: 0 · Maximum: 10 · Default: 0

emotionstring

Emotion applied to the entire text. Perceived effect varies with voice and text.

"""happy""sad""angry""fearful""disgusted""surprised""neutral"

Default: ""

enhanceboolean

Enable speech enhancement. Set false for an unenhanced request.

Default: true

Additional properties are not allowed.

outputobject
Show structure
formatstring

"mp3"

Default: "mp3"

Additional properties are not allowed.

Additional properties are not allowed.

Responses

JSON response

Content-Type application/json

idstringrequired
modelstringrequired

Fixed value: "vox-1"

statusstringrequired
"queued""running""succeeded""failed"
audioobject
Show structure
formatstring

Fixed value: "mp3"

mime_typestring

Fixed value: "audio/mpeg"

artifactsstring

Authenticated artifact-list endpoint.

errorobject
Show structure
codestring
messagestring

Task status and results