kale-tts-1 / README.md
NERDDISCO's picture
kale-tts-1
624a22c
|
Raw History Blame Contribute Delete
3.54 kB
metadata
title: kale-tts-1
emoji: 🥬
colorFrom: green
colorTo: gray
sdk: static
pinned: false
license: apache-2.0
short_description: Natural speech from 100% synthetic data, on your device
thumbnail: https://huggingface.co/spaces/KaleComputer/kale-tts-1/resolve/main/og.png
models:
  - KaleComputer/kale-tts-1-nano
  - KaleComputer/kale-tts-1-tiny
datasets:
  - KaleComputer/kale-tts-1-data
tags:
  - text-to-speech
  - webgpu
  - onnx
  - on-device
custom_headers:
  cross-origin-embedder-policy: require-corp
  cross-origin-opener-policy: same-origin
  cross-origin-resource-policy: cross-origin

kale-tts-1 in your browser

Natural speech from 100% synthetic data, running on your own device. Type anything, pick one of 10 voices and play it. Nothing is uploaded: the model, the voices and the text front end are fetched once and run in the page.

Two models, switched with the cards at the top:

model parameters download
kale-tts-1-nano 7.5M 14.8 MB the tiniest and fastest
kale-tts-1-tiny 45.7M 79.9 MB clearer and more expressive

The tiles under the cards show what your device is doing: whether it runs on WebGPU or the CPU, the time to the first sound and the speed (× real time) of the last sentence played. Long text is spoken sentence by sentence, so the first sound comes as fast for a paragraph as for one line.

  • WebGPU on desktops that have it, with each model's float32 graph (model.fp32.onnx). If WebGPU is missing, fails to start, or crashed this browser before, the page uses the CPU instead.
  • CPU (wasm, up to 4 threads) on phones and tablets, with each model's smaller graph (model.onnx).

The 10 voices: Kenzie, Simone, Amy, Frankie, Darlene (women) and Owen, Toby, Jack, Earl, Magnus (men). Play them with the keys, or with the home row of your keyboard. "a line per voice" gives each voice a line of its own.

All voices are synthetic, designed from a text description; nobody was recorded or cloned. Based on Maya (Maya-1, Maya Research). Text side derived from Kokoro-82M (Apache-2.0); kale-tts-1-tiny's also holds the frozen Ettin encoder 17M (MIT, its tokenizer as ettin-tokenizer.json). Details in THIRD_PARTY_NOTICES.md.

Licences: weights and code Apache-2.0, dataset (kale-tts-1-data) CC BY 4.0; onnxruntime-web MIT (ort/LICENSE); dizione Apache-2.0 (frontend/dizione/LICENSE); CMUdict notice in frontend/words/lexicon.tsv.

Runtime: onnxruntime-web 1.31.1 (ort/) through the kale-tts JS API (js/kale-tts.mjs). The text front end (numbers, dates, tech terms, CMUdict lexicon + a small g2p model, no espeak) is in frontend/.

Brought to you by Kale.

AI-generated speech: everything these models say is synthetic speech made by an AI model, in voices that belong to no real person. Tell listeners it is AI-generated, never present it as a human recording, and never use it to imitate a real person.

Credits: based on Maya: all training audio is original speech from Maya-1 (Maya Research, Apache-2.0), decoded with SNAC (MIT). The text side started from Kokoro-82M (hexgrad, Apache-2.0); the teacher was trained with StyleTTS2 (MIT) and kikiri-tts (Apache-2.0) code; kale-tts-1-tiny contains the Ettin 17M encoder (JHU CLSP, MIT). Pronunciations: CMUdict (BSD-2-Clause), Britfone (MIT), dizione text rules (Apache-2.0). Training texts: public-domain books made available by Project Gutenberg. Dataset: kale-tts-1-data (CC BY 4.0).