# Text To Speech

> 将文本转换为语音音频文件，支持多种声音和语言。

将文本转换为语音音频文件，支持多种声音和语言。

- Page: https://ss33.ai/skills/aidotnet/text-to-speech-88595929949
- Publisher: aidotnet
- Category: [Creative & Media](https://ss33.ai/skills/category/creative-and-media-0j3x01) › [Audio & music](https://ss33.ai/skills/category/creative-and-media-0j3x01/audio-and-music-bsgssb)
- License: MIT
- Source: https://github.com/aidotnet/moyucode/blob/9fa0412ff1d57ca3216835637773ac975cae1009/skills/tools/text-to-speech/SKILL.md

## Skill

SKILL.md: https://ss33.ai/api/v1/ss33/download/aidotnet/text-to-speech-88595929949

# 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: ✅
