Streaming TTS

Streaming Methods Reference

All streaming methods available on the TTS client.


Methods

MethodDescription
stream(text, config)Async generator that yields raw audio bytes chunks.
stream(text, config, detailed=True)Yields (bytes, metadata) tuples with per-chunk details.
synthesize_stream(text, config)Convenience wrapper that collects all chunks and returns the full audio.
stream_to_file(text, path, config)Streams audio directly to a file on disk.