Back to Moonshine

Text to Speech

examples/web/tts/index.html

0.1.1899 B
Original Source

Pick a voice

What should it say?Hello from Moonshine. I am running right inside your browser, and nothing I say is sent to a server.

Speak it Download WAV

Loading…

Clone your own voice

Record 4 seconds

  1. Record about four seconds of yourself talking.
  2. Moonshine trims it and transcribes it for the vocoder.
  3. Everything you type is now spoken in your voice.

#Engine and voice details

EngineKokoro (82M params, quick to load)Piper (lightweight, many languages)ZipVoice (highest quality, supports cloning)

All voices

The cards above are a curated shortlist. This list is every voice the selected engine publishes for the current language. Cloning needs ZipVoice, which the page switches to on its own when you record.

Speech synthesis, in your language

Speaking is two calls and cloning is one more, whichever one you pick. The JavaScript tab is the code running on this page.