Speech

Text to speech

Returns the audio itself; X-Voice and X-Voice-Licence headers name the voice and its licence. Up to 3,000 characters; split longer text. Write the text in its own script: Hindi in Devanagari, Telugu in Telugu, Malayalam in Malayalam.

get/v1/tts

Request

  • Base URL: https://api.dharun.dev
  • URL: https://api.dharun.dev/v1/tts
  • Auth: none declared

Query parameters

textstring

What to say (or POST it).

voicestring

A voice ID from /v1/tts/voices, or a language (hi, te, ml, en, en-GB) for its first voice that may be used commercially. Default en.

format'mp3' | 'ogg' | 'wav'

Default mp3.

speedstring

0.5 to 2. Default 1.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.