Agent Skills: Text to Speech Tool

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

UncategorizedID: aidotnet/moyucode/text-to-speech

Install this agent skill to your local

pnpm dlx add-skill https://github.com/AIDotNet/MoYuCode/tree/HEAD/skills/tools/text-to-speech

Skill Files

Browse the full folder contents for text-to-speech.

Download Skill

Loading file tree…

skills/tools/text-to-speech/SKILL.md

Skill Metadata

Name
text-to-speech
Description
将文本转换为语音音频文件,支持多种声音和语言。

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

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