File size: 675 Bytes
90ba8a3 5ea3089 90ba8a3 87fdfda 7378896 90ba8a3 7378896 5ea3089 90ba8a3 7378896 168dacc 5ea3089 90ba8a3 5ea3089 90ba8a3 5ea3089 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
title: ActualTTS (Piper CLI, CPU)
emoji: 🗣
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
---
# ActualTTS (Piper CLI, CPU)
FastAPI wrapper around the *Piper* TTS CLI for CPU-only synthesis.
Voices are cached under a writable dir and can be provisioned via API.
## Endpoints
### Health
GET /health → engine info, available voices, cache dirs
### Provision
POST /provision
Body: {"voice":"en_US-amy-medium"}
Downloads the ONNX + JSON for the requested voice if missing.
### Make WAV (JSON → URL)
POST /speak
Body:
```json
{
"text": "Hello",
"voice": "en_US-lessac-high",
"length_scale": 1.08,
"noise_scale": 0.35,
"noise_w": 0.90
} |