Get started with Sarvam APIs in under a minute using just a few lines of code
To get started: (1) Create an API Key at dashboard.sarvam.ai, (2) Set Up Your Environment by exporting SARVAM_API_KEY, (3) Install the SDK via pip install -U sarvamai or npm install sarvamai@latest, and (4) Make Your First API Call using the SDK or REST API.
Visit the Sarvam AI dashboard and create a new API key. Keep this key secure - you’ll need it to authenticate your requests.
Quick Tips: - Store your API key securely and never commit it to version control - Use environment variables or a secure configuration manager
Saaras v3 is our latest speech recognition model. It supports multiple output modes — transcribe (default, original language), translate (to English), verbatim (word-for-word), translit (romanization), and codemix (mixed script).
Use transcribe for same-language output, translate to convert audio to English text, or verbatim/translit/codemix for specialized formatting. mode defaults to transcribe when omitted.
Explore Sarvam AI’s specialized Models for Indian languages - from speech processing to text generation and translation.
Discover our comprehensive API Capabilities for speech technologies, text processing, and analytics.