← 返回
沟通协作

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...
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...
saokiritokun
沟通协作 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 702
下载
💾 7
安装
1
版本
#latest

概述

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

ArgDescriptionDefault
---------------------------
Text to convertrequired
Output .opus pathrequired
--voiceEdge TTS voice namezh-CN-XiaoxiaoNeural
--rateSpeech rate (+20%, -10%)+0%
--pitchPitch adjust (+5%, -5%)+0%
--splitAuto-split at N chars0 (disabled)

Chinese Voices

VoiceGenderStyle
----------------------
zh-CN-XiaoxiaoNeuralFWarm, versatile (default)
zh-CN-XiaoyiNeuralFGentle, storytelling
zh-CN-YunxiNeuralMYoung, energetic
zh-CN-YunjianNeuralMBroadcast, professional
zh-CN-YunyangNeuralMNews anchor, authoritative
zh-CN-liaoning-XiaobeiNeuralFNortheastern dialect
zh-CN-shaanxi-XiaoniNeuralFShaanxi dialect

How It Works

  1. Edge TTS converts text → webm-24khz-16bit-mono-opus
  2. Saved as .opus file
  3. Feishu plugin detects .opus → uploads as opus type → sends as audio message
  4. 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-tts must be installed in the working directory or globally

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-20 04:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Gmail

byungkyu
Gmail API 集成,托管 OAuth,支持读取、发送和管理邮件、线程、标签及草稿,适用于需要与 Gmail 交互的场景。
★ 72 📥 37,746
communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,689
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,599