Generate TTS Audio
Session Operations
Generate TTS Audio
Convert text to speech audio using the session’s configured TTS voice.
Request Parameters
| Parameter | Required | Description |
|---|---|---|
text | Yes | The text to convert to speech |
locale | No | Language/locale for text normalization (e.g., ko, en) |
Response
Returns base64-encoded audio data in the configured format.
Example
Select “TTSRequest” from the Examples dropdown to see the request format.
POST
Generate TTS Audio
Path Parameters
Body
Text to convert to speech using the session's configured voice.
Minimum string length:
1Optional locale (e.g. en-US, ko-KR) for text normalization.
Minimum string length:
1Audio format to return: mp3, wav, or pcm.
pcm_24000- pcm_24000pcm_44100- pcm_44100wav_24000- wav_24000wav_44100- wav_44100mp3_44100- mp3_44100mp3- mp3wav- wavpcm- pcm
Available options:
pcm_24000, pcm_44100, wav_24000, wav_44100, mp3_44100, mp3, wav, pcm 
