项目
在 GitHub 查看
thewh1teagle/kokoro-onnx
关于
使用 kokoro 和 ONNX Runtime 实现文本转语音(TTS)
其他项目可以做什么
- Supports multiple languages
- Fast performance near real-time on macOS M1
- Offer multiple voices
- Lightweight: ~300MB (quantized: ~80MB)
实测星标增长
- 24小时
- +3
- 7天
- +16
- 15天
- +42
- 1个月
- +94
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文kokoro-onnx
TTS with onnx runtime based on Kokoro-TTS
🚀 Version 1.0 models are out now! 🎉
https://github.com/user-attachments/assets/00ca06e8-bbbd-4e08-bfb7-23c0acb10ef9
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
- Install uv for isolated Python (Recommend).
pip install uv
- Create new project folder (you name it)
- Run in the project folder
uv init -p 3.12
uv add kokoro-onnx soundfile
- Paste the contents of
examples/save.pyinhello.py - Download the files
kokoro-v1.0.onnx, andvoices-v1.0.binand place them in the same directory. - 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
探索相关项目
加载中…