← 返回 Skills 市场
Edge TTS — Text-to-Speech
作者
vincentlau2046-sudo
· GitHub ↗
· v1.2.0
· MIT-0
106
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install tts-cosyvoice
功能描述
Text-to-Speech via Edge TTS (Microsoft Azure voices). Free, no API key needed, supports 100+ voices in 50+ languages including Chinese and English.
使用说明 (SKILL.md)
Edge TTS — Text-to-Speech
Use to convert text to speech using Microsoft Edge's free TTS service. No API key required.
Voices
Chinese (Recommended)
| Voice | Gender | Style |
|---|---|---|
zh-CN-XiaoxiaoNeural |
Female | Warm, natural (default) |
zh-CN-YunxiNeural |
Male | Young, casual |
zh-CN-YunjianNeural |
Male | Professional, news |
zh-CN-XiaoyiNeural |
Female | Cute, young |
zh-CN-YunyangNeural |
Male | News broadcaster |
zh-CN-XiaochenNeural |
Female | Child |
zh-TW-HsiaoChenNeural |
Female | Traditional Chinese |
English
| Voice | Gender | Style |
|---|---|---|
en-US-JennyNeural |
Female | Friendly (default) |
en-US-GuyNeural |
Male | Professional |
en-GB-SoniaNeural |
Female | British |
Script
{baseDir}/scripts/tts.py --text "Hello world" --output /tmp/output.mp3
Options
| Option | Default | Description |
|---|---|---|
--text |
(required) | Text to speak |
--voice |
zh-CN-XiaoxiaoNeural | Voice ID |
--output |
/tmp/tts_output.mp3 | Output file path |
--rate |
0% | Speed adjustment (-50% to +100%) |
--pitch |
0Hz | Pitch adjustment (-50Hz to +50Hz) |
--volume |
0% | Volume adjustment (-100% to +100%) |
--file |
Read text from file instead of --text |
Examples
# Basic Chinese TTS
{baseDir}/scripts/tts.py --text "你好,我是Nova" --output /tmp/hello.mp3
# Male voice, faster speech
{baseDir}/scripts/tts.py --text "Hello world" --voice en-US-GuyNeural --rate +20% --output /tmp/fast.mp3
# Read from file
{baseDir}/scripts/tts.py --file script.txt --output /tmp/script.mp3
Available Voices
List all voices:
{baseDir}/scripts/tts.py --list-voices zh
{baseDir}/scripts/tts.py --list-voices en
{baseDir}/scripts/tts.py --list-voices ja
Dependencies
edge-tts(pip install)- No API key needed — uses Microsoft Edge's free TTS service
- Requires internet connection
能力标签
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tts-cosyvoice - 安装完成后,直接呼叫该 Skill 的名称或使用
/tts-cosyvoice触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
Add --srt flag for native SRT subtitle generation from TTS timeline (exact text match, no ASR needed)
v1.1.0
Fix volume default format, add comfyui-venv path for edge-tts
v1.0.0
Edge TTS skill: free Microsoft neural voices, 50+ languages, Chinese default
元数据
常见问题
Edge TTS — Text-to-Speech 是什么?
Text-to-Speech via Edge TTS (Microsoft Azure voices). Free, no API key needed, supports 100+ voices in 50+ languages including Chinese and English. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 106 次。
如何安装 Edge TTS — Text-to-Speech?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tts-cosyvoice」即可一键安装,无需额外配置。
Edge TTS — Text-to-Speech 是免费的吗?
是的,Edge TTS — Text-to-Speech 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Edge TTS — Text-to-Speech 支持哪些平台?
Edge TTS — Text-to-Speech 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Edge TTS — Text-to-Speech?
由 vincentlau2046-sudo(@vincentlau2046-sudo)开发并维护,当前版本 v1.2.0。
推荐 Skills