KittenTTS is an open-source text-to-speech library whose flagship model, KittenTTS 2, is a 1.7-billion-parameter 1-bit speech language model with in-context voice cloning and expression control capabilities: just provide 5 seconds of someone's speech, and it can read your text in that voice, and it can run in real time on CPU. The library also includes the original lightweight legacy models (15 million to 80 million parameters), which run on CPU without a GPU. Both model families are loaded through the same KittenTTS(...) constructor.
Key capabilities:
- Voice cloning: clone any speaker from 5-30 seconds of audio, with no fine-tuning required.
- 47 built-in voices: including the eight voices in KittenTTS 0.8 and nine non-English voices.
- Multilingual: supports 20 languages, including English, Arabic, Chinese, French, German, Hindi, Italian, Portuguese, Russian, Spanish, Japanese, Korean, Turkish, Dutch, Swedish, Danish, Finnish, Swahili, Greek, and Hebrew.
- Expression control: [emotion] tags, inline <event> tags, and (((emphasis))) spans.
- Decoding presets: trade off between stability and expressiveness on each request.
- Long text: sentence-aware chunking with seamless stitching.
- Text preprocessing: automatically expands numbers, currencies, dates, units, and abbreviations.
- 24 kHz output: high-quality audio at a standard sample rate.
- Runs without a GPU.
- CPU-optimized C++ inference (a fork based on llama.cpp).
How to use: It works right after installation; KittenTTS 2 is the default model, includes voice cloning, and requires no Hugging Face login—all weights used by the model are provided with its repository. It also pulls in a small ONNX runtime, so the lightweight models can also be used in the same installation.
m.available_voices lists all 47 built-in voices, described in voices and expression. Bella, Jasper, Luna, Bruno, Rosie, Hugo, Kiki, and Leo are the same speakers as in KittenTTS 0.8, so code written for the ONNX model can continue to be used.
The weights come in two sizes. The default size is 947 MiB and lossless; weights="emb4" is 506 MiB because it quantizes the token embeddings, which loses a little quality. Only the one you request will be downloaded.
For voice cloning, pass reference= instead of voice=—the method is the same, just replace the built-in speaker with a recording. Provide 5-30 seconds of audio for a single speaker. The transcript is part of the prompt, but you do not have to enter it; when omitted, Whisper fills it in automatically. The reference audio is fed into the model through two independent paths—through the speaker embedding of the model projection head, and as the segment itself in the codec tokens in the prompt—so identity is preserved even if one path is weak.
Measured on built-in voices: generated segments score 0.49-0.72 in speaker similarity to their own reference, 0.01-0.18 to the other 37 voices, and cloning an unseen recording scores 0.81 to that recording.
Expression control (Beta): emotion control guides rather than guarantees expression, and the effect varies by voice and sentence. Leading [emotion] tags, inline <event> tags, and (((emphasis))) spans reach the model as markers rather than being read aloud, and automatically enable their expression conditioning. Ten emotions and ten sound events are recognized—see voices and expression for the full list and what is not covered.
KittenTTS 2 runs on CPU out of the box—device auto-detection—but the fastest way is kitten-tts-2-cpp, our llama.cpp fork. It reads the GGUF weights in the cpp/ directory of the model repository.
For GPU inference with vLLM on Linux and NVIDIA CUDA GPUs, install the optional backend: Choose backend="vllm": Keep the main guard when running the script: vLLM starts a worker process. The same voice, decoder, weight selection, and generation parameters apply. See the vLLM guide for memory settings and benchmarks.
Long input is split at sentence boundaries and synthesized chunk by chunk, then joined with silence trimming and short edge fades so the seams are inaudible. This is automatic: the model is reliable on short input, but when asked to process an entire script at once it truncates or drifts into repetition.
To start playback before the entire content is ready, you can stream: It accepts the same parameters as generate, so reference= also streams cloned voices.
Streaming passOutput is block-level, not token-level: a block is produced only after it is fully generated and vocoded, so the first block still requires its own generation time. On an A100, a 936-character paragraph produced the first 21 seconds of audio in the following 17 seconds, and completed 54 seconds of audio in 42 seconds of wall-clock time—so playback can keep up with generation, but there is a real initial delay.
Two consequences worth knowing:
- Short text does not stream. Input that fits in one block (roughly under 380 characters, with short trailing fragments merged into the adjacent block) produces exactly one block, so generate_stream behaves like generate.
- Blocks are raw output. generate post-processes the seams—trimming edge silence from each segment, adding short fades and a consistent pause—which a streaming caller cannot do without waiting for the next block. Directly concatenating streaming blocks produces slightly rougher seams than using generate on the same text.
System requirements:
- Operating system: Linux, Windows, or Mac
- Python: 3.9 or later
- A virtual environment (conda, venv, or similar) is recommended to avoid dependency conflicts.
- About 1 GB of disk space for the model, or 506 MiB when using smaller weights.
- For KittenTTS 2: a CUDA GPU with about 8 GB of free VRAM, or a CPU with about 6 GB of memory.
Commercial support: Commercial support is available for teams integrating Kitten TTS into products, including integration assistance, custom voice development, and enterprise licensing. Discuss your needs via the contact form or email info@stellonlabs.com.
Community and support:
- Discord: Join the community
- Website: kittenml.com
- Custom support: Request form
- Email: info@stellonlabs.com
- Issues: GitHub Issues
License: This project is licensed under the Apache License 2.0. This covers the code in this repository. The models are licensed separately and the terms may differ. Each model repository has its own license, so check the one you intend to use before relying on it—do not assume the code's license extends to the weights. KittenTTS 2 is released under the Stellon Labs Community License.