v1
latestOpenAPI 3.0.02026-07-2451715.1 KBText-to-Speech
Sync TTS
Has a timeout of 90 seconds. If the process is not completed within that time, it will return a pending TTS Job just like the Async TTS.
post/api/v1/tts/sync
Request body
Example request
{
"text": "Welcome to Genny!",
"speaker": "640f477d2babeb0024be422b"
}Response
It will return generated audio urls if job is successfully completed within 90 seconds. Otherwise it will return an incomplete TTS Job just like the Async TTS. Check the job status with Async Retrieve Job API using the returned id.
Example response
{
"id": "643e383551e2730025c5ae69"
}