local-tts
Installation
SKILL.md
Local TTS Skill
Generate high-quality speech audio locally using Apple Silicon MLX acceleration and the Kokoro-82M model. No API keys or recurring costs.
Quick Start
# Generate MP3 from text
uv run --with mlx-audio --with pydub skills/local-tts/scripts/generate_audio.py \
--text "Hello, this is a test." \
--output ~/Desktop/test.mp3
# Generate from file
uv run --with mlx-audio --with pydub skills/local-tts/scripts/generate_audio.py \
--file /tmp/script.txt \
--voice af_heart \
--output ~/Desktop/podcast.mp3