360 Secure SkillHub
360 安全技能中心

voice-output

当用户提出语音回复请求时,先生成文本,再调用脚本经豆包 TTS 合成语音,并通过 macOS 内置 afplay 播放到 MOMAX BS6 音箱,默认音色为小何。依赖 Python3、TTS 凭据及宿主专属的脚本绝对路径。

分类:自动化
olddirtybikertony
olddirtybikertony
热度 25.94
最近更新 2026-05-11 17:44:59

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add olddirtybikertony/voice-output
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
voice-output
description
Use when Tony says voice reply or asks to speak. Speaks the response aloud via Doubao TTS to MOMAX BS6.

voice-output skill

Speaks responses aloud when Tony requests voice reply.

Trigger conditions

When Tony says:

  • 「语音回复」
  • 「用话说」
  • 「voice reply」
  • 「语音」
  • Or any similar request to hear the response

How to trigger

  1. Generate the full text response
  2. Call voice_speak.py to speak it aloud:
python3 /Users/tony/.openclaw/workspace/skills/voice-output/scripts/voice_speak.py "text to speak"

Default voice

  • Model: zh_female_xiaohe_uranus_bigtts (小何)
  • TTS: Doubao TTS 2.0
  • Player: afplay (routes to MOMAX BS6)

Dependencies

  • Python3 (urllib, base64 built-in)
  • afplay (macOS built-in)
  • Doubao TTS credentials (APPID: 8982709936)