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.
Music
Generate a short score bed for talking-heads. Same prepaid pool as speech and avatars.
POST /api/v1/music
POST
/api/v1/musicAuth required
JSON prompt + seconds (2–20). Meters 8 credits per ceil(second). Returns audio/wav.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | Bed description (4–160 characters) |
| seconds | number | No | Duration 2–20 (default 8) |
Request body
JSON
{
"prompt": "soft kora under a news open",
"seconds": 8
}Errors
| Status | Meaning |
|---|---|
| 401 | Unauthorized |
| 402 | Credit quota exceeded |
Hear a sample on the homepage playground.