feishu-voice

飞书语音消息发送技能。使用 Edge TTS(微软,免费无限次)生成语音并以飞书语音气泡形式发送。当用户要求用语音回复、发语音消息、TTS 朗读内容时触发。默认音色:云希(zh-CN-YunxiNeural,活泼阳光男声)。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "feishu-voice" with this command: npx skills add dadaniya99/feishu-edge-tts-voice

飞书语音消息发送

快速使用

python3 ~/.openclaw/workspace/skills/feishu-voice/scripts/send_voice.py \
  "要说的内容" \
  <open_id>

工作流程

  1. edge-tts 生成 mp3
  2. ffmpeg 转换为 opus(飞书语音格式)
  3. 飞书 API 上传文件获取 file_key(file_type=opus)
  4. 发送 msg_type=audio 消息

关键:必须用 msg_type: audio + file_key,不能用普通文件上传,否则显示为文件而非语音气泡。

音色选择

# 查看所有中文音色
edge-tts --list-voices | grep zh-CN

# 常用中文男声
zh-CN-YunxiNeural    # 云希 - 活泼阳光(默认,小龙虾专用)
zh-CN-YunjianNeural  # 云间 - 激情澎湃
zh-CN-YunxiaNeural   # 云夏 - 可爱萌
zh-CN-YunyangNeural  # 云扬 - 专业严肃

# 常用中文女声
zh-CN-XiaoxiaoNeural # 小小 - 温柔
zh-CN-XiaoyiNeural   # 小艺 - 活泼

# 指定音色发送
python3 ~/.openclaw/workspace/skills/feishu-voice/scripts/send_voice.py \
  "内容" <open_id> --voice zh-CN-YunyangNeural

依赖安装

pip install edge-tts  # 一次性安装,永久免费
# ffmpeg 通常已预装,如没有:yum install ffmpeg / apt install ffmpeg

飞书配置

需要 openclaw.json 中的 feishu appId / appSecret,脚本自动读取。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Google Meet

Google Meet API integration with managed OAuth. Create meeting spaces, list conference records, and manage meeting participants. Use this skill when users wa...

Registry SourceRecently Updated
16.9K15byungkyu
General

API Changelog Generator

Generate and maintain API changelogs from OpenAPI/Swagger specs — track endpoints added, removed, deprecated, or modified between versions. Detect breaking c...

Registry SourceRecently Updated
General

Incident Response Runbook

Create, maintain, and execute detailed incident response runbooks to guide triage, communication, and post-incident reviews for production outages.

Registry SourceRecently Updated
General

Procore

Procore integration. Manage Projects, Users, Roles, Organizations. Use when the user wants to interact with Procore data.

Registry SourceRecently Updated