Endpoints
Text to Speech
Converts text inputs to speech.
POST
/
text-to-speech
Headers
api-subscription-key
string
default: Your subscription key
Body
application/json
inputs
string[]
requiredList of input sentences to be converted to speech
target_language_code
enum<string>
requiredLanguage code
Available options:
hi-IN
, bn-IN
, kn-IN
, ml-IN
, mr-IN
, od-IN
, pa-IN
, ta-IN
, te-IN
, en-IN
, gu-IN
speaker
enum<string> | null
default: meeraSpeaker for the generated speech
Available options:
meera
, pavithra
, maitreyi
, arvind
, amol
, amartya
pitch
number | null
Pitch of the generated speech
pace
number | null
Pace or speed of the generated speech
loudness
number | null
Volume of the generated speech
speech_sample_rate
enum<integer> | null
default: 22050Sample rate of the generated speech
Available options:
8000
, 16000
, 22050
enable_preprocessing
boolean
default: falseIf true, convert numbers, symbols into devanagari script before converting to speech
model
enum<string>
default: bulbul:v1Model to be used for converting text inputs to speech
Available options:
bulbul:v1
Response
200 - application/json
audios
string[]
requiredwave (.wav) file output, base64 encoded