ONNX Model Zoo

zijuncheng/kokoro_model_v1.0

By zijuncheng · ↓ 0 · ♥ 0 · Updated 2025-07-02

What's in this repo

This page lists the files in zijuncheng/kokoro_model_v1.0, including kokoro-v1.0.onnx.

  • 1 ONNX models (.onnx files)
  • 11 files, including 4 .xml, 1 .iml, 1 .md, 1 .onnx, 1 .bin
  • Last updated 2025-07-02

ONNX files

File Size Download
kokoro-v1.0.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

How to run Kokoro TTS locally

Please note that this is the same 32fp file taken from

https://huggingface.co/onnx-community/Kokoro-82M-v1.0-ONNX/tree/main/onnx

Download all the files to a local directory model_dir

Load Kokoro Model
from kokoro_onnx import Kokoro

kokoro = Kokoro("kokoro-v1.0.onnx", "voices-v1.0.bin")  # 32fp

Convert Phonemes to Wav File

The following will save a wave file to model_dir Output is 16bit so that it can be easily used by TTS evaluation framework.

# Assuming phonemes are already produced 
import soundfile as sf
samples, sample_rate = kokoro.create(phonemes, "af_bella", is_phonemes=True)
sf.write("phonemes_test.wav", samples, sample_rate, subtype='PCM_16')

Model info

onnx region:us
↓ 0 ♥ 0

Created: 2025-07-02

Updated: 2025-07-02

View on Hugging Face

Files (11)

.DS_Store
.gitattributes
.idea/.gitignore
.idea/inspectionProfiles/profiles_settings.xml
.idea/kokoro_model_v1.0.iml
.idea/misc.xml
.idea/modules.xml
.idea/vcs.xml
README.md
kokoro-v1.0.onnx ONNX
voices-v1.0.bin

Related models