KokoroSharp icon indicating copy to clipboard operation
KokoroSharp copied to clipboard

Does it currently support the V1.1 model?

Open ZheYinX opened this issue 9 months ago • 3 comments

Because I want to use Mandarin Chinese, but the performance of V1.0 is too poor, and the pronunciation and intonation are basically unusable. I want to use a model specifically optimized for Chinese: https://github.com/thewh1teagle/kokoro-onnx/releases/ But I tried to load it in KokoroSharp and it worked fine, but it crashed during compositing playback. Is it because this library doesn't support V1.1 models? How should I solve it? Thanks!

ZheYinX avatar Feb 05 '26 07:02 ZheYinX

Because I want to use Mandarin Chinese, but the performance of V1.0 is too poor, and the pronunciation and intonation are basically unusable. I want to use a model specifically optimized for Chinese: https://github.com/thewh1teagle/kokoro-onnx/releases/ But I tried to load it in KokoroSharp and it worked fine, but it crashed during compositing playback. Is it because this library doesn't support V1.1 models? How should I solve it? Thanks!

I also encountered the same problem. Hope someone can help. Thanks in advance.

Pulas avatar Mar 24 '26 01:03 Pulas

@ZheYinX @Pulas Sorry for the delay, the model is now directly supported as of v0.8.0

KokoroTTS tts = KokoroTTS.LoadModel(KModel.zh_float32);
tts.SpeakFast("你好,世界!", KokoroVoiceManager.GetVoice("zf_001")); 

Lyrcaxis avatar Aug 26 '26 18:08 Lyrcaxis

Thank you very much for supporting 'ZH' in this project

ZheYinX avatar Aug 28 '26 12:08 ZheYinX