Piper TTS

Local text-to-speech. Type something, pick a voice, hear it.

API

MethodPathReturns
GET/healthstatus + installed voices
GET/voicesarray of voice names
GET · POST/ttsaudio/wav

/tts parameters

FieldDefaultMeaning
text—Required. Max 5000 characters.
voicefirst installedFilename stem of a model in voices/.
speaker0Speaker id, multi-speaker models only.
length_scalemodel defaultPhoneme length. Above 1 is slower, below 1 faster.
noise_scalemodel defaultGenerator noise — expressiveness.
noise_w_scalemodel defaultPhoneme width noise — cadence variation.

Accepts JSON, form fields, or a query string. Errors: 400 bad input, 404 unknown voice, 413 text too long, 503 no voices installed.

Examples