Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

kokoro

> 编程语言
Open source

https://hf.co/hexgrad/Kokoro-82M

8.2K stars0 likes3 views
WebsiteGitHub

About

https://hf.co/hexgrad/Kokoro-82M

kokoro

An inference library for Kokoro-82M. You can pip install kokoro.

Kokoro is an open-weight TTS model with 82 million parameters. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, Kokoro can be deployed anywhere from production environments to personal projects.

Usage

You can run this basic cell on Google Colab. Listen to samples.

…

Under the hood, kokoro uses misaki, a G2P library at https://github.com/hexgrad/misaki

Advanced Usage

You can run this advanced cell on Google Colab.

…

Windows Installation

To install espeak-ng on Windows:

  1. Go to espeak-ng releases
  2. Click on Latest release
  3. Download the appropriate *.msi file (e.g. espeak-ng-20191129-b702b03-x64.msi)
  4. Run the downloaded installer

For advanced configuration and usage on Windows, see the official espeak-ng Windows guide

MacOS Apple Silicon GPU Acceleration

On Mac M1/M2/M3/M4 devices, you can explicitly specify the environment variable PYTORCH_ENABLE_MPS_FALLBACK=1 to enable GPU acceleration.

bash
PYTORCH_ENABLE_MPS_FALLBACK=1 python run-your-kokoro-script.py

Conda Environment

Use the following conda environment.yml if you're facing any dependency issues.

yaml
name: kokoro
channels:
  - defaults
dependencies:
  - python==3.9       
  - libstdcxx~=12.4.0 # Needed to load espeak correctly. Try removing this if you're facing issues with Espeak fallback. 
  - pip:
      - kokoro>=0.3.1
      - soundfile
      - misaki[en]

Acknowledgements

  • ️ @yl4579 for architecting StyleTTS 2.
  • @Pendrokar for adding Kokoro as a contender in the TTS Spaces Arena.
  • Thank you to everyone who contributed synthetic training data.
  • ❤️ Special thanks to all compute sponsors.
  • Discord server: https://discord.gg/QuGxSWBfQy
  • Kokoro is a Japanese word that translates to "heart" or "spirit". Kokoro is also a character in the Terminator franchise along with Misaki.

Issues· 212 open

View all issuesOpen on GitHub
  • #152

    Memory leak

    Updated Sep 28, 2026
  • #290

    Donation/funding for german language

    Updated Sep 19, 2026
  • #366

    sorry for this but i need it so much.

    Updated Sep 17, 2026
  • #292

    Offering voice donation for Dutch (nl) TTS voice

    Updated Sep 14, 2026
  • #370

    [ASTRA] Kokoro / indie TTS on consumer hardware

    Updated Sep 13, 2026
  • #369

    Greek Voices

    Updated Sep 4, 2026
  • #368

    KModel loads mismatched checkpoints silently via strict=False

    Updated Aug 30, 2026
  • #367

    logger.disable("kokoro") silently mutes the truncation warning

    Updated Aug 30, 2026
  • #365

    Punctuation tokens book real duration and fill it with audible signal (voiced junk after final punctuation; next-word onsets inside leading quote tokens)

    Updated Aug 28, 2026
  • #333

    Python 3.14?

    Updated Aug 24, 2026

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言