Or jump from this list on a smaller screen.
This is a page from the Audivra documentation. Developer exports — index: http://127.0.0.1:3000/docs/llms.txt, full corpus: http://127.0.0.1:3000/docs/llms-full.txt, OpenAPI: http://127.0.0.1:3000/docs/openapi.json, Postman: http://127.0.0.1:3000/docs/postman.json. Press ⌘K to search docs.
Text to speech
Generate speech audio from text — WAV response or low-bandwidth Opus/AAC streaming.
Try it
Hear output in the browser — same contract as POST /api/v1/tts. Uses your session or a pasted API key.
TTS playground
WAV response via /api/v1/tts
/api/v1/ttsReturns audio/wav. Meters len(text) against plan character quota.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | Text to synthesize |
| voice_id | string | No | Preset ID or a ready clone UUID from POST /api/voices/clone |
| model | string | No | kokoro-82m · f5-tts · xtts-v2 |
Request body
{
"text": "Hello from Audivra",
"voice_id": "aurora",
"model": "kokoro-82m"
}Errors
| Status | Meaning |
|---|---|
| 401 | Unauthorized |
| 402 | Character quota exceeded |
| 409 | Voice clone still training |
POST /api/v1/tts/stream
Chunked Opus/AAC streaming for mobile networks. Optimized for Global South low-bandwidth regions.
curl -X POST http://127.0.0.1:3000/api/v1/tts/stream \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{"text":"Sentence one. Sentence two.","voice_id":"zuri-sw","format":"opus"}' \
--output stream.opusVoice IDs: Voice library — play samples and copy voice_id
Step-by-step guide: Stream Opus TTS on low bandwidth