Skip to main content

Models and configuration

Models​

IDParametersApprox download
nano-int815M25 MB
nano15M56 MB
micro40M41 MB
mini80M80 MB

Voices​

bella, jasper, luna, bruno, rosie, hugo, kiki, and leo.

Full configuration example​

const config = KittenTTSConfig(
// Generation defaults can still be overridden per call.
model: 'nano-int8',
defaultVoice: 'luna',
speed: 1.05,
downloadRetries: 4,
ortNumThreads: 4,
// Bound sentence-group size for long-text inference.
maxTokensPerChunk: 400,
trimTrailingSilence: true,
silenceThreshold: 0.005,
maxSilenceTrimMs: 250,
// Disable anonymous SDK analytics when your deployment requires it.
analytics: false,
);
OptionDefaultPurpose
storageDirectoryApplication Support; KittenTTS on webCache root
modelBaseUrlHugging FaceAsset mirror
modelFilesnoneExplicit native or web assets
downloadRetries4Total attempts per file
ortNumThreads4ONNX Runtime threads
maxTokensPerChunk400Long-text inference size
trimTrailingSilencetrueTrim chunk tails
phonemizerCEPhonemizerCustom G2P implementation
analyticstrueAnonymous generation metadata

User speed is clamped to 0.5–2.0.