What problem does it solve?
This Skill helps you turn text into local audio speech reliably and safely, avoiding common failures like SSML injection, resource exhaustion, and broken audio outputs.
Core Features & Use Cases
- Secure SSML/Text Handling: Prevents SSML injection and strips/escapes unsafe patterns before synthesis.
- Resource-Efficient Model Management: Uses a pooled/singleton TTS model with concurrency control to avoid repeated heavyweight loads.
- Verified Audio Output: Validates generated audio (empty output, NaN/Inf, excessive duration, silence, amplitude issues) before returning results.
- Production-Oriented TTS Pipelines: Supports voice selection, sentence-based chunking for long text, optional streaming playback patterns, and writing synthesized audio to disk.
- Recommended Scope: Use for local voice synthesis with Kokoro TTS and SSML-like processing; do not use for cloud TTS APIs.
Quick Start
Use the text-to-speech skill when you need to synthesize spoken audio from user-provided text on your machine using Kokoro TTS, ensuring the text is sanitized and the produced audio is validated before playback or saving.