Skip to content
Back to skills

A5f0263e1f6bff72 Edge Tts Zh

ASecurity

中文语音合成(Text-to-Speech),使用Microsoft Edge TTS引擎,无需API key,完全免费。内置中文最佳声音列表(男声/女声/不同风格)。适用于:(1)将文字转为语音消息 (2)新闻/文章朗读 (3)语音通知和提醒 (4)播客/视频配音。支持语速/音调调节和字幕生成。

  • 4 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 29, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 8 files and shows the line behind each finding

Scanned September 29, 2026

npx -y skills add 3acloud/openair --skill a5f0263e1f6bff72_edge-tts-zh --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of A5f0263e1f6bff72 Edge Tts Zh?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for A5f0263e1f6bff72 Edge Tts Zh
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/3acloud-a5f0263e1f6bff72-edge-tts-zh/badge)](https://www.skillsdirectory.com/skills/3acloud-a5f0263e1f6bff72-edge-tts-zh)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: edge-tts-zh
description: 中文语音合成(Text-to-Speech),使用Microsoft Edge TTS引擎,无需API key,完全免费。内置中文最佳声音列表(男声/女声/不同风格)。适用于:(1)将文字转为语音消息 (2)新闻/文章朗读 (3)语音通知和提醒 (4)播客/视频配音。支持语速/音调调节和字幕生成。
---

# 中文语音合成 (edge-tts)

使用 Microsoft Edge TTS 引擎生成高质量中文语音,完全免费。

## 快速使用

```bash
# 基础用法 - 默认男声
python3 {baseDir}/scripts/speak.py "你好,今天天气怎么样?"

# 指定声音
python3 {baseDir}/scripts/speak.py "今日新闻简报" --voice xiaoxiao

# 调整语速
python3 {baseDir}/scripts/speak.py "慢速朗读" --rate -20%
python3 {baseDir}/scripts/speak.py "快速朗读" --rate +30%

# 保存到文件
python3 {baseDir}/scripts/speak.py "保存这段话" --output speech.mp3

# 从文件读取文本
python3 {baseDir}/scripts/speak.py --file article.txt --voice xiaoxiao
```

## 中文声音列表

### 推荐声音

| 简称 | 全名 | 性别 | 风格 |
|------|------|------|------|
| yunxi | zh-CN-YunxiNeural | 男 | 自然、年轻 **(推荐)** |
| yunyang | zh-CN-YunyangNeural | 男 | 新闻播报 |
| yunjian | zh-CN-YunjianNeural | 男 | 阳刚、有力 |
| xiaoxiao | zh-CN-XiaoxiaoNeural | 女 | 温暖、活泼 |
| xiaoyi | zh-CN-XiaoyiNeural | 女 | 知性、优雅 |
| xiaomeng | zh-CN-XiaomengNeural | 女 | 可爱、甜美 |

### 其他方言/地区

| 简称 | 全名 | 地区 |
|------|------|------|
| tw-male | zh-TW-YunJheNeural | 台湾男声 |
| tw-female | zh-TW-HsiaoChenNeural | 台湾女声 |
| hk-male | zh-HK-WanLungNeural | 粤语男声 |
| hk-female | zh-HK-HiuGaaiNeural | 粤语女声 |

## 参数说明

- `--voice NAME` — 声音简称或完整名称(默认: yunxi)
- `--rate RATE` — 语速调整,如 `+20%` 或 `-10%`(默认: +10%)
- `--pitch PITCH` — 音调调整,如 `+5Hz` 或 `-2st`
- `--output FILE` — 输出文件路径(默认: /tmp/tts-output.mp3)
- `--file FILE` — 从文件读取文本
- `--format FORMAT` — 输出格式: mp3, ogg(默认: mp3)
- `--list` — 列出所有可用中文声音

## 安装

脚本自动检测 edge-tts,未安装时提示:
```bash
pip install edge-tts
```

Files in this skill

  • README.md758 B
  • SKILL.md2.3 KB
  • _meta.json130 B
  • scripts/fix.py678 B
  • scripts/patch.py1 KB
  • scripts/speak.py3.2 KB
  • scripts/speak_temp.txt582 B
  • skill-card.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.