Convert text to speech using Volcengine TTS with preset or cloned voices and send audio messages to Feishu chats or groups.
使用火山引擎 TTS 将文本转换为语音,并发送到飞书。
支持两种方式:
https://console.volcengine.com/speech/new/experience/tts?projectName=default
https://console.volcengine.com/speech/new/experience/clone?projectName=default
https://console.volcengine.com/speech/new/experience/tts?projectName=default
需要配置以下环境变量:
FEISHU_APP_ID - 飞书 App IDFEISHU_APP_SECRET - 飞书 App SecretFEISHU_CHAT_ID - 飞书聊天 ID (user:xxx 或 chat:xxx)VOLC_API_KEY - 火山引擎 API KeyVOLC_VOICE_TYPE - 火山引擎音色 ID(预置声音或克隆声音均可)用户: 用语音说"你好"
OpenClaw: [调用 TTS] [发送语音消息到飞书]
python feishu_tts.py "文本" - 发送语音消息python feishu_tts.py -c "chat:oc_xxx" "文本" - 发送到指定群聊ZIP package — ready to use