Skip to main content
Synthesize natural-sounding speech from text using on-device Piper TTS models.

Basic Usage

TTSResult

Parameters

Setup

1. Register ONNX Backend

2. Add TTS Voice

3. Download & Load

Playing Audio

Use a package like audioplayers to play the synthesized audio:

Complete Example

See Also

Streaming TTS

Stream audio as it’s generated

Available Voices

Browse voice options