POST
/
awaaz
/
get_speech

⚠️ Deprecated: This endpoint is deprecated and will be removed in a future version. Please use Waves API instead.

Authorizations

Authorization
string
headerrequired

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

Headers

Authorization
string
required

Bearer token for authentication. Format is 'Bearer {token}'

Body

application/json
text
string

The text to be synthesized into speech

voice_id
string

The ID of the voice to be used for synthesis:

  • 'prabhu_indian_male'
  • 'vijay_indian_male'
  • 'suresh_indian_male'
  • 'anuja_indian_female'
  • 'govind_indian_male'
  • 'anamika_whisper_female'
  • 'joy_sleepy_male'
  • 'willian_angry_male'
  • 'mehul_cheerful_male'
  • 'janhvi_professional_female'
  • 'chandralekha_bengal_female'
  • 'rustom_bengal_male'
  • 'rakesh_north_indian_male'
  • 'sarika_north_indian_female'
  • 'ishwara_south_indian_male'
  • 'jatin-mp-male'
  • 'kavya-del-female'
  • 'anamika-UP-female'
  • 'abhay-UP-male'
  • 'chandralekha_bengal_female'
  • 'rustom_bengal_male'
  • 'rakesh_north_indian_male'
  • 'sarika_north_indian_female'
  • 'ishwara_south_indian_male'
speed
number

The speed of the speech, ideally between 0.5 and 2

add_wav_header
boolean
default: true

Whether to return the wav file with a header or without a header

sample_rate
integer
default: 24000

Sample rate of the output wav file.

Response

200 - audio/wav

A PCM int16 WAV file at the specified frequency.