Skip to content
TakoAPI
Back to skills

sarvam

by iammhk

Communication
464Downloads reported by clawskills.sh
2Stars
1Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

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

Description

What This Skill Does

Connects to Sarvam AI's API to handle Indian language text-to-speech, speech-to-text, translation, and chat. Supports multiple languages including Hindi and Bengali, with several voice options for TTS output.

Sarvam AI is purpose-built for Indian languages, covering TTS, STT, translation, and chat in a single API rather than stitching together multiple general-purpose services.

When to Use It

  • Transcribing Hindi audio recordings to text
  • Generating spoken Bengali announcements from a script
  • Translating customer support messages between Indian languages and English
  • Building a chatbot that responds in regional Indian languages
  • Converting English documentation into spoken Hindi audio

Example Workflow

INPUT

User asks: Convert this Hindi text to speech: 'Namaste, kaise hain aap?' using a female voice

AGENT
  1. 1

    Reads SARVAM_API_KEY from environment

  2. 2

    Calls sarvam_cli.py tts with the provided text, lang hi-IN, and speaker meera

  3. 3

    Writes the audio output to hello.wav

  4. 4

    Returns the file path to the user

OUTPUT

hello.wav audio file containing the spoken Hindi phrase

Requirements

  • SARVAM_API_KEY environment variable
  • Sarvam AI account (to obtain API key)

Installation

clawhub install iammhk/sarvam

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links