Skip to content
المشاريع

حول

تحويل النص إلى كلام (TTS) باستخدام kokoro وonnx runtime.

مشاريع أخرى

كيف تُقاس هذه الأرقام

2,951 نجمة337 التفرعات +3 خلال 24 ساعة

ما يمكنك فعله

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

النمو المقاس للنجوم

خلال 24 ساعة
+٣
خلال 7 أيام
+١٦
خلال 15 يومًا
+٤٢
خلال شهر
+٩٤

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

kokoro-onnx

Python Version PyPI Release Github Model Releases License GitHub stars PyPI Downloads

ONNX Runtime CPU GPU

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
  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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…