aliyun-tts
由 guang384 提供
DevOps & Cloud简介
Alibaba Cloud Text-to-Speech synthesis service.
描述
该技能的功能
Converts text to speech using Alibaba Cloud's TTS API. Outputs audio files in configurable formats, voices, and sample rates. Can be invoked directly from the command line or integrated into agent workflows for voice replies.
Provides direct CLI access to Alibaba Cloud TTS without requiring custom API integration code.
何时使用
- Generate MP3 voice replies in chat
- Convert article text to audio for playback
- Create voice announcements with a specific speaker
- Batch produce audio files from text content
- Automate spoken alerts or notifications
示例工作流
User asks: 'Can you read this message aloud in the siyue voice?'
- 1
Receives the text content from the user
- 2
Runs aliyun-tts with -v siyue and -o /tmp/voice-reply.mp3 flags
- 3
Passes the text as the final argument
- 4
Confirms the audio file was written successfully
- 5
Includes MEDIA:/tmp/voice-reply.mp3 in the response
An MP3 audio file delivered back to the user as a media attachment
前置要求
- Alibaba Cloud account
- ALIYUN_APP_KEY from Alibaba Cloud console
- ALIYUN_ACCESS_KEY_ID from Alibaba Cloud console
- ALIYUN_ACCESS_KEY_SECRET from Alibaba Cloud console
安装
clawhub install guang384/aliyun-tts运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。