aliyun-tts
bởi guang384
DevOps & CloudTóm tắt
Alibaba Cloud Text-to-Speech synthesis service.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- 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
Cài đặt
clawhub install guang384/aliyun-ttsChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.