Kitten TTS 2 Mini Core ML text-to-speech conversion for iOS 18+
2 min readupdated
This model is an unofficial Core ML conversion of the lightweight Kitten TTS 2 Mini text-to-speech system (based on the Kokoro-82M architecture) designed to run on devices powered by iOS 18 and newer. Computations run on the CPU, allowing speech generation to continue even in the background. The file set includes duration prediction models, a text encoder, an iSTFTNet generator with bucket support for memory optimization, a tokenizer, voice style tables, and eSpeak NG data for language support.
Key features
- Core ML conversion for iOS 18+ execution on the CPU
- Background speech playback without interruption when the app is minimized
- Kokoro-82M architecture utilizing PL-BERT and an iSTFTNet generator
- Ready-to-use component set including style tables and eSpeak NG 1.52 data
What you can do
- Integrate local text-to-speech into mobile apps for iOS
- Use pre-made voice tables to generate audio in different languages
- Run model inference on Apple devices without sending data to a server
Example
The model is designed for integration into iOS apps using Core ML. The repository provides Python scripts for exporting and data preparation (such as network.py and kitten_pack.py), along with weight and tokenizer configuration files.
Read more
DetailsBase model: KittenML/kitten-tts-2-mini
Library: Core ML (iOS 18+)
Precision: generator correlation with the PyTorch version is at least 0.995 (fp16)
License: Apache 2.0 (the eSpeak NG folder is distributed under GPL-3.0-or-later)










Comments