Text-to-Speech
API Reference
Text-to-Speech
Converts text into natural-sounding speech using Freya’s TTS model. Returns a binary audio file. Supports the following emotion tags: [pause], [eee], [throat clearing], [mm-hmm], [laughter], [deep breath], [hmm], [cough], [breath]
POST
Text-to-Speech
Authorizations
Bearer token issued by your workspace.
Body
application/json
The text to synthesize audio for.
The voice ID to use.
Available options:
leyla, zeynep, alev, ali, alper, mustafa Response format for the API request.
Available options:
mp3, opus, aac, flac, wav, pcm Quality preset. tts-1 is faster; tts-1-hd is higher quality.
Available options:
tts-1, tts-1-hd Response
Audio file generated successfully.
Binary WAV audio data.