> ## Documentation Index
> Fetch the complete documentation index at: https://doc.rapida.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Sarvam AI Text-to-Speech

> Sarvam AI provides text-to-speech capabilities with strong support for Indian languages.

## Getting Started

To integrate Sarvam AI Text-to-Speech with your Rapida application, follow these steps:

## Supported Models

### Text-to-Speech Models

| Model Name | Language | Description |
| - | - | - |
| sarvam-tts-en | English | Natural English voice synthesis |
| sarvam-tts-hi | Hindi | Natural Hindi voice synthesis |
| sarvam-tts-ml | Malayalam | Natural Malayalam voice synthesis |
| sarvam-tts-kn | Kannada | Natural Kannada voice synthesis |
| sarvam-tts-ta | Tamil | Natural Tamil voice synthesis |
| sarvam-tts-te | Telugu | Natural Telugu voice synthesis |

### Supported Languages

Sarvam AI specializes in Indian languages:

* **English**: Full support with natural-sounding voices
* **Hindi**: Complete voice synthesis support
* **Regional Languages**:
  * Malayalam
  * Kannada
  * Tamil
  * Telugu
  * And more

### Voice Features

* **Multiple Voice Options**: Different voice personalities for each language
* **Natural Sounding**: Optimized for Indian language phonetics
* **Speed Control**: Adjust speaking rate
* **Pitch Control**: Fine-tune voice pitch
* **Emotion Styles**: Express different emotional tones

## Prerequisites

* Have a Sarvam AI account (sign up at [https://www.sarvam.ai](https://www.sarvam.ai))
* Navigate to your API dashboard
* Generate an API key
* Copy the API key (make sure to save it securely)

# Setting Up Provider Credentials

**1. Access the Integrations Page**

![Integrations Page](https://mintcdn.com/rapidaai/iFtJHOhZE0HHFT_Q/images/integration/providers/providers-and-models.png?fit=max\&auto=format\&n=iFtJHOhZE0HHFT_Q\&q=85\&s=1aa112ebaf44541a92bcac925df62cf8)

Navigate to the "Integration > Models" page to access TTS providers.

**2. Select Sarvam AI**

On the Integrations page, find the Sarvam AI provider card.

Click the "Setup Credential" button for Sarvam AI.

**3. Create Provider Credential**

A modal window will appear titled "Create provider credential". Follow these steps:

1. Select "Sarvam AI" from the dropdown (if not already selected)
2. Enter a Key Name: Assign a unique name to this provider key for easy identification
3. Enter the API Key: Input your Sarvam AI API key
4. Click "Configure" to save the credential

**4. Verify Credential Setup**

After setting up the credential, you can verify it's been added:

1. The Sarvam AI provider card should now show "Connected"
2. If you click on the provider, you'll see a "View provider credential" modal
3. This modal displays the credential name, when it was last updated, and options to delete or close

Your Sarvam AI Text-to-Speech provider credential is now set up.

## Integration Features

* **Indian Languages First**: Best-in-class support for Indian languages
* **Natural Voices**: Optimized voice synthesis for Indian language speakers
* **Multiple Languages**: English and major Indian languages
* **Quality TTS**: High-quality voice synthesis
* **Developer Friendly**: Easy-to-use APIs
* **Low Latency**: Fast response times
* **Cost-Effective**: Affordable pricing for Indian startups

## Use Cases

* Customer service chatbots in Indian languages
* Voice-enabled e-commerce platforms
* Accessibility for Indian language content
* Educational applications
* Entertainment and media applications
* IoT devices and smart home integration

For more information, visit the [Sarvam AI documentation](https://www.sarvam.ai/).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.