Getting started
Which interface should I use: REST, Streaming or Realtime?
Which model should I use?
model is required on every request. See Available voices.
How do I pick a voice?
Listen to every voice on Available voices: filter by language, gender or use, and compare up to four. For Timbre v3.0, start with the recommended voices for your language.Which languages are supported?
Hindi, English, Bengali, Gujarati, Kannada, Malayalam, Marathi, Punjabi, Tamil and Telugu, plusauto, which picks the language from the script of the text. See Building for Indian languages.
Voices and speech
Why does my voice return 400?
Voices belong to one model. A Timbre v2.5 voice such as Nalini sent with timbre-v3.0, or a Timbre v3.0 voice such as Shivani sent with timbre-v2.5, returns 400. The error message lists the voices the model supports.
How do I make speech slower or faster?
Setspeed. Timbre v3.0 accepts 0.8 to 1.2, and the supported speeds are 0.8, 1.0 and 1.2. Timbre v2.5 accepts 0.85 to 1.15, or "slow", "medium" and "fast". A value outside the model’s range returns 400.
Can the voice laugh, whisper or pause?
Yes, on Timbre v3.0: put a tag such as<laugh>, <whispers> or <pauses> in the text. There are 13 tags; spelling and case must match exactly, and a wrong tag is dropped without an error. Timbre v2.5 removes tags. See Audio tags.
A number, date or ID is read wrongly. How do I fix it?
Write the text as you would show it on screen, and setlanguage to the language of the text. Some known cases:
- Hindi dates: write 15/03/2026 or पंद्रह मार्च, not 15 मार्च.
- Two-part dates such as 23/06 are read as fractions: include the year.
- Reference numbers of 14 or more digits are read as one run: add spaces or hyphens between groups.
Why is my Hindi text read as English?
Withlanguage: "auto", text that is only Latin letters and digits is read as English. Set language, and write the text in the language’s own script. How Hindi written in Latin letters is read with hi-IN: TBC.
A name or brand is mispronounced.
Ask your Gnani contact about a custom pronunciation.Can I use my own voice?
Yes, with Voice Cloning: upload 5 to 30 seconds of one person speaking, then speak with the voice on the same three interfaces. Only clone a voice when the speaker has agreed to it.Text and audio
My text is longer than 2,048 characters.
Each request takes up to 2,048 characters, audio tags included. Split longer text into several requests, for example at sentence ends. Text that is too long can return500 rather than 400. On Realtime, send the parts as messages on one connection, one after another.
What audio format do I get by default?
A 48 kHz WAV file. Setaudio_config for MP3, OGG Opus, raw PCM, µ-law or A-law, and for another sample rate. See Audio formats.
What should I use for a phone line?
mulaw or alaw, whichever your telephony platform expects. Both are always 8 kHz and have no header.
The file’s sample rate is not what I asked for.
Two cases are expected.mulaw and alaw are always 8 kHz. An MP3 at bitrate: "32k" comes back at 22,050 Hz when you ask for 24,000 or 48,000. Read the sample rate from the file. See Audio formats.
Raw audio plays too fast, too slow or as noise.
raw has no header, so the player needs the sample rate you asked for, 16-bit samples and one channel. Play it with exactly those settings.
How do I put streamed chunks back together?
Decode each chunk’saudio from base64 and append it in order. The last message, complete, has is_final: true and no audio. With raw, each chunk can go straight to a player. See Streaming or Realtime.
Can I call the API from a browser?
Not directly: your API key must stay on your server, and a browser cannot set WebSocket headers. Call the API from your server, or relay the WebSocket through it. The pattern is shown in Stream from a browser.Limits, errors and billing
Why do I get 429 RATE_LIMITED?
On the Free and Pay as you go plans, each API key and account can send 1 request per second and hold 20 WebSocket connections. There is no Retry-After header: wait, then retry with backoff. See Limits and Retrying.
I get 500 with “We are facing technical difficulties”.
It is returned for unexpected failures, and also for text that is too long. Check the text length first, then retry. See Error Reference.
Why do Text-to-Speech errors look different from Speech-to-Text errors?
Text-to-Speech REST and Streaming return a flat body withmessage and status_code; Speech-to-Text uses an error.type envelope. Authentication and rate-limit errors use the same shape on both. See Error Reference.
How much does Text-to-Speech cost?
₹18 per 10,000 characters oftext, excluding GST. Audio tags count, angle brackets included. See Limits and billing.
Related
Available voices
Listen to every voice and compare them.
Limits
Text length, speed, formats and rate limits.
Error Reference
Every Text-to-Speech error and how to retry.
Quickstart
Your first audio file in a few minutes.

