> For clean Markdown of any page, append `.md` to the page URL.
> For a complete documentation index, see https://docs.sarvam.ai/llms.txt.
> For full documentation content in one file, see https://docs.sarvam.ai/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sarvam.ai/_mcp/server.

# Generating Speech

Generate a voice clip from written text, tuned for Indian accents and dialects. For an overview of what Text to Speech does and who it's for, see the [Text to Speech overview](/creative-text-to-speech).

## Interface Controls

![Sarvam Creative Text to Speech screen. Header row has the page title Text to Speech plus Feedback and History buttons in the top right. The main text input container comes pre-filled with sample text on first visit that you can overwrite. Along the bottom edge of the input box is a language dropdown and a live count reading 327 characters, approximately 0.98 credits. Below the input box, a Speed control shows a slider with a snail icon at the slow end and the current multiplier displayed on the right. The right side of the screen holds two tabs, Sarvam voices and Cloned voices, the Cloned voices tab, when empty, shows No cloned voices yet, the line Clone your own voice in 30 seconds and use it across Studio, and a black Clone a voice button.](https://files.buildwithfern.com/https://sarvam-api-docs.docs.buildwithfern.com/5245c95635c61c446075d4b093d096fd6594ca5be1fbadf89bba8ac5c67f0a32/sarvam-creative/assets/tts-interface.png)

* **Text input box** - central field, pre-filled with sample text you can try or overwrite; character count updates live to estimate credit cost.
* **Feedback** and **History** - header buttons for sending feedback and reviewing your past generations.
* **Language dropdown** - along the bottom edge of the input box.
* **Speed** - a slider showing the exact delivery-speed multiplier (e.g. "1.00x").
* **Sarvam voices / Cloned voices tabs** - toggle between curated voices and your own clones. The Sarvam voices tab also has an **"All genres" filter** and a **Favorites** toggle, on top of each voice's own favorite heart icon.

## Generate a Voice Clip

Paste or type your text into the text input box, replacing the sample text.

* Punctuation matters more than you'd expect - commas and periods are what the model uses to place natural pauses. Under-punctuated text tends to sound rushed.

The gap between a rushed clip and a natural one is usually just punctuation:

* **Weak:** *"welcome to sarvam ai we build voice technology for indian languages"*
* **Better:** *"Welcome to Sarvam AI. We build voice technology for Indian languages."*
* **Best:** *"Welcome to Sarvam AI - we build voice technology for Indian languages, with support across more than 10 scripts."*

The dash and comma in the last version give the model natural places to breathe, instead of reading the whole line in one flat rush.

Choose the synthesis language from the dropdown along the bottom edge of the input box.

!\[Language dropdown open beneath the Text to Speech input box, showing a scrollable list of languages (English checked, then Hindi, Bengali, Gujarati, Kannada, and more below), with the live character-and-credit count visible underneath.]\(../../assets/TTS choose.png)

* This should match the language your text is actually written in - mismatches are one of the most common causes of mispronounced words.

Drag the **Speed** slider to set the multiplier (e.g. "1.00x" is normal pace).

<img src="https://files.buildwithfern.com/https://sarvam-api-docs.docs.buildwithfern.com/17e409b948ec09abc4d528ecf26d48d198af37a91e58cfacf7cee4039e47af30/sarvam-creative/assets/tts speed.png" alt="Speed control showing a slider with a snail icon at the slow end, set to the default 1.00x multiplier." />

* Values below 1.00x read as more deliberate and authoritative - useful for narration or instructional content.
* Values above 1.00x read as more energetic and casual - useful for ads or social content.

Select a persona from the **Sarvam voices** or **Cloned voices** tab.

<img src="https://files.buildwithfern.com/https://sarvam-api-docs.docs.buildwithfern.com/4c2675473730047c502ee56b40f1c042ff0b936d96917a2e9a22812fad9e40e8/sarvam-creative/assets/tts sarvam voice.png" alt="Sarvam voices tab, active, showing the All genres filter, a Favorites toggle, and a list of voice rows (e.g. Shubh, Ritu, Amit, Sumit, Pooja, Manan) each with a gender tag, a one-line personality description, and a favorite heart icon." />

<img src="https://files.buildwithfern.com/https://sarvam-api-docs.docs.buildwithfern.com/9462f58f83534e2ae69297094bcd18c6cf6c6e1a80a4354ef5892064a0ac00e1/sarvam-creative/assets/tts cloned voice.png" alt="Cloned voices tab, active and empty, reading No cloned voices yet, Clone your own voice in 30 seconds and use it across Studio, with a black Clone a voice button." />

* No cloned voices yet? Click **Clone a voice** right there in the Cloned voices tab - it opens the cloning flow directly, and the new voice becomes available here once processing finishes.
* Reusing the same persona across a project's assets is what makes the output feel like one consistent "voice" rather than a series of one-off generations.

Need this in your own product instead of the dashboard? The same synthesis pipeline is available via the TTS API - see the API Reference.