V3 Alpha
How to Make a Call
API Schema
post
Body
modelstring · enumRequiredPossible values:
textstringRequired
The text content to be converted to speech.
voicestring · enumOptionalDefault:
Name of the voice to be used.
RachelPossible values: apply_text_normalizationstring · enumOptionalPossible values:
This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
output_formatstring · enumOptionalPossible values:
Format of the output content for non-streaming requests. Controls how the generated audio data is encoded in the response.
seedintegerOptional
If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed.
streambooleanOptionalDefault:
trueResponses
200Success
audiostring · uriRequired
post/v1/tts
200Success
Quick Code Example
Last updated
Was this helpful?