🧪 Skills
feishu-edge-tts-win
飞书语音消息发送技能(Windows 版)。使用 Edge TTS(微软,免费)生成语音并以飞书语音气泡发送。
v1.0.0
Description
name: feishu-edge-tts-win description: 飞书语音消息发送技能(Windows 版)。使用 Edge TTS(微软,免费)生成语音并以飞书语音气泡发送。
飞书语音消息发送(Windows)
快速使用
在 skills\feishu-edge-tts-win\scripts 目录执行:
python .\send_voice.py "要发送的文本" YOUR_FEISHU_OPEN_ID --voice zh-CN-XiaoxiaoNeural --config %USERPROFILE%\.openclaw\openclaw.json
也可以从任意目录执行:
python %USERPROFILE%\.openclaw\workspace\skills\feishu-edge-tts-win\scripts\send_voice.py "要发送的文本" YOUR_FEISHU_OPEN_ID --voice zh-CN-XiaoxiaoNeural --config %USERPROFILE%\.openclaw\openclaw.json
工作流程
edge-tts生成 MP3ffmpeg转换为 OPUS(飞书语音格式)- 飞书 API 上传 OPUS 获取
file_key - 发送
msg_type=audio消息
关键点:必须使用 msg_type: audio + file_key,否则会显示为普通文件而不是语音气泡。
音色
仅使用:zh-CN-XiaoxiaoNeural
依赖安装
pip install edge-tts
ffmpeg 需要可执行(已加入 PATH)。可用 ffmpeg -version 自检。
飞书配置
脚本读取 openclaw.json 的 channels.feishu.appId 和 channels.feishu.appSecret。
请在命令中显式传入 --config,例如:
--config %USERPROFILE%\.openclaw\openclaw.json
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!