Overview
TTSKit provides on-device text-to-speech using Qwen3 TTS models running entirely on Apple silicon with real-time streaming playback.TTSKit requires macOS 15.0+ or iOS 18.0+
Quick Start
Basic Speech Generation
TTSKit() automatically downloads the default 0.6B model on first run and loads all necessary components.
Real-Time Streaming Playback
Play audio as it’s being generated:Model Selection
TTSKit offers two model sizes:Voice Selection
Choose from 9 built-in voices:Available Voices
- ryan - Clear, neutral male voice
- aiden - Warm male voice
- onoAnna - Professional female voice
- sohee - Friendly female voice
- eric - Authoritative male voice
- dylan - Casual male voice
- serena - Calm female voice
- vivian - Energetic female voice
- uncleFu - Character voice
Multi-Language Support
TTSKit supports 10 languages:Supported Languages
.english, .chinese, .japanese, .korean, .german, .french, .russian, .portuguese, .spanish, .italian
Generation Options
Customize the generation behavior:Style Instructions (1.7B Model Only)
The 1.7B model accepts natural-language style instructions:Playback Strategies
Control how audio is buffered and played:Saving Audio Files
Export generated audio to disk:Progress Callbacks
Receive per-step audio during generation:Complete SwiftUI Example
Command Line Usage
TTSKit is available through thewhisperkit-cli tool:
Performance Optimization
Compute Units
Optimize for your device:Concurrent Workers
Adjust concurrency for long text:Demo App
The TTSKitExample app showcases:- Real-time streaming playback
- Model management UI
- Waveform visualization
- Generation history
- macOS and iOS support
Next Steps
Basic Transcription
Learn speech-to-text with WhisperKit
Real-Time Streaming
Transcribe audio in real-time