Kitten TTS web demo using tansformers.js
A web-based demo of the Kitten TTS Nano model - a lightweight 15M parameter text-to-speech model running entirely in your browser using ONNX Runtime and transformers.js! Try the demo here.
Clone the repository:
git clone https://github.com/clowerweb/kitten-tts-web-demo
cd kitten-tts-web-demoInstall dependencies:
npm installStart the development server:
npm run devOpen your browser and navigate to http://localhost:5173
Type some text and generate speech!
This demo replicates the Kitten TTS pipeline in JavaScript.
This demo uses the Kitten TTS Nano v0.1 model:
Original Model:
…Contributions are welcome! Feel free to:
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
The Kitten TTS model is also licensed under Apache 2.0 by KittenML.
Model not loading?
Audio not playing?
Poor audio quality?
WebGPU not working?
Made with ❤️ using the Kitten TTS Nano model. Meow!
No open issues yet, or sync has not completed.