#!/usr/bin/env python """Minimal example: load the public model, compile the fast path, speak one line.""" import soundfile as sf from fast_arktts import FastTTS tts = FastTTS() # loads scrappylabsai/warble, compiles + warms the fast frame step audio, sr = tts.speak("<|speaker:2|>Thanks for calling. I can help you with that today.", seed=7) sf.write("example.wav", audio, sr) print(f"wrote example.wav ({len(audio)/sr:.2f}s @ {sr} Hz)")