Media & Image v0.1.2

lark-voice

Send voice messages on Lark (Feishu) by converting text to speech. Use when the user asks to send a voice message or...

cheerwhy 更新于 2026-04-03 1 浏览
下载 SKILL

技能说明

Send voice messages on Lark (Feishu) by converting text to speech. Use when the user asks to send a voice message or reply with voice.

使用场景

Convert text to speech and send as a voice message on Lark (Feishu).

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/lark-voice
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 14 kB
SKILL.md text/markdown
---
name: lark-voice
description: Send voice messages on Lark (Feishu) by converting text to speech. Use when the user asks to send a voice message or reply with voice.
metadata: {
  "openclaw": {
    "requires": {
      "bins": ["ffmpeg"]
    }
  }
}
---

# Lark (Feishu) Voice

Convert text to speech and send as a voice message on Lark (Feishu).

## Requirements

- `ffmpeg` — audio format conversion
- At least one TTS source (skill or built-in tool)

## Usage

### 1. Discover TTS Source

Scan installed skills for names containing `tts`, and check if the OpenClaw built-in `tts` tool is available.

- User specified a TTS source → use it directly
- Not specified, only one available → use it directly
- Not specified, multiple available → ask the user to choose
- None available → use the OpenClaw built-in `tts` tool, and suggest installing a TTS skill for more voice options

### 2. Generate Audio

Call the selected TTS source to generate an audio file in wav/mp3 or other intermediate format, saved to `/tmp/openclaw/`.

### 3. Convert to Opus

Feishu voice messages only support the opus format (OGG container).

```bash
ffmpeg -y -i /tmp/openclaw/input.wav -c:a libopus -b:a 24k -ar 24000 -ac 1 /tmp/openclaw/voice.opus
```

### 4. Send Voice

Use the `message` tool to send. The openclaw-lark plugin automatically detects the `.opus` extension, parses the duration, and delivers it as a `msg_type: audio` voice bubble.

```
message(action=send, media="/tmp/openclaw/voice.opus", message="optional text")
```


文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。