> ## 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

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

## Getting Started

To integrate Sarvam AI with your Rapida application for speech and voice capabilities, follow these steps:

## Supported Models

### Speech-to-Text Models

| Model Name       | Description         | Best For                     |
| ---------------- | ------------------- | ---------------------------- |
| sarvam-speech-en | English STT model   | English speech recognition   |
| sarvam-speech-hi | Hindi STT model     | Hindi speech recognition     |
| sarvam-speech-ml | Malayalam STT model | Malayalam speech recognition |
| sarvam-speech-kn | Kannada STT model   | Kannada speech recognition   |
| sarvam-speech-ta | Tamil STT model     | Tamil speech recognition     |
| sarvam-speech-te | Telugu STT model    | Telugu speech recognition    |

### Text-to-Speech Models

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

## Supported Languages

Sarvam AI specializes in Indian languages and supports:

* **English**: Full support
* **Hindi**: Complete support
* **Regional Languages**: Malayalam, Kannada, Tamil, Telugu, and more

## 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

<Steps>
  <Step title="Access the Integrations Page">
    <img src="https://mintcdn.com/rapidaai/iFtJHOhZE0HHFT_Q/images/integration/providers/providers-and-models.png?fit=max&auto=format&n=iFtJHOhZE0HHFT_Q&q=85&s=1aa112ebaf44541a92bcac925df62cf8" alt="Integrations Page" width="3600" height="2024" data-path="images/integration/providers/providers-and-models.png" />

    Navigate to the "Integration > Models" page to access voice service providers.
  </Step>

  <Step title="Select Sarvam AI">
    On the Integrations page, find the Sarvam AI provider card.

    Click the "Setup Credential" button for Sarvam AI.
  </Step>

  <Step title="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
  </Step>

  <Step title="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
  </Step>
</Steps>

Your Sarvam AI provider credential is now set up for voice AI integration.

## Integration Features

* **Indian Languages**: Best-in-class support for Indian languages
* **Multilingual**: Support for English and major Indian languages
* **High Accuracy**: Optimized models for Indian speech patterns
* **TTS & STT**: Complete voice capabilities
* **Natural Voices**: Natural-sounding speech synthesis
* **Real-time Processing**: Low-latency speech processing
* **Developer Friendly**: Easy-to-use APIs

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