latestOpenAPI 3.1.02026-08-10131241.9 KB
b1edb3c2f3e8
Text To Speech
Generate speech to text. The audio is generated at 24khz.
- text: The text input for TTS
- user_id: The user id making the request.
- seed: A random seed to use for the voice. All voices are random and using the same seed will generate same voice
NOTE:
The tts is limited to 1 min length. Please reach out to us if you need longer audio. The API will return a JSON object that looks like:
{
"url":"05_06_2023/test-a8ee1618-a767-46f6-be30-dc8e3ae1b8ad/animations/C480BDD3-6E47-4949-B0C2-3C1C0E388391.tts.mp3",
"frames":null,
"task_id":"84289e12-562a-4fa8-8d43-895d050b54b4",
"task_status":"PENDING"
}
post/tts
Response
Successful Response
{"stackTrail":"paths:/tts:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}