qwen3-tts-instruct
由 yanmoon321 提供
DevOps & Cloud简介
Alibaba Cloud Bailian Qwen TTS with voice/mood presets.
描述
该技能的功能
Generates text-to-speech audio using Alibaba Cloud's DashScope (Bailian) Qwen TTS API via WebSocket streaming. Supports over 30 mood presets, 35 female voices, and 10 languages including Japanese and Korean. The agent picks moods based on its own emotional reaction to the conversation, not the user's state.
The 30+ named mood presets (nervous, jealous, yandere, asmr, etc.) produce emotionally nuanced speech that generic TTS APIs can't replicate without custom prosody tuning.
何时使用
- Voicing AI companion replies with contextually matched emotions
- Sending opus-format voice messages to Telegram users
- Generating multilingual audio in Japanese, Korean, or Spanish
- Recording WAV or MP3 narration for video or podcast projects
- Producing roleplay character voices with presets like tsundere or maid
示例工作流
User asks: 'Say good morning to me in Japanese with a gentle voice'
- 1
Translate 'good morning' to Japanese internally: 'おはようございます'
- 2
Select mood 'gentle' to match a warm companion response
- 3
Call tts.py --voice Maia --mood gentle --language Japanese --format mp3
- 4
Receive streaming audio from DashScope WebSocket
- 5
Send tts_output.mp3 and original translated text to user
MP3 audio of 'おはようございます' in Maia's gentle voice
前置要求
- DASHSCOPE_API_KEY environment variable
- Alibaba Cloud account with DashScope (Bailian) API access enabled
安装
clawhub install yanmoon321/qwen3-tts-instruct运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。