v1

latestOpenAPI 3.1.02026-08-06221222240.7 KB
TTS

Generate Tts Audio

Generate an audio message from text using the configured TTS provider.

If voice_id is provided, uses the org's cloned voice. Returns a presigned S3 URL for immediate playback and the S3 key.

post/v1/tts/generate

Request body

textstring required
tone'professional' | 'friendly' | 'enthusiastic'
voice_idstring nullable
optimize_textboolean
background_noisestring nullable
language_codestring nullable

Response

Successful Response

audio_urlstring required
s3_keystring required
spoken_textstring nullable