跳到正文
TakoAPI
返回技能列表

sarvam

由 iammhk 提供

Communication
464下载量由 clawskills.sh 提供
2星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

输出

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 或你在用的任意编程智能体里。

链接