Skip to main content
Sarvam AI provides streaming text-to-speech using the Bulbul model, with configurable speaker, pace, and language support for Indian languages.
Vision Agents uses Stream Video for real-time WebRTC transport by default. External WebRTC transports are supported as well. Most AI providers offer free tiers to get started.
Get your Sarvam API key from the Sarvam dashboard.
Sarvam also provides speech-to-text and an LLM. You can use all three in the same agent.

Installation

Quick start

Set SARVAM_API_KEY in your environment or pass api_key directly.

Parameters

Speaker compatibility

Each model supports a specific set of speakers. Passing an incompatible speaker raises a ValueError.

Next steps

Sarvam STT

Streaming speech-to-text for Indian languages

Sarvam LLM

Chat completions with Sarvam models