Overseas access: www.kdjingpai.com
Bookmark Us

Kokoro-ONNX is an open source text-to-speech (TTS) tool based on ONNX runtime. Developed by thewh1teagle, the project aims to provide an efficient and fast speech synthesis solution.Kokoro-ONNX supports multiple languages, including English, with support planned for French, Japanese, Korean and Chinese. The tool features a wide selection of voices, including a whisper mode, and has excellent performance, capable of running in near-real time on macOS M1. Kokoro-ONNX's lightweight design makes it easy to install and use, making it suitable for developers and researchers who need an efficient TTS solution.

 

Function List

  • Text-to-speech (TTS) support for multiple languages
  • Multiple voice options, including whisper mode
  • High performance, near real-time operation
  • Lightweight design, installation package about 300MB (about 80MB after quantization)
  • Compatible with macOS M1
  • Open source, based on MIT and Apache 2.0 licenses

 

Using Help

Installation process

  1. Open a terminal (PowerShell / Bash).
  2. Run the following command to install Kokoro-ONNX:
   pip install -U kokoro-onnx
  1. Download the required documentskokoro-v0_19.onnxvoices.json, and place them in the same directory.

Usage

  1. Run the following command in a terminal to start Kokoro-ONNX:
   uv init -p 3.12
uv add kokoro-onnx soundfile
  1. examples/save.pyPaste the contents of thehello.pyCenter.
  2. Download filekokoro-v0_19.onnxvoices.json, and place them in the same directory.
  3. Run the following command to generate a voice:
   python hello.py

Functional operation flow

  1. Select language and voice: invoices.jsonSelect the desired language and voice from the
  2. input text: inhello.pyEnter the text to be converted to speech in the
  3. Generate Speech: After running the script, the generated voice file will be saved in the specified directory.

Featured Functions

  • Multi-language support: Kokoro-ONNX currently supports English and plans to support more languages such as French, Japanese, Korean and Chinese.
  • Multiple sound options: Users can select different voices, including whisper mode, to meet the needs of different scenarios.
  • High performance: Runs in near real-time on macOS M1 for application scenarios that require a quick response.
  • Lightweight design: The small size of the installation package makes it easy to deploy and use quickly.

With these steps, users can easily install and use Kokoro-ONNX to realize efficient text-to-speech functions. Detailed operating procedures and rich feature descriptions ensure that users can quickly get started and take full advantage of the tool.

0Bookmarked
0kudos
🍐 Duck & Pear AI Article Smart Writer
Selection → Writing → Publishing
Fully automated!
WordPress AI Writing Plugin
500+ content creators are using
🎯Intelligent Selection: Batch generation, say goodbye to exhaustion
🧠retrieval enhancement: networking + knowledge base with depth
Fully automated: Writing → Mapping → Publishing
💎Permanently free: Free version = Paid version, no limitations
🔥 Download the plugin for free now!
✅ Free forever · 🔓 100% Open Source · 🔒 Local storage of data

Recommended

Can't find AI tools? Try here!

Enter keywords.Accessibility to Bing SearchYou can find AI tools on this site quickly.

Top