feishu-voice-assistant

TotalClaw 作者 totalclaw

使用 Duby TTS 向飞书聊天发送语音消息(音频)。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~autogame-17-feishu-voice-assistant
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~autogame-17-feishu-voice-assistant/file -o autogame-17-feishu-voice-assistant.md
## 概述(中文)

使用 Duby TTS 向飞书聊天发送语音消息(音频)。

## 原文

# Feishu Voice Assistant

Generate speech from text using Duby AI and send it as a native voice message (audio) to Feishu.

## Usage

### Send a Voice Message
```bash
node skills/feishu-voice-assistant/index.js --text "Hello, this is a voice message!" --target "$TARGET_USER_ID"
```

### Options
- `--text`: The text to convert to speech.
- `--target`: The Feishu user ID (`ou_...`) or chat ID (`oc_...`).
- `--voice`: (Optional) Duby Voice ID. Default is Xinduo.

## Dependencies
- `duby`: For TTS generation.
- `feishu-common`: For API authentication.
- `form-data`: For file uploads.

## Configuration
Requires `DUBY_API_KEY` and Feishu credentials in `.env`.