POST
/
text-to-speech

Headers

api-subscription-key
string
default:

Body

application/json
inputs
string[]
required

List of input sentences to be converted to speech

target_language_code
enum<string>
required

Language 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: meera

Speaker 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: 22050

Sample rate of the generated speech

Available options:
8000,
16000,
22050
enable_preprocessing
boolean
default: false

If true, convert numbers, symbols into devanagari script before converting to speech

model
enum<string>
default: bulbul:v1

Model to be used for converting text inputs to speech

Available options:
bulbul:v1

Response

200 - application/json
audios
string[]
required

wave (.wav) file output, base64 encoded