qwen3-tts-instruct
bởi yanmoon321
DevOps & CloudTóm tắt
Alibaba Cloud Bailian Qwen TTS with voice/mood presets.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- DASHSCOPE_API_KEY environment variable
- Alibaba Cloud account with DashScope (Bailian) API access enabled
Cài đặt
clawhub install yanmoon321/qwen3-tts-instructChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.