K
hexgrad/kokoro★ 10,499 · JavaScript
An 82M-parameter TTS SDK for local, segment-by-segment speech synthesis
Apache-2.0 · Commercial Friendly
Side-by-side 2026 comparison in Voice, Vision & Video: Wan-Video/Wan2.1 leads in total GitHub adoption (★ 17.5k), while hexgrad/kokoro shows stronger 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
An 82M-parameter TTS SDK for local, segment-by-segment speech synthesis
Local video diffusion models for text, image, and keyframe-driven generation
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | hexgrad/kokoro | Wan-Video/Wan2.1 |
|---|---|---|
| Total GitHub Stars | ★ 10,499 | ★ 17,536 |
| 24h / 7d Velocity | +1 / +149 | +4 / +52 |
| 7-Day Trend Curve | ||
| Engineering Health | C · 49/100 | B · 57/100 |
| Deployment Signals | Local AI · GPU | Local AI · GPU |
| Primary Language | JavaScript | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 16mo ago | Updated 9mo ago |
| Latest Release | Rolling commits (main) | Rolling commits (main) |
| Best For | Python applications that need local narration, WAV generation, or segment-by-segment voice playback and can manage their own runtime and model assets | Teams prototyping 480p text-to-video on a 16 GB workstation, or building self-hosted image animation, endpoint-conditioned clips, and VACE editing on appropriately sized GPUs |
KPipeline yields text, phonemes, and audio per segment for playback or export.!pip install -q kokoro>=0.9.4 soundfile !apt-get -qq -y install espeak-ng > /dev/null 2>&1 from kokoro import KPipeline from IPython.display import display, Audio import soundfile as sf import torch pipeline = KPipeline(lang_code='a') text = ''' [Kokoro](/kˈOkəɹO/) is an open-weight TTS model with 82 million parameters. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, [Kokoro](/kˈOkəɹO/) can be deployed anywhere from production environments to personal projects. ''' generator = pipeline(text, voice='af_heart') for i, (gs, ps, audio) in enumerate(generator): print(i, gs, ps) display(Audio(data=audio, rate=24000, autoplay=i==0)) sf.write(f'{i}.wav', audio, 24000)
# Ensure torch >= 2.4.0 pip install -r requirements.txt
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy