feishu-edge-tts

使用微软 Edge TTS(免费)生成语音,发送到飞书。无需 API key,音质优秀,支持多语言多音色。

3,891 stars

Best use case

feishu-edge-tts is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

使用微软 Edge TTS(免费)生成语音,发送到飞书。无需 API key,音质优秀,支持多语言多音色。

Teams using feishu-edge-tts should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/feishu-edge-tts/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/anightmare2/feishu-edge-tts/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/feishu-edge-tts/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How feishu-edge-tts Compares

Feature / Agentfeishu-edge-ttsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

使用微软 Edge TTS(免费)生成语音,发送到飞书。无需 API key,音质优秀,支持多语言多音色。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Feishu Edge TTS - 飞书语音条(微软免费 TTS)

使用微软 Edge TTS 生成语音,发送到飞书!**完全免费**!

## 🎯 功能特点

- ✅ **完全免费**:使用微软 Edge TTS,无需 API key
- ✅ **音质优秀**:微软 Azure 同款语音引擎
- ✅ **多音色支持**:支持中文/英文/日文等多种语言
- ✅ **语音条格式**:发送真正的飞书语音条(点击即播)
- ✅ **语速调节**:支持 0.5x - 2.0x 语速
- ✅ **音调调节**:支持音调高低调整

## 🎤 可用音色

### 中文音色
- **zh-CN-XiaoxiaoNeural** - 女声,温暖亲切(推荐)
- **zh-CN-YunxiNeural** - 男声,沉稳专业
- **zh-CN-YunjianNeural** - 男声,激情澎湃
- **zh-CN-XiaoyiNeural** - 女声,活泼可爱
- **zh-CN-liaoning-XiaobeiNeural** - 东北话女声
- **zh-CN-shaanxi-XiaoniNeural** - 陕西话女声

### 英文音色
- **en-US-JennyNeural** - 女声,美式英语(推荐)
- **en-US-GuyNeural** - 男声,美式英语
- **en-GB-SoniaNeural** - 女声,英式英语

### 更多音色
支持全球 100+ 语言,400+ 音色!

## 🔧 前置要求

### 1. Python 环境

```bash
# 安装 edge-tts
pip install edge-tts
```

### 2. Feishu 应用配置

同 Feishu Voice Skill

### 3. 系统依赖

```bash
# 安装 ffmpeg
yum install -y ffmpeg  # CentOS/OpenCloudOS
apt-get install -y ffmpeg  # Ubuntu/Debian
```

## 🚀 快速开始

### 步骤 1:安装依赖

```bash
pip install edge-tts
```

### 步骤 2:配置环境变量

```bash
export FEISHU_APP_ID="cli_xxx"
export FEISHU_APP_SECRET="xxx"
export FEISHU_CHAT_ID="oc_xxx"
```

### 步骤 3:发送语音

```bash
# 使用默认音色(女声)
bash scripts/send_voice.sh -t "主人晚上好~"

# 指定音色
bash scripts/send_voice.sh -t "Hello!" -v en-US-JennyNeural

# 调整语速
bash scripts/send_voice.sh -t "你好" --rate 1.2

# 调整音调
bash scripts/send_voice.sh -t "你好" --pitch 10
```

## 💡 使用示例

### 1. 温暖女声问候

```bash
bash scripts/send_voice.sh -t "主人早上好~ 新的一天开始啦,今天也要加油哦~" -v zh-CN-XiaoxiaoNeural
```

### 2. 专业男声播报

```bash
bash scripts/send_voice.sh -t "现在是北京时间上午 8 点,为您播报今日新闻。" -v zh-CN-YunxiNeural
```

### 3. 英文语音

```bash
bash scripts/send_voice.sh -t "Good morning! Have a nice day!" -v en-US-JennyNeural
```

### 4. 方言趣味

```bash
bash scripts/send_voice.sh -t "哎呀妈呀,这旮瘩真冷啊!" -v zh-CN-liaoning-XiaobeiNeural
```

## 📖 命令参数

```bash
bash scripts/send_voice.sh [选项]

选项:
  -t, --text <text>       要转换的文字(必需)
  -v, --voice <voice>     音色名称(默认:zh-CN-XiaoxiaoNeural)
  -r, --rate <1.0>        语速(-50% 到 +50%,默认 0%)
  -p, --pitch <0>         音调(-50Hz 到 +50Hz,默认 0)
  -o, --output <file>     输出音频文件路径
  --list-voices           列出所有可用音色
  --no-send               只生成音频,不发送
  -h, --help              显示帮助

```

## 🎵 音色列表

```bash
# 查看所有可用音色
bash scripts/send_voice.sh --list-voices

# 查看中文音色
bash scripts/send_voice.sh --list-voices | grep zh-CN
```

## ⚙️ 高级配置

### 1. 自定义默认音色

编辑 `config.sh`:

```bash
DEFAULT_VOICE="zh-CN-YunxiNeural"  # 男声
DEFAULT_RATE="0"                    # 正常语速
DEFAULT_PITCH="0"                   # 正常音调
```

### 2. 批量生成

```bash
# 从文件读取文字,批量生成
cat messages.txt | while read line; do
    bash scripts/send_voice.sh -t "$line"
    sleep 2
done
```

## 📦 文件结构

```
feishu-edge-tts/
├── SKILL.md
├── README.md
├── reference.md
├── scripts/
│   ├── send_voice.sh        # 主脚本
│   ├── list_voices.sh       # 音色列表
│   └── config.sh            # 配置文件
├── examples/
│   ├── greetings.txt        # 问候语示例
│   └── crontab.txt          # 定时任务示例
└── config.sh                # 用户配置
```

## 💰 商业授权

- **个人使用**:免费
- **商业使用**:请联系作者获取授权

---

**Made with ❤️ by 司幼 (SiYou)**

Related Skills

Knowledge Management System

3891
from openclaw/skills

> Turn tribal knowledge into searchable, maintained organizational intelligence. Stop losing expertise when people leave.

edge-tts

3891
from openclaw/skills

Text-to-speech conversion using node-edge-tts npm package for generating audio from text. Supports multiple voices, languages, speed adjustment, pitch control, and subtitle generation. Use when: (1) User requests audio/voice output with the "tts" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, driving, cooking). (3) User wants a specific voice, speed, pitch, or format for TTS output.

General Utilities

polymarket-sports-edge

3891
from openclaw/skills

Find odds divergence between sportsbook consensus and Polymarket sports markets, then trade the gap.

Finance & Trading

rag-knowledge-assistant

3891
from openclaw/skills

基于向量数据库的 RAG(检索增强生成) 知识库助手。支持语义检索、多格式文档 (PDF/Word/Excel/Markdown) 处理、智能问答。使用 Chroma 向量库 + BGE-M3 Embedding 模型。适用于从 knowledge 目录快速检索信息、回答基于文档的问题。触发词:"从知识库查"、"检索文档"、"RAG 查询"、"向量搜索"、"语义检索"等。

feishu-perm-helper

3891
from openclaw/skills

一键启用飞书权限管理工具,让 OpenClaw 可以管理飞书文档/表格的协作者权限。

feishu-leave-request

3891
from openclaw/skills

Submit a leave request through Feishu (Lark). Use when the user wants to request time off, submit a leave application, or mentions taking leave.

marketing-copy-knowledge

3891
from openclaw/skills

小黑老師 邱煜庭設計。Meta 廣告文案、Google 廣告文案、社群貼文:用 FABE x SPIN 產出更能轉換的廣告文案。支援 freemium/付費(X-Api-Key credits)。

Feishu SuperToolkit

3891
from openclaw/skills

飞书超级工具包 - 集成文件发送(含音频卡片)、日历、审批、多维表格、通讯录、考勤六大模块

feishu-send

3891
from openclaw/skills

飞书发送图片/文件/语音。用 curl 调用飞书 API 发送,比 message 工具更可靠。用于需要发送图片、文件、语音到飞书时触发。

feishu-voice-assistant

3891
from openclaw/skills

Sends voice messages (audio) to Feishu chats using Duby TTS.

feishu-sticker

3891
from openclaw/skills

Send images as native Feishu stickers. Features auto-upload, caching, and GIF-to-WebP conversion.

Feishu Post (RichText) Skill

3891
from openclaw/skills

Send Rich Text (Post) messages to Feishu.