使用 Qwen3-TTS 生成 TTS 语音并通过 HomePod 播放。当用户说"播放语音到HomePod"、"用HomePod对我说话"、"让HomePod播报XXX"时触发。
Scanned 9/7/2026
Install to Claude Code
npx -y skills add modbender/skill-library-mcp --skill homepod-tts --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Homepod Tts?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-homepod-tts)More formats (shields.io, HTML) on the badges page.
---
name: homepod-tts
description: 使用 Qwen3-TTS 生成 TTS 语音并通过 HomePod 播放。当用户说"播放语音到HomePod"、"用HomePod对我说话"、"让HomePod播报XXX"时触发。
---
# HomePod TTS
使用 HomePod 播放 TTS 语音(支持情绪识别)。
## 工作流程
1. **自动情绪识别**:根据文本内容自动判断情绪(开心、悲伤、生气、惊讶等)
2. **生成语音**:调用 Qwen3-TTS 生成 WAV 文件
3. **启动 HTTP 服务**:Serving 音频文件供 Home Assistant 访问
4. **发送到 HomePod**:调用 Home Assistant `media_player.play_media` 服务播放
## 情绪识别规则
| 关键词示例 | 检测情绪 |
|-----------|---------|
| 开心、高兴、太棒了、nice | 🎉 开心 |
| 激动、兴奋、冲鸭、加油 | ✨ 兴奋 |
| 难过、伤心、哭了、心痛 | 😢 悲伤 |
| 生气、愤怒、可恶、气死 | 😠 生气 |
| 惊讶、震惊、卧槽、居然 | 😲 惊讶 |
| 害怕、吓人、救命、妈呀 | 😨 恐惧 |
| 警告、注意、严肃、认真 | ⚠️ 严肃 |
| 晚安、早上好、温柔、爱你 | 💕 温柔 |
| 没关系、淡定、稳住 | 🧘 平静 |
| 搞笑、笑话、哈哈 | 😂 幽默 |
| 累了、困了、好累 | 😴 疲惫 |
| 紧张、焦虑、担心 | 😰 紧张 |
无匹配关键词时使用默认情绪:**开心、热情、语速稍快**
## 音量自动调节
播放时自动将 HomePod 音量设为 **40%**,播放完成后自动恢复原音量。
## 动态等待时间
等待时间根据生成的音频时长**自动计算**:`音频时长 + 1秒`
例如:3秒的语音 → 等待4秒后恢复音量
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.