Feishu Voice Bubble
/install feishu-voice-bubble
Feishu Voice Bubble
Send native voice bubble messages in Feishu using Edge TTS + opus format.
Why This Exists
Feishu bot API only renders voice bubbles for audio message type with opus format.
Standard TTS outputs mp3 → Feishu shows it as a file attachment, not a voice bubble.
This skill: Edge TTS → opus → Feishu audio → native voice bubble.
Prerequisites
npm install node-edge-tts
No API keys required. Edge TTS is free.
Usage
Basic
node scripts/gen_voice.js "你好世界" output.opus
With Options
node scripts/gen_voice.js "播报内容" output.opus --voice zh-CN-YunxiNeural --rate +15% --pitch -5%
Long Text Auto-Split
node scripts/gen_voice.js "很长的文本..." output.opus --split 500
Produces output_1.opus, output_2.opus, etc. Split at sentence boundaries.
Send to Feishu
{ "action": "send", "filePath": "output.opus" }
The .opus extension triggers Feishu's native audio message type automatically.
Arguments
| Arg | Description | Default |
|---|---|---|
\x3Ctext> |
Text to convert | required |
\x3Coutput> |
Output .opus path | required |
--voice |
Edge TTS voice name | zh-CN-XiaoxiaoNeural |
--rate |
Speech rate (+20%, -10%) | +0% |
--pitch |
Pitch adjust (+5%, -5%) | +0% |
--split |
Auto-split at N chars | 0 (disabled) |
Chinese Voices
| Voice | Gender | Style |
|---|---|---|
| zh-CN-XiaoxiaoNeural | F | Warm, versatile (default) |
| zh-CN-XiaoyiNeural | F | Gentle, storytelling |
| zh-CN-YunxiNeural | M | Young, energetic |
| zh-CN-YunjianNeural | M | Broadcast, professional |
| zh-CN-YunyangNeural | M | News anchor, authoritative |
| zh-CN-liaoning-XiaobeiNeural | F | Northeastern dialect |
| zh-CN-shaanxi-XiaoniNeural | F | Shaanxi dialect |
How It Works
- Edge TTS converts text →
webm-24khz-16bit-mono-opus - Saved as
.opusfile - Feishu plugin detects
.opus→ uploads asopustype → sends asaudiomessage - Feishu client renders native voice bubble with play button
Limitations
- Requires internet (Microsoft hosted service)
- No SLA (free public service)
- ~10 min max audio per request
node-edge-ttsmust be installed in the working directory or globally
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-voice-bubble - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-voice-bubble触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Feishu Voice Bubble 是什么?
Send native voice bubble messages (语音气泡) in Feishu/Lark chats using Edge TTS. Converts text to opus audio via Microsoft Edge TTS (free, no API key needed), t... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 343 次。
如何安装 Feishu Voice Bubble?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-voice-bubble」即可一键安装,无需额外配置。
Feishu Voice Bubble 是免费的吗?
是的,Feishu Voice Bubble 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Feishu Voice Bubble 支持哪些平台?
Feishu Voice Bubble 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feishu Voice Bubble?
由 SAOKiritoKun(@saokiritokun)开发并维护,当前版本 v1.1.0。