edge-tts
Skill0 starsChanged 9 months agoMITView on GitHub
Text-to-speech synthesis using Microsoft Edge's free TTS service. Use when users request converting text to audio, generating speech from text, creating audio files, or mention TTS, text-to-speech, voice synthesis, or want to convert txt files to mp3/wav. Supports Chinese and other languages with multiple voices, adjustable speed and volume.
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- cadecode/agent-skillstheir own version, first seen Nov 1, 2026
- aahl/skillstheir own version, first seen Sep 15, 2026
- opencue/cuecardstheir own version, first seen Aug 17, 2026
- wangfeiwest2025/openclaw-integration-skillstheir own version, first seen Feb 25, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- aahl/skills★ 159same name
- opencue/cuecards★ 6same name
- cadecode/agent-skills★ 1same name
- wangfeiwest2025/openclaw-integration-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 100
Read from a file instead of inline text:
- Distinctive: line 111
When processing multiple texts or creating multiple voice versions:
- Distinctive: line 142
Check internet connection (Edge TTS requires online access)
- Very specific: line 143
Verify the voice name is correct (use --list-voices)
- Distinctive: line 144
Ensure output directory exists and is writable
- Distinctive: line 145
Check that the text encoding is UTF-8 for non-ASCII characters
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Edge TTS - Text-to-Speech Synthesis
Convert text to natural-sounding speech using Microsoft Edge's free TTS service.
Quick Start
Generate audio from text:
python scripts/edge_tts_synthesizer.py -t "你好,世界!" -o output.mp3Generate audio from a text file:
python scripts/edge_tts_synthesizer.py -f input.txt -o output.mp3Common Usage Patterns
Basic text synthesis
For simple text-to-speech:
python scripts/edge_tts_synthesizer.py \
-t "Your text here" \
-o output.mp3Using different voices
Choose from available voices (default is zh-CN-XiaoxiaoNeural - female voice):
# Male voice (Yunxi)
python scripts/edge_tts_synthesizer.py \
-t "这是男声示例" \
-o output.mp3 \
-v zh-CN-YunxiNeural
# Female voice (Xiaoyi)
python scripts/edge_tts_synthesizer.py \
-t "这是女声示例" \
-o output.mp3 \
-v zh-CN-XiaoyiNeuralCommon Chinese voices:
zh-CN-XiaoxiaoNeural- 晓晓 (female, default)zh-CN-YunxiNeural- 云希 (male)zh-CN-XiaoyiNeural- 晓伊 (female)zh-CN-YunjianNeural- 云健 (male)zh-CN-YunyangNeural- 云扬 (male)
To list all available voices:
python scripts/edge_tts_synthesizer.py --list-voicesAdjusting speed and volume
Control speech rate and volume:
# Faster speech (+50%)
python scripts/edge_tts_synthesizer.py \
-t "快速朗读" \
-o output.mp3 \
--rate +50%
# Slower speech (-20%)
python scripts/edge_tts_synthesizer.py \
-t "慢速朗读" \
-o output.mp3 \
--rate -20%
# Louder volume (+30%)
python scripts/edge_tts_synthesizer.py \
-t "大声朗读" \
-o output.mp3 \
--volume +30%
# Combined adjustments
python scripts/edge_tts_synthesizer.py \
-t "又快又大声" \
-o output.mp3 \
--rate +50% \
--volume +20%Processing text files
Read from a file instead of inline text:
python scripts/edge_tts_synthesizer.py \
-f input.txt \
-o output.mp3 \
-v zh-CN-XiaoxiaoNeuralBatch processing
When processing multiple texts or creating multiple voice versions:
# Create multiple voice versions
for voice in zh-CN-XiaoxiaoNeural zh-CN-YunxiNeural zh-CN-XiaoyiNeural; do
python scripts/edge_tts_synthesizer.py \
-t "同样的文本,不同的声音" \
-o "output_${voice}.mp3" \
-v "$voice"
done
# Process multiple text files
for file in *.txt; do
python scripts/edge_tts_synthesizer.py \
-f "$file" \
-o "${file%.txt}.mp3"
doneOutput Format
The script supports multiple audio formats:
.mp3(recommended for smaller file size).wav(recommended for higher quality)- Other formats supported by Edge TTS
Specify the format via the output filename extension.
Error Handling
If synthesis fails:
- Check internet connection (Edge TTS requires online access)
- Verify the voice name is correct (use
--list-voices) - Ensure output directory exists and is writable
- Check that the text encoding is UTF-8 for non-ASCII characters
Dependencies
This script requires the edge-tts Python package. Install with:
pip install edge-ttsThe script handles this automatically via the import, but users need the package installed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

