Model reference · open weights
Piper is an open-weight audio or speech model from Rhasspy, listed on the AxForge serverless API, OpenAI-compatible and hosted in the EU.
Check the console for current access, prices and availability.
AxForge offerings: Piper
What it is
| Released by | Rhasspy |
|---|
How it works
Using it via the API
Piper answers on the OpenAI-compatible API today as piper-lessac, with the same
base URL and keys as every other model.
# your API key, from API Keys
export AXFORGE_API_KEY="YOUR_KEY"
curl https://api.axforge.ai/v1/audio/speech \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"piper-lessac","input":"Hello from Stockholm"}' \
--output speech.wav
# your API key, from API Keys
$env:AXFORGE_API_KEY = "YOUR_KEY"
$call = @{
Method = "Post"
Uri = "https://api.axforge.ai/v1/audio/speech"
Headers = @{ Authorization = "Bearer $env:AXFORGE_API_KEY" }
ContentType = "application/json"
Body = '{"model":"piper-lessac","input":"Hello from Stockholm"}'
}
Invoke-RestMethod @call -OutFile speech.wav
REM your API key, from API Keys
set AXFORGE_API_KEY=YOUR_KEY
curl.exe https://api.axforge.ai/v1/audio/speech ^
-H "Authorization: Bearer %AXFORGE_API_KEY%" ^
-H "Content-Type: application/json" ^
-d "{\"model\":\"piper-lessac\",\"input\":\"Hello from Stockholm\"}" ^
--output speech.wav
Create an account and your API key is available in the console. 3M free tokens every 30 days with every new account.