Send high-quality Chinese voice messages on Feishu using ListenHub's TTS engine.
ffmpeg / ffprobecurl, python3im:message:send_as_bot and im:file permissionsVariableRequiredDescriptionLISTENHUB_API_KEY✅ListenHub API key ( lh_sk_...)FEISHU_APP_ID✅Feishu app IDFEISHU_APP_SECRET✅Feishu app secretLISTENHUB_SPEAKER_ID❌Default speaker (default: chat-girl-105-cn)LISTENHUB_LANGUAGE❌Language: zh or en (default: zh)LISTENHUB_TTS_MODE❌Mode: direct or smart (default: direct)
If FEISHU_APP_ID / FEISHU_APP_SECRET are not in env, extract from openclaw config:
bash
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'])")
bash
scripts/feishu-voice-send.sh <text> <receive_id> [receive_id_type] [speaker_id]
receive_id: target user open_id or chat_idreceive_id_type: open_id (default) or chat_idspeaker_id: override default speaker for this messagebash
scripts/list-speakers.sh [language]
Examples:
bash
scripts/list-speakers.sh zh # Chinese voices only
scripts/list-speakers.sh en # English voices only
scripts/list-speakers.sh # All voices
Speaker IDNameGenderStylechat-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评书风格
direct — 原样朗读文本,不做修改(推荐日常用)smart — AI 优化文本后再朗读(适合粗稿)msg_type 必须是 "audio",OpenClaw 的 asVoice 不可用于飞书