Jump to related tools in the same category or review the original source on GitHub.

Communication @iammhk Updated 6/28/2026 1,072 downloads 2 stars Security: Pass

🧘 Sarvam OpenClaw Plugin & Skill | ClawHub

Looking to integrate Sarvam into your AI workflows? This free OpenClaw plugin from ClawHub helps you automate communication tasks instantly, without having to write custom tools from scratch.

What this skill does

Use Sarvam AI for Indian language Text-to-Speech (TTS), Speech-to-Text (STT), Translation, and Chat.

Install

ClawHub CLI
openclaw skills install @iammhk/sarvam
Node.js (npx)
npx clawhub@latest install sarvam

Full SKILL.md

Open original
Metadata table.
namedescription
sarvamUse Sarvam AI for Indian language Text-to-Speech (TTS), Speech-to-Text (STT), Translation, and Chat.

SKILL.md content below is scrollable.

Sarvam AI Skill

This skill provides access to Sarvam AI's suite of Indian language models.

Usage

Text to Speech (TTS)

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).

Speech to Text (STT)

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.

Translation

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.

Chat

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.

Setup

  1. Environment Variable: Ensure your API key is set in .env (already done for this workspace):

    SARVAM_API_KEY="sk_..."
    
  2. Virtual Environment: The skill uses a local virtual environment at skills/sarvam/.venv. Dependencies (requests) are pre-installed here.

Usage

Use the virtual environment's Python to run commands:

Text to Speech (TTS)

skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli.py tts "Namaste, kaise hain aap?" --lang hi-IN --speaker meera --output hello.wav

Speech to Text (STT)

skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli.py stt path/to/audio.wav --model saaras:v3

Translation

skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli.py translate "Hello, how are you?" --source en-IN --target hi-IN

Chat

skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli.py chat "What is the capital of India?"
ClawHub Registry URL: https://clawhub.ai/iammhk/skills/sarvam

Related skills

If this matches your use case, these are close alternatives in the same category.