Skip to main content
POST
Text to Speech

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
text
string
required

The text to be converted to speech

Example:

"Hello, how are you?"

model
enum<string>
default:pawa-tts-v1-20250704
required

The model to use for TTS

Available options:
pawa-tts-v1-20250704
Example:

"pawa-tts-v1-20250704"

voice
enum<string>
default:ame

The voice to use for text-to-speech

Available options:
ame,
liora,
ayana
max_tokens
number
default:65536

Maximum number of tokens to generate

temperature
number
default:0.5

Sampling temperature

Required range: -2 <= x <= 2
top_p
number
default:0.95

Top-p nucleus sampling

Required range: 0 <= x <= 1
repetition_penalty
number
default:1.1

Repetition penalty

Response

Audio streamed successfully

The response is of type file.