Loading video...

Video Failed to Load

Go Home

Introducing Kokoro.js, a new JavaScript library for running Kokoro TTS, an 82 million parameter text-to-speech model, 100% locally in the browser w/ WASM. Powered by 🤗 Transformers.js. WebGPU support coming soon! 👉 npm i kokoro-js 👈 Link to demo (+ sample code) in 🧵

40,340 views • 1 year ago •via X (Twitter)

11 Comments

Xenova's profile picture
Xenova1 year ago

You can get started in just a few lines of code! 🧑‍💻 Huge kudos to the Kokoro TTS community, especially @taylorchu for the ONNX exports and Hexgrad for the amazing project! None of this would be possible without you all! 🤗 Try it out yourself:

Xenova's profile picture
Xenova1 year ago

The model is also extremely resilient to quantization. The smallest variant is only 86 MB in size (down from the original 326 MB), with no noticeable difference in audio quality! 🤯 Link to models/samples:

Christian Esmann's profile picture
Christian Esmann1 year ago

I just launched an all-in-one template for cross-platform development, based on the stack I use myself everyday. Expo, NextJS, TypeScript, Tailwind, Firebase, AppsFlyer, Authentication, Analytics, In-App Purchases, Stripe and a lot more, setup by default.

nisten - e/acc's profile picture
nisten - e/acc1 year ago

gg

Esteban's profile picture
Esteban1 year ago

maybe use a less annoying voice on the next one?

ZOHEB's profile picture
ZOHEB1 year ago

Extremely well done, I’ve been waiting for this and I look forward to using. Thank you for your work!

Miguel Guerrero's profile picture
Miguel Guerrero1 year ago

goat 🐐

hola's profile picture
hola1 year ago

taking forver to download lol

Gabriel Tomberlin's profile picture
Gabriel Tomberlin1 year ago

The GOAT with the quick turnaround 👏🏼

steve ike's profile picture
steve ike1 year ago

This is an exciting release!

Shafil Alam's profile picture
Shafil Alam1 year ago

The fact that this quality of TTS can run in a browser is amazing!

Related Videos