← 返回 Skills 市场
Edge Tts Zh
作者
hamlet0168
· GitHub ↗
· v1.0.0
· MIT-0
39
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install edge-tts-zh
功能描述
中文语音合成(Text-to-Speech),使用Microsoft Edge TTS引擎,无需API key,完全免费。内置中文最佳声音列表(男声/女声/不同风格)。适用于:(1)将文字转为语音消息 (2)新闻/文章朗读 (3)语音通知和提醒 (4)播客/视频配音。支持语速/音调调节和字幕生成。
使用说明 (SKILL.md)
\r \r
中文语音合成 (edge-tts)\r
\r 使用 Microsoft Edge TTS 引擎生成高质量中文语音,完全免费。\r \r
快速使用\r
\r
# 基础用法 - 默认男声\r
python3 {baseDir}/scripts/speak.py "你好,今天天气怎么样?"\r
\r
# 指定声音\r
python3 {baseDir}/scripts/speak.py "今日新闻简报" --voice xiaoxiao\r
\r
# 调整语速\r
python3 {baseDir}/scripts/speak.py "慢速朗读" --rate -20%\r
python3 {baseDir}/scripts/speak.py "快速朗读" --rate +30%\r
\r
# 保存到文件\r
python3 {baseDir}/scripts/speak.py "保存这段话" --output speech.mp3\r
\r
# 从文件读取文本\r
python3 {baseDir}/scripts/speak.py --file article.txt --voice xiaoxiao\r
```\r
\r
## 中文声音列表\r
\r
### 推荐声音\r
\r
| 简称 | 全名 | 性别 | 风格 |\r
|------|------|------|------|\r
| yunxi | zh-CN-YunxiNeural | 男 | 自然、年轻 **(推荐)** |\r
| yunyang | zh-CN-YunyangNeural | 男 | 新闻播报 |\r
| yunjian | zh-CN-YunjianNeural | 男 | 阳刚、有力 |\r
| xiaoxiao | zh-CN-XiaoxiaoNeural | 女 | 温暖、活泼 |\r
| xiaoyi | zh-CN-XiaoyiNeural | 女 | 知性、优雅 |\r
| xiaomeng | zh-CN-XiaomengNeural | 女 | 可爱、甜美 |\r
\r
### 其他方言/地区\r
\r
| 简称 | 全名 | 地区 |\r
|------|------|------|\r
| tw-male | zh-TW-YunJheNeural | 台湾男声 |\r
| tw-female | zh-TW-HsiaoChenNeural | 台湾女声 |\r
| hk-male | zh-HK-WanLungNeural | 粤语男声 |\r
| hk-female | zh-HK-HiuGaaiNeural | 粤语女声 |\r
\r
## 参数说明\r
\r
- `--voice NAME` — 声音简称或完整名称(默认: yunxi)\r
- `--rate RATE` — 语速调整,如 `+20%` 或 `-10%`(默认: +10%)\r
- `--pitch PITCH` — 音调调整,如 `+5Hz` 或 `-2st`\r
- `--output FILE` — 输出文件路径(默认: /tmp/tts-output.mp3)\r
- `--file FILE` — 从文件读取文本\r
- `--format FORMAT` — 输出格式: mp3, ogg(默认: mp3)\r
- `--list` — 列出所有可用中文声音\r
\r
## 安装\r
\r
脚本自动检测 edge-tts,未安装时提示:\r
```bash\r
pip install edge-tts\r
```\r
安全使用建议
Review carefully before installing. The core TTS script does not show credential theft, broad data access, or exfiltration, and VirusTotal/static scan signals are clean. The practical concern is that the package includes undocumented patching scripts and automatic playback behavior. Install only if you are comfortable auditing/removing patch.py and fix.py, and expect generated audio to be played automatically rather than only saved.
能力标签
能力评估
Purpose & Capability
Generating Chinese TTS audio with edge-tts is purpose-aligned, but the shipped speak.py also auto-plays generated audio without the SKILL.md documenting that side effect, and patch/fix scripts modify the installed speak.py rather than providing only synthesis functionality.
Instruction Scope
The main instructions advertise options such as --file, --pitch, --format, and --list, but the actual speak.py only accepts text, voice, rate, and output. Auto-play is not presented as an explicit user-controlled option.
Install Mechanism
No installer or dependency file is present; SKILL.md only tells users to install edge-tts if missing. The package also includes maintenance-like patch scripts that are not documented as part of installation or normal use.
Credentials
The skill uses a hard-coded Windows Administrator path for output and for patching the installed skill. Network use through edge_tts is expected for Microsoft Edge TTS, but the hard-coded local paths and hidden playback behavior are not well scoped.
Persistence & Privilege
scripts/patch.py and scripts/fix.py overwrite the installed skill's speak.py in place without backup, confirmation, integrity checks, or clear user-facing instructions. That is persistent mutation of the skill's runtime code.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install edge-tts-zh - 安装完成后,直接呼叫该 Skill 的名称或使用
/edge-tts-zh触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of edge-tts-zh
- Provides high-quality Chinese text-to-speech using Microsoft Edge TTS engine with no API key required.
- Features a curated list of the best male and female Chinese voices, including regional dialects.
- Supports speech speed and pitch adjustments, subtitle generation, and audio output options.
- Suitable for text-to-voice messaging, news/article reading, voice notifications, and podcast/video dubbing.
- Scripts included for easy command-line usage and file operations.
元数据
常见问题
Edge Tts Zh 是什么?
中文语音合成(Text-to-Speech),使用Microsoft Edge TTS引擎,无需API key,完全免费。内置中文最佳声音列表(男声/女声/不同风格)。适用于:(1)将文字转为语音消息 (2)新闻/文章朗读 (3)语音通知和提醒 (4)播客/视频配音。支持语速/音调调节和字幕生成。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。
如何安装 Edge Tts Zh?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install edge-tts-zh」即可一键安装,无需额外配置。
Edge Tts Zh 是免费的吗?
是的,Edge Tts Zh 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Edge Tts Zh 支持哪些平台?
Edge Tts Zh 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Edge Tts Zh?
由 hamlet0168(@hamlet0168)开发并维护,当前版本 v1.0.0。
推荐 Skills