sarvam
par iammhk
CommunicationRésumé
Use Sarvam AI for Indian language Text-to-Speech (TTS), Speech-to-Text (STT), Translation, and Chat.
Description
Ce que fait ce skill
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.
Quand l'utiliser
- 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
Exemple de workflow
User asks: Convert this Hindi text to speech: 'Namaste, kaise hain aap?' using a female voice
- 1
Reads SARVAM_API_KEY from environment
- 2
Calls sarvam_cli.py tts with the provided text, lang hi-IN, and speaker meera
- 3
Writes the audio output to hello.wav
- 4
Returns the file path to the user
hello.wav audio file containing the spoken Hindi phrase
Prérequis
- SARVAM_API_KEY environment variable
- Sarvam AI account (to obtain API key)
Installation
clawhub install iammhk/sarvamExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.