sarvam
由 iammhk 提供
Communication简介
Use Sarvam AI for Indian language Text-to-Speech (TTS), Speech-to-Text (STT), Translation, and Chat.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- SARVAM_API_KEY environment variable
- Sarvam AI account (to obtain API key)
安装
clawhub install iammhk/sarvam运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。