Skip to main content

Getting Started

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

Supported Models

Text-to-Speech Models

Model NameLanguageDescription
sarvam-tts-enEnglishNatural English voice synthesis
sarvam-tts-hiHindiNatural Hindi voice synthesis
sarvam-tts-mlMalayalamNatural Malayalam voice synthesis
sarvam-tts-knKannadaNatural Kannada voice synthesis
sarvam-tts-taTamilNatural Tamil voice synthesis
sarvam-tts-teTeluguNatural 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)
  • 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 PageNavigate 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.