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)
- Navigate to your API dashboard
- Generate an API key
- Copy the API key (make sure to save it securely)
Setting Up Provider Credentials
Select Sarvam AI
On the Integrations page, find the Sarvam AI provider card.Click the “Setup Credential” button for Sarvam AI.
Create Provider Credential
A modal window will appear titled “Create provider credential”. Follow these steps:
- Select “Sarvam AI” from the dropdown (if not already selected)
- Enter a Key Name: Assign a unique name to this provider key for easy identification
- Enter the API Key: Input your Sarvam AI API key
- Click “Configure” to save the credential
Verify Credential Setup
After setting up the credential, you can verify it’s been added:
- The Sarvam AI provider card should now show “Connected”
- If you click on the provider, you’ll see a “View provider credential” modal
- This modal displays the credential name, when it was last updated, and options to delete or close
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
