Overview
SarvamTTSService
provides text-to-speech synthesis specialized for Indian languages and voices. The service offers extensive voice customization options including pitch, pace, and loudness control, with support for multiple Indian languages and preprocessing for mixed-language content.
Sarvam TTS API Reference
Pipecat’s API methods for Sarvam AI TTS integration
Example Implementation
Complete example with Indian language support
Sarvam Documentation
Official Sarvam AI text-to-speech API documentation
Sarvam Console
Access Indian language voices and API keys
Installation
To use Sarvam AI services, no additional dependencies are required beyond the base installation:Prerequisites
Sarvam AI Account Setup
Before using Sarvam AI TTS services, you need:- Sarvam AI Account: Sign up at Sarvam AI Console
- API Key: Generate an API key from your account dashboard
- Language Selection: Choose from available Indian language voices
Required Environment Variables
SARVAM_API_KEY
: Your Sarvam AI API key for authentication