Tts

From ericwang915/PythonClaw · View interactive version

Tts is an AI agent skill from the GitHub repository ericwang915/PythonClaw. Text-to-speech — convert text to audio using gTTS or edge-tts. Use when: user asks to read text aloud, generate an audio file from text, or create a voiceover. NOT for: speech-to-text/transcription (use Deepgram or whisper), music generation, or audio editing.

How to use this skill

Skill file

Text-to-Speech

Convert text to spoken audio files.

When to Use

✅ USE this skill when:

When NOT to Use

❌ DON'T use this skill when:

Usage

Basic TTS (using gTTS — Google Translate TTS)

python {skill_path}/speak.py "Hello, this is PythonClaw speaking." --output hello.mp3

Options

# Different language
python {skill_path}/speak.py "Bonjour le monde" --lang fr

# Slow speed
python {skill_path}/speak.py "Important message" --slow

# Custom output path
python {skill_path}/speak.py "Text here" --output ~/audio/speech.mp3

Alternative: edge-tts (higher quality, more voices)

If edge-tts is installed (pip install edge-tts):

python {skill_path}/speak.py "Hello world" --engine edge --voice en-US-AriaNeural

Available edge-tts voices (examples)

List all voices: python -m edge_tts --list-voices

Notes

Resources

| File | Description |

|------|-------------|

| speak.py | Multi-engine TTS wrapper (gTTS + edge-tts) |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.