hexgrad/kokoro
https://hf.co/hexgrad/Kokoro-82M
🗣️ Lightweight Open-Weight TTS Inference
A compact 82M parameter open-weight TTS model delivering quality on par with larger models, with fast, cost-efficient, Apache-licensed inference.
Kokoro is an inference library for the Kokoro-82M text-to-speech model. Built for developers seeking a lightweight alternative to heavy TTS systems, it supports multiple languages and integrates a G2P library called misaki under the hood. Despite its small size, Kokoro delivers comparable quality to larger models, making it suitable for both production and personal projects.
✨ Highlights
- Open-weight 82M model: Lightweight architecture with Apache-licensed weights for flexible deployment.
- Multi-language support: Covers American/British English, Spanish, French, Hindi, Italian, Japanese, Brazilian Portuguese, and Mandarin Chinese.
- Fast and cost-efficient: Optimized for speed and lower inference costs compared to larger models.
- Built-in G2P: Uses misaki for grapheme-to-phoneme conversion.
- Flexible voice selection: Offers multiple voices (e.g.,
af_heart) and supports custom voice tensors. - Adjustable speed and splitting: Control playback speed and text segmentation via
split_pattern. - Audio export: Saves generated audio as WAV files at 24kHz.
- Colab-ready: Easy setup with pip install and apt-get for espeak-ng dependencies.
💡 Why it matters
Kokoro fills the gap between high-quality but resource-heavy TTS models and lightweight but lower-quality alternatives. Its small footprint and Apache license make it ideal for edge deployment, personal projects, and scalable production environments where cost and speed are critical. By combining efficient architecture with multi-language support, it offers a practical solution for developers who want reliable TTS without the overhead of large models.
#TTS #TextToSpeech #OpenSource #MachineLearning #TiniX