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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.