feishu-edge-tts-win

飞书语音消息发送技能(Windows 版)。使用 Edge TTS(微软,免费)生成语音并以飞书语音气泡发送。

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-edge-tts-win" with this command: npx skills add ztxdcyy/feishu-edge-tts-win

飞书语音消息发送(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

工作流程

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

关键点:必须使用 msg_type: audio + file_key,否则会显示为普通文件而不是语音气泡。

音色

仅使用:zh-CN-XiaoxiaoNeural

依赖安装

pip install edge-tts

ffmpeg 需要可执行(已加入 PATH)。可用 ffmpeg -version 自检。

飞书配置

脚本读取 openclaw.jsonchannels.feishu.appIdchannels.feishu.appSecret。 请在命令中显式传入 --config,例如:

--config %USERPROFILE%\.openclaw\openclaw.json

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

XunFei Voice Reply

语音回复技能 - 使用讯飞 TTS 生成语音并发送到飞书。当需要用语音回复用户消息时使用。触发词:用语音、语音回复、切换语音模式、语音模式。

Registry SourceRecently Updated
560Profile unavailable
General

Feishu Voice Loop

Accept text or voice input, transcribe if needed, generate natural OpenAI TTS speech, and send audio output to Feishu chat or web player.

Registry SourceRecently Updated
1170Profile unavailable
General

TTS AutoPlay with Wake Word

Auto-play TTS voice files with wake word detection. Only plays audio when user message contains wake words like "语音", "念出来", "voice", etc. Perfect for Webcha...

Registry SourceRecently Updated
2030Profile unavailable
General

feishu-audio

将音频文件转换为飞书可播放的语音消息。先用 ffmpeg 转为 opus 格式,再上传到飞书,最后发送 audio 消息。适用于用户想要在飞书中收到可播放的语音消息的场景。

Registry SourceRecently Updated
3341Profile unavailable