Back to skills
SKILL.md
Text To Speech
ASecurity将文本转换为语音音频文件,支持多种声音和语言。
- 85 stars
- 0 votes
- 0 copies
- 12 views
- Added February 7, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add AIDotNet/MoYuCode --skill text-to-speech --agent claude-codeAre you the author of Text To Speech?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/aidotnet-text-to-speech)---
name: text-to-speech
description: 将文本转换为语音音频文件,支持多种声音和语言。
metadata:
short-description: 文字转语音
source:
repository: https://github.com/pyttsx3/pyttsx3
license: MPL-2.0
---
# Text to Speech Tool
## Description
Convert text to speech audio files with support for multiple voices, languages, and speech rates.
## Trigger
- `/tts` command
- User needs text to speech
- User wants to generate audio
## Usage
```bash
# Speak text
python scripts/text_to_speech.py "Hello World"
# Save to file
python scripts/text_to_speech.py "Hello World" --output hello.mp3
# Change voice/rate
python scripts/text_to_speech.py "Hello" --rate 150 --voice 1
# Read from file
python scripts/text_to_speech.py --file document.txt --output audio.mp3
```
## Tags
`tts`, `speech`, `audio`, `voice`, `accessibility`
## Compatibility
- Codex: ✅
- Claude Code: ✅
Files in this skill
- SKILL.md
- scripts/text_to_speech.py
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.