← 开源

TTS with kokoro and onnx runtime

ApplicationsContent creationPython
增长势头
+324 小时新增 Star+0.1%
2.95k
Star
337
Fork
+17
本周
12
贡献者
创建于 2025-01-03 · 更新于 2026-12-05 · 今日第 2651 名
主要开发者
README

kokoro-onnx

TTS with onnx runtime based on Kokoro-TTS

🚀 Version 1.0 models are out now! 🎉

podcast.mp4

Features

  • Supports multiple languages
  • Fast performance near real-time on macOS M1
  • Offer multiple voices
  • Lightweight: ~300MB (quantized: ~80MB)

Setup

pip install -U kokoro-onnx
Instructions
  1. Install uv for isolated Python (Recommend).
pip install uv
  1. Create new project folder (you name it)
  2. Run in the project folder
uv init -p 3.12
uv add kokoro-onnx soundfile
  1. Paste the contents of examples/save.py in hello.py
  2. Download the files kokoro-v1.0.onnx, and voices-v1.0.bin and place them in the same directory.
  3. Run
uv run hello.py

You can edit the text in hello.py

That's it! audio.wav should be created.

Examples

See examples

Voices

See the latest voices and languages in Kokoro-82M/VOICES.md

Note: It's recommend to use misaki g2p package from v1.0, see examples

Contribute

See CONTRIBUTE.md

License

  • kokoro-onnx: MIT
  • kokoro model: Apache 2.0
排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载