Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Use Sarvam AI for Indian language Text-to-Speech (TTS), Speech-to-Text (STT), Translation, and Chat.
Use Sarvam AI for Indian language Text-to-Speech (TTS), Speech-to-Text (STT), Translation, and Chat.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
This skill provides access to Sarvam AI's suite of Indian language models.
Generate speech from text in various Indian languages. python skills/sarvam/scripts/sarvam_cli.py tts "Namaste, kaise hain aap?" --lang hi-IN --speaker meera --output hello.wav Parameters: text: The text to speak. --lang: Language code (e.g., hi-IN for Hindi, bn-IN for Bengali, etc.). --speaker: Voice ID (e.g., meera, pavithra, arvind). --output: Output file path (default: output.wav).
Transcribe audio files. python skills/sarvam/scripts/sarvam_cli.py stt path/to/audio.wav --model saaras:v3 Parameters: file: Path to the audio file (wav, mp3). --model: Model to use (default: saaras:v3). --mode: STT Mode: transcribe (default), translate (to English), verbatim, translit, codemix.
Translate text between Indian languages and English. python skills/sarvam/scripts/sarvam_cli.py translate "Hello, how are you?" --source en-IN --target hi-IN Parameters: text: Text to translate. --source: Source language code. --target: Target language code.
Interact with Sarvam's LLM (sarvam-2g). python skills/sarvam/scripts/sarvam_cli.py chat "What is the capital of India?" Parameters: message: User message. --model: Model to use (default: sarvam-2g). --system: Optional system prompt.
Environment Variable: Ensure your API key is set in .env (already done for this workspace): SARVAM_API_KEY="sk_..." Virtual Environment: The skill uses a local virtual environment at skills/sarvam/.venv. Dependencies (requests) are pre-installed here.
Use the virtual environment's Python to run commands:
skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli.py tts "Namaste, kaise hain aap?" --lang hi-IN --speaker meera --output hello.wav
skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli.py stt path/to/audio.wav --model saaras:v3
skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli.py translate "Hello, how are you?" --source en-IN --target hi-IN
skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli.py chat "What is the capital of India?"
Messaging, meetings, inboxes, CRM, and teammate communication surfaces.
Largest current source with strong distribution and engagement signals.