Skip navigation
Introducing Kokoro.js, a new JavaScript library for running Kokoro TTS, an 82 million parameter…
0:00 / 0:43

Introducing Kokoro.js, a new JavaScript library for running Kokoro TTS, an 82 million parameter…

Xenova

@xenovacom21K followers

Visit on X
686 likesDownloadOriginal post

41,348 views

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 🧵

11 Comments

Comments from the original post on X (Twitter)

  • Xenova's profile picture

    @xenovacom

    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:

    17 likes

  • Xenova's profile picture

    @xenovacom

    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:

    15 likes

  • Christian Esmann's profile picture

    @chrisesmann

    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.

    43 likes

  • nisten - e/acc's profile picture

    @nisten

    gg

    2 likes

  • Esteban's profile picture

    @estebs

    maybe use a less annoying voice on the next one?

    1 like

  • ZOHEB's profile picture

    @Z0HE8

    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

    @apolmig

    goat 🐐

  • hola's profile picture

    @jdggggyujhbc

    taking forver to download lol

  • Gabriel Tomberlin's profile picture

    @GabrielTomberl1

    The GOAT with the quick turnaround 👏🏼

  • steve ike's profile picture

    @steve_ike_

    This is an exciting release!

  • Shafil Alam's profile picture

    @alamshafil

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