RealtimeTTS
Python library that streams LLM output into speech across 20+ TTS engines with automatic fallback.
About
RealtimeTTS solves a narrow but common problem: turning strings, generators, and LLM token streams into audible speech with as little latency as possible. The Python library sits as a glue layer above more than 20 engines, from free system voices, gTTS, and Edge through cloud APIs like OpenAI, Azure, ElevenLabs, Cartesia, and MiniMax to local neural models including Coqui XTTS, Piper, Kokoro, StyleTTS, Parler, Chatterbox, and Orpheus, with configurable fallback chains that switch engines automatically when one fails. Text can keep streaming in while audio is already playing, and the API covers pause, resume, stop, WAV file output, audio callbacks, voice switching, multiple output devices, and asynchronous playback. Installation is pip install with per-engine extras, such as realtimetts[system], realtimetts[coqui], or realtimetts[openai]. Hardware needs depend entirely on the chosen engine; system voices run anywhere while local neural engines benefit from CUDA acceleration. The MIT license permits commercial use, and with about 4,000 GitHub stars the library has become a standard way to pipe streaming LLM output into speech.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Text-to-Speech (TTS)
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Easy (2/5)
- License
- MIT
- Added
- Jul 29, 2026
Related Tools
Lightweight and expressive TTS model with 82M parameters for fast local inference.
Conversational TTS model optimized for dialogue and chat applications.
Multilingual large voice generation model with full-stack inference, training, and deployment.
Large-scale multilingual TTS model by Alibaba with zero-shot voice cloning.
Emotion-controllable TTS engine by NetEase with 2000+ voices.
Transformer-based text-to-audio model by Suno that generates speech, music, and sound effects.