|
Download README.md from lainlives/piper: direct link, hf CLI and curl.
- Browser
- Download file 675 Bytes
-
https://huggingface.co/spaces/lainlives/piper/resolve/main/README.md
- Command line
-
hf download hf://spaces/lainlives/piper/README.md
-
curl -L -o README.md https://huggingface.co/spaces/lainlives/piper/resolve/main/README.md
675 Bytes
metadata
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:
{
"text": "Hello",
"voice": "en_US-lessac-high",
"length_scale": 1.08,
"noise_scale": 0.35,
"noise_w": 0.90
}