← 返回
未分类 Key 中文

Feishu Voice (ListenHub)

Send voice messages on Feishu using ListenHub TTS (high-quality Chinese voices). Activate when user wants to send a Feishu voice message using ListenHub, or...
使用ListenHub TTS在飞书发送高质量中文语音消息。用户请求使用ListenHub发送飞书语音消息时激活,或...
dongdongbear
未分类 clawhub v1.0.1 1 版本 99541.3 Key: 需要
★ 0
Stars
📥 217
下载
💾 0
安装
1
版本
#latest

概述

Feishu Voice — ListenHub TTS

Send high-quality Chinese voice messages on Feishu using ListenHub's TTS engine.

Prerequisites

  • ffmpeg / ffprobe
  • curl, python3
  • ListenHub API key (get from https://listenhub.ai/settings/api-keys)
  • Feishu app with im:message:send_as_bot and im:file permissions

Environment Variables

VariableRequiredDescription
---------
LISTENHUB_API_KEYListenHub API key (lh_sk_...)
FEISHU_APP_IDFeishu app ID
FEISHU_APP_SECRETFeishu app secret
LISTENHUB_SPEAKER_IDDefault speaker (default: chat-girl-105-cn)
LISTENHUB_LANGUAGELanguage: zh or en (default: zh)
LISTENHUB_TTS_MODEMode: direct or smart (default: direct)

If FEISHU_APP_ID / FEISHU_APP_SECRET are not in env, extract from openclaw config:

export FEISHU_APP_ID=$(python3 -c "import json; print(json.load(open('$HOME/.openclaw/openclaw.json'))['channels']['feishu']['appId'])")
export FEISHU_APP_SECRET=$(python3 -c "import json; print(json.load(open('$HOME/.openclaw/openclaw.json'))['channels']['feishu']['appSecret'])")

Sending Voice Messages

scripts/feishu-voice-send.sh <text> <receive_id> [receive_id_type] [speaker_id]
  • receive_id: target user open_id or chat_id
  • receive_id_type: open_id (default) or chat_id
  • speaker_id: override default speaker for this message

Listing Available Speakers

scripts/list-speakers.sh [language]

Examples:

scripts/list-speakers.sh zh    # Chinese voices only
scripts/list-speakers.sh en    # English voices only
scripts/list-speakers.sh       # All voices

Popular Chinese Speakers

Speaker IDNameGenderStyle
------------
chat-girl-105-cn晓曼female日常对话
gaoqing3-bfb5c88a高晴female标准女声
xiaoyun若云female温柔女声
xinyi6诗涵female温柔女声
ASMR-Female-CN宛星femaleASMR 风格
suzhe-45bbbe54苏哲male标准男声
CN-Man-Beijing-V2原野male北京腔
pingshu-c7c18f5a古今先生male评书风格

TTS Modes

  • direct — 原样朗读文本,不做修改(推荐日常用)
  • smart — AI 优化文本后再朗读(适合粗稿)

Important Notes

  • ListenHub TTS 是异步的,脚本会自动轮询等待(最长 60 秒)
  • 生成的音频自动转为 opus 格式发送到飞书
  • 中文语音质量非常高,特别是对话和叙事场景
  • msg_type 必须是 "audio",OpenClaw 的 asVoice 不可用于飞书

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-12 05:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,371 📥 319,663
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,941
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,223 📥 267,317