Text to Speech
Voice
Convert Text to speech
This endpoint converts text into streaming audio. It does streaming automatically so consider sending request as events streams, Server-Sent Events (SSE) or any other streaming method.
POST
Text to Speech
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The text to be converted to speech
Example:
"Hello, how are you?"
The model to use for TTS
Available options:
pawa-tts-v1-20250704 Example:
"pawa-tts-v1-20250704"
The voice to use for text-to-speech
Available options:
ame, liora, ayana Maximum number of tokens to generate
Sampling temperature
Required range:
-2 <= x <= 2Top-p nucleus sampling
Required range:
0 <= x <= 1Repetition penalty
Response
Audio streamed successfully
The response is of type file.