Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The text to convert to speech.
The voice identifier to use for speech generation.
The sample rate for the generated audio.
Required range:
8000 <= x <= 24000
The speed of the generated speech.
Required range:
0.5 <= x <= 2
Determines how numbers are spelled out. If set to 'en', numbers will be read as individual digits in English. If set to 'hi', numbers will be read as individual digits in Hindi.
Available options:
en
, hi
The format of the output audio.
Available options:
pcm
, mp3
, wav
, mulaw
Response
Synthesized speech retrieved successfully.
A PCM int16 WAV file at the specified sample rate.