{"openapi": "3.1.0", "info": {"title": "LALAL.AI API", "version": "1.1.0", "description": "\nThe LALAL.AI API splits audio into stems, such as vocals, instruments, or a voice and its background noise, and changes voices.\n\n**Authentication**: send your license key in the `X-License-Key` header of every request.\n\n**Quick start**\n\n1. Upload a file with `/upload/`. The `id` from the response is your `source_id`.\n2. Start a task with this `source_id` and get a `task_id`.\n   Which endpoint fits your audio is explained in [Stem Separation](#tag/stem-separation): for a song it is `/split/stem_separator/`, for speech with noise `/split/voice_clean/`.\n3. Poll `/check/` with the `task_id` until the task is done.\n4. Download the result files from the URLs in the `/check/` response.\n5. Optionally, delete the file and its results from our servers with `/delete/`.\n"}, "paths": {"/api/v1/upload/": {"post": {"operationId": "upload_upload", "summary": "Upload a file to the server", "parameters": [{"name": "Content-Disposition", "in": "header", "required": true, "schema": {"type": "string"}, "description": "'attachment; filename=<filename>' - a name for the file (see RFC 6266).", "example": "attachment; filename=song.mp3"}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UploadResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ApiV1ErrorResponse"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nUploads a file, up to 10 GB. Other endpoints call it the source file.\n\nUse the `id` from the response as `source_id` to start tasks. One file can start several tasks.\nThe file is deleted at the `expires` time from the response.\n", "tags": ["Common"], "security": [{"ApiKeyHeaderAuth": []}], "requestBody": {"content": {"application/octet-stream": {"schema": {"type": "string", "format": "binary", "description": "File binary data"}}}, "required": true, "description": "Upload binary data in the request body. Pass the file name in the 'Content-Disposition' header."}}}, "/api/v1/check/": {"post": {"operationId": "check_check", "summary": "Check the status of a task by id", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CheckV1Response"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "429": {"description": "Too Many Requests", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nReturns the status of your tasks: in progress, done, failed or cancelled. Done tasks include the URLs of the result files.\n\n- Pass all your `task_ids` in one request, up to 200: the limit is 30 requests per minute.\n- A task stays here for 24 hours after it finishes. After that `/check/` returns an error for it.\n", "tags": ["Common"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CheckV1Request"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/cancel/": {"post": {"operationId": "cancel_cancel", "summary": "Cancel tasks by id", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CancelResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "tags": ["Common"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CancelRequest"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/cancel/all/": {"post": {"operationId": "cancel_cancel_all", "summary": "Cancel all user tasks in progress state", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CancelResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "tags": ["Common"], "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/delete/": {"post": {"operationId": "delete_delete", "summary": "Delete source file and resulting tracks from storage", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SuccessResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nDeletes the source file and all its result files from our servers.\n\n- Call it only when the tasks of this file are done: it cancels running tasks started with the same license key, and the others lose their file.\n- Only the files are deleted, not the processing history.\n- `/check/` keeps returning the task with its download links. Because of CDN caching the links can work for up to one hour after deletion, then they return 404.\n", "tags": ["Common"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/DeleteParameters"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/limits/minutes_left/": {"post": {"operationId": "limits_get_minutes_left", "summary": "Get number of processing minutes available to consume", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/LimitsResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "tags": ["Common"], "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/split/stem_separator/": {"post": {"operationId": "split_split_enhanced", "summary": "Split a file into stems using the stem separator presets", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Task"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nExtracts one stem from a song. You get two files: the stem and the rest of the song without it.\n\nFor speech recordings use `/split/voice_clean/` (noise in the background) or `/split/demuser/` (music in the background).\n\n**Stems**\n\n| Stem | What it extracts | `auto` currently picks |\n|---|---|---|\n| `vocals` | Singing: lead and backing vocals | andromeda |\n| `drum` | Drums | andromeda |\n| `bass` | Bass | andromeda |\n| `piano` | Piano | andromeda |\n| `guitar` | Any guitar, electric and acoustic together | andromeda |\n| `electric_guitar` | Electric guitar only | andromeda |\n| `acoustic_guitar` | Acoustic guitar only | andromeda |\n| `synthesizer` | Synthesizers | phoenix |\n| `strings` | String instruments | phoenix |\n| `wind` | Wind instruments | phoenix |\n\n`guitar` extracts all guitars into one track. To get only one kind of guitar, use `electric_guitar` or `acoustic_guitar`.\n\nLeave `splitter` as `auto` to get new models as soon as they are released, see [Stem Separation](#tag/stem-separation).\n\n**Result**\n\n`/check/` returns 2 tracks:\n\n```\n{\"type\": \"stem\", \"label\": \"<stem>\", \"url\": \"...\"}\n{\"type\": \"back\", \"label\": \"no_<stem>\", \"url\": \"...\"}\n```\n\n**Lead and backing vocals**\n\nFor the `vocals` stem, set `multivocal: \"lead_back\"` to get lead and backing vocals as separate tracks.\n`/check/` then returns 4 tracks. The backing vocals track is left out if the song has none.\n\n- `vocals@0` (`stem`): lead vocals.\n- `vocals@1` (`stem`): backing vocals.\n- `no_vocals` (`back`): instrumental.\n- `mix_no_lead` (`back`): instrumental with backing vocals.\n", "tags": ["Stem Separation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/StemSeparatorSplitParameters"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/split/demuser/": {"post": {"operationId": "split_split_demuser", "summary": "Clean voice from background music", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Task"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nSeparates a voice from background music, for example in a video or a podcast.\nYou get two files: the music, and the rest of the recording without it, usually the voice.\n\nFor speech with non-musical noise use `/split/voice_clean/`. For vocals in a song use `/split/stem_separator/`.\n\nThe only stem is `music`. With `splitter: auto` the request currently uses lyra, the model made for this stem.\n\n**Result**\n\n`/check/` returns 2 tracks:\n\n```\n{\"type\": \"stem\", \"label\": \"music\", \"url\": \"...\"}\n{\"type\": \"back\", \"label\": \"no_music\", \"url\": \"...\"}    the voice\n```\n", "tags": ["Stem Separation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/DemuserSplitParameters"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/split/voice_clean/": {"post": {"operationId": "split_split_voice_clean", "summary": "Clean voice from background noise", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Task"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nRemoves background noise from speech: crowd, traffic, office and other non-musical noise.\nYou get two files: the clean voice and the noise.\n\nFor singing in a song use `/split/stem_separator/` with the `vocals` stem. For speech over music use `/split/demuser/`.\n\nThe only supported stem is `voice`.\n\nThe specialized voice models are lynx and cepheus. The general-purpose models (andromeda, perseus, orion and phoenix) also support this stem.\n\nWith `splitter: auto`, lynx is currently selected.\n\ncepheus is a newer model for this stem. Its results can differ noticeably from lynx, so compare both models on your recordings before switching.\n\n**noise_cancelling_level** works differently depending on the splitter.\n\nlynx, andromeda and phoenix:\n\n- `0` Mild (default) and `1` Normal: preserve the original voice volume.\n- `2` Aggressive: compresses and normalizes the voice to make its quiet parts louder.\n\ncepheus, perseus and orion:\n\n- `0` Mild (default): preserves more voice detail, but may keep some background noise.\n- `1` Normal: removes noise more strictly, but some of the voice may go to the noise track.\n- `2` Aggressive: the same as `1`, plus compression and normalization of the voice.\n\n**Result**\n\n`/check/` returns 2 tracks:\n\n```\n{\"type\": \"stem\", \"label\": \"voice\", \"url\": \"...\"}\n{\"type\": \"back\", \"label\": \"no_voice\", \"url\": \"...\"}    the noise\n```\n", "tags": ["Stem Separation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/VoiceCleanSplitParameters"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/split/multistem/": {"post": {"operationId": "split_split_multistem", "summary": "Split a file into multiple stems in one request (multistem feature)", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Task"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nExtracts several stems from a song in one request, for example vocals, drums and bass.\n\nStems: `vocals`, `drum`, `bass`, `piano`, `electric_guitar`, `acoustic_guitar`.\n\nWith `splitter: auto` and two or more stems the request currently uses perseus. With one stem it uses the same model as `/split/stem_separator/`.\n`/split/stem_separator/` currently runs `vocals`, `drum`, `bass`, `piano`, `electric_guitar` and `acoustic_guitar` on the newer andromeda:\nif quality matters more than the number of requests, start it once per stem.\n\n**Time and price**\n\nStems are extracted one by one, so processing time grows with the number of stems.\nEach stem is charged separately: a 1-minute file with `stem_list: [\"vocals\", \"drum\"]` costs 2 minutes.\n\n**Result**\n\n`/check/` returns one track per stem and one track with the rest of the song. For `stem_list: [\"vocals\", \"drum\"]`:\n\n```\n{\"type\": \"stem\", \"label\": \"vocals\", \"url\": \"...\"}\n{\"type\": \"stem\", \"label\": \"drum\", \"url\": \"...\"}\n{\"type\": \"back\", \"label\": \"no_multistem\", \"url\": \"...\"}\n```\n", "tags": ["Stem Separation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/MultistemSplitParameters"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/split/batch/stem_separator/": {"post": {"operationId": "batch_split_split_batch_enhanced", "summary": "Split multiple files into stems using the stem separator presets", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchTasksResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nBatch version of `/split/stem_separator/`: starts up to 100 tasks in one request.\nEach item takes the same parameters as `/split/stem_separator/`.\n\nThe whole request is rejected if any item has invalid parameters.\nValid items are started independently: if one fails to start, the others still start.\n`results` keeps the order of `items`, and each result is either of:\n\n```\n{\"status\": \"success\", \"task_id\": \"...\", \"source_id\": \"...\"}\n{\"status\": \"error\", \"error\": \"...\", \"code\": \"...\", \"source_id\": \"...\"}\n```\n\nPoll the `task_id` values with `/check/`.\n", "tags": ["Batch Stem Separation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchStemSeparatorSplitParameters"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/split/batch/demuser/": {"post": {"operationId": "batch_split_split_batch_demuser", "summary": "Clean voice from background music for multiple files", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchTasksResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nBatch version of `/split/demuser/`: starts up to 100 tasks in one request.\nEach item takes the same parameters as `/split/demuser/`.\n\nThe whole request is rejected if any item has invalid parameters.\nValid items are started independently: if one fails to start, the others still start.\n`results` keeps the order of `items`, and each result is either of:\n\n```\n{\"status\": \"success\", \"task_id\": \"...\", \"source_id\": \"...\"}\n{\"status\": \"error\", \"error\": \"...\", \"code\": \"...\", \"source_id\": \"...\"}\n```\n\nPoll the `task_id` values with `/check/`.\n", "tags": ["Batch Stem Separation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchDemuserSplitParameters"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/split/batch/voice_clean/": {"post": {"operationId": "batch_split_split_batch_voice_clean", "summary": "Clean voice from background noise for multiple files", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchTasksResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nBatch version of `/split/voice_clean/`: starts up to 100 tasks in one request.\nEach item takes the same parameters as `/split/voice_clean/`.\n\nThe whole request is rejected if any item has invalid parameters.\nValid items are started independently: if one fails to start, the others still start.\n`results` keeps the order of `items`, and each result is either of:\n\n```\n{\"status\": \"success\", \"task_id\": \"...\", \"source_id\": \"...\"}\n{\"status\": \"error\", \"error\": \"...\", \"code\": \"...\", \"source_id\": \"...\"}\n```\n\nPoll the `task_id` values with `/check/`.\n", "tags": ["Batch Stem Separation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchVoiceCleanSplitParameters"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/change_voice/": {"post": {"operationId": "change_voice_change_voice", "summary": "Changes voice in the audio file using voice pack", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TaskResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "\nReplaces the voice in the file with the voice from a voice pack.\n\nFor `voice_pack_id`, use the `pack_id` of your own pack from `/voice_packs/list/`, or one of the ready-made packs: `ALEX_KAYE`, `STASIA_FAYE`, `NICOLAAS_HAAS`, `NIK_ZEL`, `OLIA_CHEBO`, `YVAR_DE_GROOT`, `VETRANA`.\n\n**Result**\n\n`/check/` returns 1 track:\n\n```\n{\"type\": \"back\", \"label\": \"converted_mix\", \"url\": \"...\"}\n```\n", "tags": ["Voice Change"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/VoiceChangeParameters"}}}, "required": true}, "security": [{"ApiKeyHeaderAuth": []}]}}, "/api/v1/voice_packs/list/": {"post": {"operationId": "voice_packs_list_packs", "summary": "Lists voice packs available to the user", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/VoicePackListResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"anyOf": [{"$ref": "#/components/schemas/ApiV1ErrorResponse"}, {"$ref": "#/components/schemas/CommonErrorResponse"}], "title": "Response"}}}}, "422": {"description": "Unprocessable Entity", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CommonErrorResponse"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InternalErrorResponse"}}}}}, "description": "Helps to find pack_id for /change_voice/ endpoint.", "tags": ["Voice Change"], "security": [{"ApiKeyHeaderAuth": []}]}}}, "components": {"schemas": {"UploadResponse": {"properties": {"id": {"description": "ID of the uploaded file.", "example": "e1fc1d8f-502e-4de0-bf3b-b30543d11c77", "title": "Id", "type": "string"}, "name": {"description": "Name of the uploaded file.", "example": "my_audio.mp3", "title": "Name", "type": "string"}, "size": {"description": "Size of the uploaded file in bytes.", "example": 12345678, "title": "Size", "type": "integer"}, "duration": {"description": "Duration of the uploaded media file in seconds.", "example": 180, "title": "Duration", "type": "integer"}, "expires": {"description": "File expiration time in Unix epoch format with UTC timezone.", "example": "1761217415", "title": "Expires", "type": "integer"}}, "required": ["id", "name", "size", "duration", "expires"], "title": "UploadResponse", "type": "object"}, "ApiV1ErrorResponse": {"properties": {"detail": {"description": "Error message.", "example": "Idempotency key has already been used.", "title": "Detail", "type": "string"}, "code": {"description": "Error code.", "example": "idempotency_key_used", "title": "Code", "type": "string"}}, "required": ["detail", "code"], "title": "ApiV1ErrorResponse", "type": "object"}, "CommonErrorResponse": {"properties": {"detail": {"anyOf": [{"type": "string"}, {"additionalProperties": true, "type": "object"}, {"items": {"additionalProperties": true, "type": "object"}, "type": "array"}], "description": "Error details", "example": {"detail": [{"loc": ["body", "split_input", "source_id"], "msg": "Field required", "type": "missing"}, {"loc": ["body", "split_input", "presets"], "msg": "Field required", "type": "missing"}]}, "title": "Detail"}}, "required": ["detail"], "title": "CommonErrorResponse", "type": "object"}, "InternalErrorResponse": {"properties": {"detail": {"description": "Something went wrong on our side. The failure is recorded in our logs; nothing about the request needs to be fixed.", "example": "Internal server error", "title": "Detail", "type": "string"}}, "required": ["detail"], "title": "InternalErrorResponse", "type": "object"}, "CheckV1CancelledResult": {"properties": {"source_id": {"description": "ID of the source file associated with the task", "examples": ["ecb6c2c5-6263-48b9-80c9-f54248e30892"], "title": "Source Id", "type": "string"}, "presets": {"discriminator": {"mapping": {"split": {"discriminator": {"mapping": {"demuser": "#/components/schemas/DemuserSplitterPresetsV1", "multistem": "#/components/schemas/MultistemSplitterPresetsV1", "stem_separator": "#/components/schemas/StemSeparatorSplitterPresetsV1", "voice_clean": "#/components/schemas/VoiceCleanPresetsV1"}, "propertyName": "label"}, "oneOf": [{"$ref": "#/components/schemas/DemuserSplitterPresetsV1"}, {"$ref": "#/components/schemas/VoiceCleanPresetsV1"}, {"$ref": "#/components/schemas/StemSeparatorSplitterPresetsV1"}, {"$ref": "#/components/schemas/MultistemSplitterPresetsV1"}]}, "voice_convert": "#/components/schemas/VoiceChangePresetsV1"}, "propertyName": "task_type"}, "oneOf": [{"$ref": "#/components/schemas/VoiceChangePresetsV1"}, {"discriminator": {"mapping": {"demuser": "#/components/schemas/DemuserSplitterPresetsV1", "multistem": "#/components/schemas/MultistemSplitterPresetsV1", "stem_separator": "#/components/schemas/StemSeparatorSplitterPresetsV1", "voice_clean": "#/components/schemas/VoiceCleanPresetsV1"}, "propertyName": "label"}, "oneOf": [{"$ref": "#/components/schemas/DemuserSplitterPresetsV1"}, {"$ref": "#/components/schemas/VoiceCleanPresetsV1"}, {"$ref": "#/components/schemas/StemSeparatorSplitterPresetsV1"}, {"$ref": "#/components/schemas/MultistemSplitterPresetsV1"}]}], "title": "Presets"}, "status": {"const": "cancelled", "default": "cancelled", "title": "Status", "type": "string"}}, "required": ["source_id", "presets"], "title": "CheckV1CancelledResult", "type": "object"}, "CheckV1ErrorResult": {"properties": {"source_id": {"description": "ID of the source file associated with the task", "examples": ["ecb6c2c5-6263-48b9-80c9-f54248e30892"], "title": "Source Id", "type": "string"}, "presets": {"discriminator": {"mapping": {"split": {"discriminator": {"mapping": {"demuser": "#/components/schemas/DemuserSplitterPresetsV1", "multistem": "#/components/schemas/MultistemSplitterPresetsV1", "stem_separator": "#/components/schemas/StemSeparatorSplitterPresetsV1", "voice_clean": "#/components/schemas/VoiceCleanPresetsV1"}, "propertyName": "label"}, "oneOf": [{"$ref": "#/components/schemas/DemuserSplitterPresetsV1"}, {"$ref": "#/components/schemas/VoiceCleanPresetsV1"}, {"$ref": "#/components/schemas/StemSeparatorSplitterPresetsV1"}, {"$ref": "#/components/schemas/MultistemSplitterPresetsV1"}]}, "voice_convert": "#/components/schemas/VoiceChangePresetsV1"}, "propertyName": "task_type"}, "oneOf": [{"$ref": "#/components/schemas/VoiceChangePresetsV1"}, {"discriminator": {"mapping": {"demuser": "#/components/schemas/DemuserSplitterPresetsV1", "multistem": "#/components/schemas/MultistemSplitterPresetsV1", "stem_separator": "#/components/schemas/StemSeparatorSplitterPresetsV1", "voice_clean": "#/components/schemas/VoiceCleanPresetsV1"}, "propertyName": "label"}, "oneOf": [{"$ref": "#/components/schemas/DemuserSplitterPresetsV1"}, {"$ref": "#/components/schemas/VoiceCleanPresetsV1"}, {"$ref": "#/components/schemas/StemSeparatorSplitterPresetsV1"}, {"$ref": "#/components/schemas/MultistemSplitterPresetsV1"}]}], "title": "Presets"}, "status": {"const": "error", "default": "error", "title": "Status", "type": "string"}, "error": {"$ref": "#/components/schemas/TaskMetaError"}}, "required": ["source_id", "presets", "error"], "title": "CheckV1ErrorResult", "type": "object"}, "CheckV1ProgressResult": {"properties": {"source_id": {"description": "ID of the source file associated with the task", "examples": ["ecb6c2c5-6263-48b9-80c9-f54248e30892"], "title": "Source Id", "type": "string"}, "presets": {"discriminator": {"mapping": {"split": {"discriminator": {"mapping": {"demuser": "#/components/schemas/DemuserSplitterPresetsV1", "multistem": "#/components/schemas/MultistemSplitterPresetsV1", "stem_separator": "#/components/schemas/StemSeparatorSplitterPresetsV1", "voice_clean": "#/components/schemas/VoiceCleanPresetsV1"}, "propertyName": "label"}, "oneOf": [{"$ref": "#/components/schemas/DemuserSplitterPresetsV1"}, {"$ref": "#/components/schemas/VoiceCleanPresetsV1"}, {"$ref": "#/components/schemas/StemSeparatorSplitterPresetsV1"}, {"$ref": "#/components/schemas/MultistemSplitterPresetsV1"}]}, "voice_convert": "#/components/schemas/VoiceChangePresetsV1"}, "propertyName": "task_type"}, "oneOf": [{"$ref": "#/components/schemas/VoiceChangePresetsV1"}, {"discriminator": {"mapping": {"demuser": "#/components/schemas/DemuserSplitterPresetsV1", "multistem": "#/components/schemas/MultistemSplitterPresetsV1", "stem_separator": "#/components/schemas/StemSeparatorSplitterPresetsV1", "voice_clean": "#/components/schemas/VoiceCleanPresetsV1"}, "propertyName": "label"}, "oneOf": [{"$ref": "#/components/schemas/DemuserSplitterPresetsV1"}, {"$ref": "#/components/schemas/VoiceCleanPresetsV1"}, {"$ref": "#/components/schemas/StemSeparatorSplitterPresetsV1"}, {"$ref": "#/components/schemas/MultistemSplitterPresetsV1"}]}], "title": "Presets"}, "status": {"const": "progress", "default": "progress", "title": "Status", "type": "string"}, "progress": {"description": "Progress percentage of the task, integer number. Zero progress means task is in queue.", "examples": [42], "maximum": 100, "minimum": 0, "title": "Progress", "type": "integer"}}, "required": ["source_id", "presets", "progress"], "title": "CheckV1ProgressResult", "type": "object"}, "CheckV1Response": {"properties": {"result": {"additionalProperties": {"discriminator": {"mapping": {"cancelled": "#/components/schemas/CheckV1CancelledResult", "error": "#/components/schemas/CheckV1ErrorResult", "progress": "#/components/schemas/CheckV1ProgressResult", "server_error": "#/components/schemas/ErrorResult", "success": "#/components/schemas/CheckV1SuccessResult"}, "propertyName": "status"}, "oneOf": [{"$ref": "#/components/schemas/CheckV1ProgressResult"}, {"$ref": "#/components/schemas/CheckV1ErrorResult"}, {"$ref": "#/components/schemas/CheckV1CancelledResult"}, {"$ref": "#/components/schemas/CheckV1SuccessResult"}, {"$ref": "#/components/schemas/ErrorResult"}]}, "description": "Mapping of task IDs to their respective status and details.", "example": {"2fe8f214-1771-4900-9e7e-570f823bd359": {"presets": {"dereverb_enabled": false, "encoder_format": null, "enhanced_processing_enabled": false, "label": "enhanced", "multivocal": null, "splitter": "perseus", "stem": "vocals", "task_type": "split"}, "result": {"duration": 16, "tracks": [{"label": "vocals", "type": "stem", "url": "http://d.lalal.ai/2fe8f214-1771-4900-9e7e-570f823bd359/abcd1234/vocals"}, {"label": "no_vocals", "type": "back", "url": "http://d.lalal.ai/2fe8f214-1771-4900-9e7e-570f823bd359/abcd1234/no_vocals"}]}, "source_id": "ecb6c2c5-6263-48b9-80c9-f54248e30892", "status": "success"}, "8cad7e3d-a5a3-4e79-9463-59cd4da16977": {"error": "['The file has not been uploaded properly or has already been deleted. Please upload it again.']", "status": "server_error"}, "cb443802-e5be-44c2-bdd8-cb1d343c7d25": {"presets": {"dereverb_enabled": false, "encoder_format": null, "enhanced_processing_enabled": false, "label": "enhanced", "multivocal": null, "splitter": "perseus", "stem": "vocals", "task_type": "split"}, "progress": 42, "source_id": "9dec9880-12ad-4a7e-89af-c50c9380ec14", "status": "progress"}, "f4978ff5-8e0b-4fdc-913a-e350eeb16d31": {"error": {"code": "inference_error", "detail": "Unable to detect voice/vocals in the uploaded files", "id": "<error_id>"}, "presets": {"dereverb_enabled": false, "encoder_format": null, "enhanced_processing_enabled": false, "label": "enhanced", "multivocal": null, "splitter": "perseus", "stem": "vocals", "task_type": "split"}, "source_id": "7ab9e030-c472-4281-8b08-108c3bd019bf", "status": "error"}}, "title": "Result", "type": "object"}}, "required": ["result"], "title": "CheckV1Response", "type": "object"}, "CheckV1SuccessResult": {"properties": {"source_id": {"description": "ID of the source file associated with the task", "examples": ["ecb6c2c5-6263-48b9-80c9-f54248e30892"], "title": "Source Id", "type": "string"}, "presets": {"discriminator": {"mapping": {"split": {"discriminator": {"mapping": {"demuser": "#/components/schemas/DemuserSplitterPresetsV1", "multistem": "#/components/schemas/MultistemSplitterPresetsV1", "stem_separator": "#/components/schemas/StemSeparatorSplitterPresetsV1", "voice_clean": "#/components/schemas/VoiceCleanPresetsV1"}, "propertyName": "label"}, "oneOf": [{"$ref": "#/components/schemas/DemuserSplitterPresetsV1"}, {"$ref": "#/components/schemas/VoiceCleanPresetsV1"}, {"$ref": "#/components/schemas/StemSeparatorSplitterPresetsV1"}, {"$ref": "#/components/schemas/MultistemSplitterPresetsV1"}]}, "voice_convert": "#/components/schemas/VoiceChangePresetsV1"}, "propertyName": "task_type"}, "oneOf": [{"$ref": "#/components/schemas/VoiceChangePresetsV1"}, {"discriminator": {"mapping": {"demuser": "#/components/schemas/DemuserSplitterPresetsV1", "multistem": "#/components/schemas/MultistemSplitterPresetsV1", "stem_separator": "#/components/schemas/StemSeparatorSplitterPresetsV1", "voice_clean": "#/components/schemas/VoiceCleanPresetsV1"}, "propertyName": "label"}, "oneOf": [{"$ref": "#/components/schemas/DemuserSplitterPresetsV1"}, {"$ref": "#/components/schemas/VoiceCleanPresetsV1"}, {"$ref": "#/components/schemas/StemSeparatorSplitterPresetsV1"}, {"$ref": "#/components/schemas/MultistemSplitterPresetsV1"}]}], "title": "Presets"}, "status": {"const": "success", "default": "success", "title": "Status", "type": "string"}, "result": {"$ref": "#/components/schemas/SplitTracksResult"}}, "required": ["source_id", "presets", "result"], "title": "CheckV1SuccessResult", "type": "object"}, "DemuserSplitterPresetsV1": {"properties": {"splitter": {"allOf": [{"$ref": "#/components/schemas/SplitterType"}], "default": "auto", "description": "\nSplitter model to use. 'auto' selects the latest available model for the selected stems.\nKeep 'auto' unless you have tested another model on your audio: it switches to new models as they are released.\nException: for the 'voice' stem 'auto' currently stays on lynx; cepheus, a newer model for 'voice', is available by name only.\n'auto' is not listed in the SplitterType enum, but the API accepts it: send it explicitly or omit the field.\n\nMain model series, from oldest to newest: phoenix (v3) \u2192 orion (v4) \u2192 perseus (v5) \u2192 andromeda (v6).\nNewer models give better separation quality: for vocals, andromeda is better than perseus.\nOlder models sometimes work better on certain recordings: for example, orion can give better results\non noisy vintage recordings. Test with your own audio.\n\nlynx (v7) is a specialized lightweight model for the 'voice' stem, outside this series despite its higher version number.\ncepheus is another specialized model for the 'voice' stem.\nIts results can differ noticeably from lynx: compare both models on your recordings before switching.\nlyra is a separate model for the 'music' stem.\n"}, "dereverb_enabled": {"default": false, "description": "\nEnabling dereverb removes echo from the audio for clarity, which may slightly alter the voice.\n\nDisabling dereverb preserves the natural echo of the recording for authenticity.\nOnly for {'vocals', 'voice'} stems.", "title": "Dereverb Enabled", "type": "boolean"}, "encoder_format": {"anyOf": [{"$ref": "#/components/schemas/EncoderFormat"}, {"type": "null"}], "default": null, "description": "Format for output audio. If None - convert to source file format."}, "stem": {"const": "music", "description": "Stem to extract. Only 'music' stem is supported.", "example": "music", "title": "Stem", "type": "string"}}, "required": ["stem"], "title": "DemuserSplitterPresetsV1", "type": "object"}, "EncoderFormat": {"enum": ["mp3", "wav", "flac", "aac", "ogg"], "title": "EncoderFormat", "type": "string"}, "ErrorResult": {"properties": {"status": {"const": "server_error", "default": "server_error", "title": "Status", "type": "string"}, "error": {"description": "Error message describing why the cancellation failed", "examples": ["Permission denied", "Task is not in progress state", "Failed to extract information about task"], "title": "Error", "type": "string"}}, "required": ["error"], "title": "ErrorResult", "type": "object"}, "ExtractionLevel": {"enum": ["deep_extraction", "clear_cut"], "title": "ExtractionLevel", "type": "string"}, "FilteringLevel": {"enum": [0, 1, 2], "title": "FilteringLevel", "type": "integer"}, "MultistemSplitterPresetsV1": {"properties": {"splitter": {"allOf": [{"$ref": "#/components/schemas/SplitterType"}], "default": "auto", "description": "\nSplitter model to use. 'auto' selects the latest available model for the selected stems.\nKeep 'auto' unless you have tested another model on your audio: it switches to new models as they are released.\nException: for the 'voice' stem 'auto' currently stays on lynx; cepheus, a newer model for 'voice', is available by name only.\n'auto' is not listed in the SplitterType enum, but the API accepts it: send it explicitly or omit the field.\n\nMain model series, from oldest to newest: phoenix (v3) \u2192 orion (v4) \u2192 perseus (v5) \u2192 andromeda (v6).\nNewer models give better separation quality: for vocals, andromeda is better than perseus.\nOlder models sometimes work better on certain recordings: for example, orion can give better results\non noisy vintage recordings. Test with your own audio.\n\nlynx (v7) is a specialized lightweight model for the 'voice' stem, outside this series despite its higher version number.\ncepheus is another specialized model for the 'voice' stem.\nIts results can differ noticeably from lynx: compare both models on your recordings before switching.\nlyra is a separate model for the 'music' stem.\n"}, "dereverb_enabled": {"default": false, "description": "\nEnabling dereverb removes echo from the audio for clarity, which may slightly alter the voice.\n\nDisabling dereverb preserves the natural echo of the recording for authenticity.\nOnly for {'vocals', 'voice'} stems.", "title": "Dereverb Enabled", "type": "boolean"}, "encoder_format": {"anyOf": [{"$ref": "#/components/schemas/EncoderFormat"}, {"type": "null"}], "default": null, "description": "Format for output audio. If None - convert to source file format."}, "stem_list": {"description": "List of stems to extract. Any subset of supported stems is possible.", "example": ["vocals", "drum", "piano", "bass", "electric_guitar", "acoustic_guitar"], "items": {"enum": ["vocals", "drum", "piano", "bass", "electric_guitar", "acoustic_guitar"], "type": "string"}, "maxItems": 6, "minItems": 1, "title": "Stem List", "type": "array"}, "extraction_level": {"allOf": [{"$ref": "#/components/schemas/ExtractionLevel"}], "default": "deep_extraction", "description": "\nClear Cut: minimizes cross-bleeding between stems, resulting in a cleaner output, but may suppress finer details.\n\nDeep Extraction: captures more intricate details but increases the risk of cross-bleeding, which may lead to some overlap between stems.\n\nAndromeda splitter is not affected by this parameter and has its own fixed extraction behavior.\n"}}, "required": ["stem_list"], "title": "MultistemSplitterPresetsV1", "type": "object"}, "SplitTrack": {"properties": {"type": {"$ref": "#/components/schemas/SplitTrackType"}, "label": {"title": "Label", "type": "string"}, "url": {"title": "Url", "type": "string"}, "playlist_file": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Playlist File"}, "name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Name"}, "size": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Size"}, "waveform": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Waveform"}}, "required": ["type", "label", "url"], "title": "SplitTrack", "type": "object"}, "SplitTrackType": {"enum": ["stem", "back"], "title": "SplitTrackType", "type": "string"}, "SplitTracksResult": {"properties": {"tracks": {"items": {"$ref": "#/components/schemas/SplitTrack"}, "title": "Tracks", "type": "array"}, "duration": {"title": "Duration", "type": "integer"}}, "required": ["tracks", "duration"], "title": "SplitTracksResult", "type": "object"}, "SplitterType": {"enum": ["andromeda", "perseus", "orion", "phoenix", "lyra", "lynx", "cepheus"], "title": "SplitterType", "type": "string"}, "StemSeparatorSplitterPresetsV1": {"properties": {"splitter": {"allOf": [{"$ref": "#/components/schemas/SplitterType"}], "default": "auto", "description": "\nSplitter model to use. 'auto' selects the latest available model for the selected stems.\nKeep 'auto' unless you have tested another model on your audio: it switches to new models as they are released.\nException: for the 'voice' stem 'auto' currently stays on lynx; cepheus, a newer model for 'voice', is available by name only.\n'auto' is not listed in the SplitterType enum, but the API accepts it: send it explicitly or omit the field.\n\nMain model series, from oldest to newest: phoenix (v3) \u2192 orion (v4) \u2192 perseus (v5) \u2192 andromeda (v6).\nNewer models give better separation quality: for vocals, andromeda is better than perseus.\nOlder models sometimes work better on certain recordings: for example, orion can give better results\non noisy vintage recordings. Test with your own audio.\n\nlynx (v7) is a specialized lightweight model for the 'voice' stem, outside this series despite its higher version number.\ncepheus is another specialized model for the 'voice' stem.\nIts results can differ noticeably from lynx: compare both models on your recordings before switching.\nlyra is a separate model for the 'music' stem.\n"}, "dereverb_enabled": {"default": false, "description": "\nEnabling dereverb removes echo from the audio for clarity, which may slightly alter the voice.\n\nDisabling dereverb preserves the natural echo of the recording for authenticity.\nOnly for {'vocals', 'voice'} stems.", "title": "Dereverb Enabled", "type": "boolean"}, "encoder_format": {"anyOf": [{"$ref": "#/components/schemas/EncoderFormat"}, {"type": "null"}], "default": null, "description": "Format for output audio. If None - convert to source file format."}, "stem": {"description": "\nStem to extract.\n\n'vocals' extracts vocals from music, typically songs. To extract speech from non-musical noise, use /split/voice_clean/.\n\nChoose the stem that best matches your task: 'guitar' extracts all guitars into one track,\n'electric_guitar' and 'acoustic_guitar' extract only one kind of guitar.\n\n'guitar' is available only with andromeda. 'synthesizer', 'strings', and 'wind' are available only with phoenix.\n", "enum": ["vocals", "drum", "piano", "bass", "guitar", "electric_guitar", "acoustic_guitar", "synthesizer", "strings", "wind"], "example": "vocals", "title": "Stem", "type": "string"}, "multivocal": {"anyOf": [{"const": "lead_back", "type": "string"}, {"type": "null"}], "default": null, "description": "Use parameter 'lead_back' and receive both lead and backing vocals as separate stems vocals@0 and vocals@1", "title": "Multivocal"}, "extraction_level": {"allOf": [{"$ref": "#/components/schemas/ExtractionLevel"}], "default": "deep_extraction", "description": "\nClear Cut: minimizes cross-bleeding between stems, resulting in a cleaner output, but may suppress finer details.\n\nDeep Extraction: captures more intricate details but increases the risk of cross-bleeding, which may lead to some overlap between stems.\n\nAndromeda splitter is not affected by this parameter and has its own fixed extraction behavior.\n"}}, "required": ["stem"], "title": "StemSeparatorSplitterPresetsV1", "type": "object"}, "TaskMetaError": {"properties": {"detail": {"title": "Detail", "type": "string"}, "code": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Code"}, "id": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Id"}}, "required": ["detail"], "title": "TaskMetaError", "type": "object"}, "TonalityReference": {"enum": ["source_file", "voice_pack"], "title": "TonalityReference", "type": "string"}, "VoiceChangePresetsV1": {"properties": {"voice_pack_id": {"description": "\nID of the voice pack to be used for voice conversion.\n\nCould be one of the legal packs, provided by us.\n\nCould be a custom voice pack from voice cloner, trained by the user(see /voice_packs/list/).\n\n", "examples": ["<user_private_pack_uuid4>", "ALEX_KAYE", "STASIA_FAYE", "NICOLAAS_HAAS", "NIK_ZEL", "OLIA_CHEBO", "YVAR_DE_GROOT", "VETRANA"], "title": "Voice Pack Id", "type": "string"}, "accent": {"default": 1.0, "description": "\nFloat value, changing intensity in range from 0.0 to 1.0\n\n0.0 preserves the source file accent and 1.0 applies the voice pack accent.\n", "example": 0.33, "maximum": 1.0, "minimum": 0.0, "title": "Accent", "type": "number"}, "tonality_reference": {"allOf": [{"$ref": "#/components/schemas/TonalityReference"}], "default": "source_file", "description": "Tonality reference for voice conversion."}, "dereverb_enabled": {"default": false, "description": "\nEnabling dereverb removes echo from the audio for clarity, which may slightly alter the voice.\n\nDisabling dereverb preserves the natural echo of the recording for authenticity.\n", "title": "Dereverb Enabled", "type": "boolean"}, "encoder_format": {"anyOf": [{"$ref": "#/components/schemas/EncoderFormat"}, {"type": "null"}], "default": null, "description": "Format for output audio. If None - convert to source file format."}}, "required": ["voice_pack_id"], "title": "VoiceChangePresetsV1", "type": "object"}, "VoiceCleanPresetsV1": {"properties": {"splitter": {"allOf": [{"$ref": "#/components/schemas/SplitterType"}], "default": "auto", "description": "\nSplitter model to use. 'auto' selects the latest available model for the selected stems.\nKeep 'auto' unless you have tested another model on your audio: it switches to new models as they are released.\nException: for the 'voice' stem 'auto' currently stays on lynx; cepheus, a newer model for 'voice', is available by name only.\n'auto' is not listed in the SplitterType enum, but the API accepts it: send it explicitly or omit the field.\n\nMain model series, from oldest to newest: phoenix (v3) \u2192 orion (v4) \u2192 perseus (v5) \u2192 andromeda (v6).\nNewer models give better separation quality: for vocals, andromeda is better than perseus.\nOlder models sometimes work better on certain recordings: for example, orion can give better results\non noisy vintage recordings. Test with your own audio.\n\nlynx (v7) is a specialized lightweight model for the 'voice' stem, outside this series despite its higher version number.\ncepheus is another specialized model for the 'voice' stem.\nIts results can differ noticeably from lynx: compare both models on your recordings before switching.\nlyra is a separate model for the 'music' stem.\n"}, "dereverb_enabled": {"default": false, "description": "\nEnabling dereverb removes echo from the audio for clarity, which may slightly alter the voice.\n\nDisabling dereverb preserves the natural echo of the recording for authenticity.\nOnly for {'vocals', 'voice'} stems.", "title": "Dereverb Enabled", "type": "boolean"}, "encoder_format": {"anyOf": [{"$ref": "#/components/schemas/EncoderFormat"}, {"type": "null"}], "default": null, "description": "Format for output audio. If None - convert to source file format."}, "stem": {"const": "voice", "description": "Stem to extract. Only 'voice' stem is supported.", "example": "voice", "title": "Stem", "type": "string"}, "noise_cancelling_level": {"allOf": [{"$ref": "#/components/schemas/FilteringLevel"}], "default": 0, "description": "\nWorks differently depending on the splitter.\n\nlynx, andromeda and phoenix: 0 (Mild) and 1 (Normal) preserve the original voice volume;\n2 (Aggressive) compresses and normalizes the voice to make its quiet parts louder.\n\ncepheus, perseus and orion: 0 (Mild) preserves more voice detail, but may keep some background noise;\n1 (Normal) removes noise more strictly, but some of the voice may go to the noise track;\n2 (Aggressive) is the same as 1, plus compression and normalization of the voice.\n"}}, "required": ["stem"], "title": "VoiceCleanPresetsV1", "type": "object"}, "CheckV1Request": {"properties": {"task_ids": {"examples": [["2fe8f214-1771-4900-9e7e-570f823bd359", "8cad7e3d-a5a3-4e79-9463-59cd4da16977", "cb443802-e5be-44c2-bdd8-cb1d343c7d25", "f4978ff5-8e0b-4fdc-913a-e350eeb16d31"]], "items": {"format": "uuid4", "type": "string"}, "maxItems": 200, "title": "Task Ids", "type": "array"}}, "required": ["task_ids"], "title": "CheckV1Request", "type": "object"}, "CancelResponse": {"properties": {"result": {"additionalProperties": {"discriminator": {"mapping": {"server_error": "#/components/schemas/ErrorResult", "success": "#/components/schemas/CancelSuccess"}, "propertyName": "status"}, "oneOf": [{"$ref": "#/components/schemas/CancelSuccess"}, {"$ref": "#/components/schemas/ErrorResult"}]}, "examples": [{"550e8400-e29b-41d4-a716-446655440000": {"status": "success"}, "6ba7b810-9dad-11d1-80b4-00c04fd430c8": {"error": "Task is not in progress state", "status": "server_error"}}], "title": "Result", "type": "object"}}, "required": ["result"], "title": "CancelResponse", "type": "object"}, "CancelSuccess": {"properties": {"status": {"const": "success", "default": "success", "title": "Status", "type": "string"}}, "title": "CancelSuccess", "type": "object"}, "CancelRequest": {"properties": {"task_ids": {"examples": [["550e8400-e29b-41d4-a716-446655440000", "6ba7b810-9dad-11d1-80b4-00c04fd430c8"]], "items": {"format": "uuid4", "type": "string"}, "title": "Task Ids", "type": "array"}}, "required": ["task_ids"], "title": "CancelRequest", "type": "object"}, "SuccessResponse": {"properties": {}, "title": "SuccessResponse", "type": "object"}, "DeleteParameters": {"properties": {"source_id": {"description": "ID of the source file.", "example": "550e8400-e29b-41d4-a716-446655440000", "format": "uuid4", "title": "Source Id", "type": "string"}}, "required": ["source_id"], "title": "DeleteParameters", "type": "object"}, "LimitsResponse": {"properties": {"minutes_left": {"description": "Number of processing minutes available to consume.", "example": 1234.5, "title": "Minutes Left", "type": "number"}}, "required": ["minutes_left"], "title": "LimitsResponse", "type": "object"}, "Task": {"properties": {"task_id": {"description": "ID of the created split task.", "example": "e1fc1d8f-502e-4de0-bf3b-b30543d11c77", "title": "Task Id", "type": "string"}}, "required": ["task_id"], "title": "Task", "type": "object"}, "StemSeparatorSplitParameters": {"properties": {"source_id": {"description": "ID of the source file to be processed.", "example": "2fe8f214-1771-4900-9e7e-570f823bd359", "format": "uuid4", "title": "Source Id", "type": "string"}, "presets": {"$ref": "#/components/schemas/StemSeparatorSplitterPresetsV1"}, "idempotency_key": {"anyOf": [{"format": "uuid4", "type": "string"}, {"type": "null"}], "default": null, "description": "\nUnique uuid4 key to ensure idempotent requests.\n\nPrevents duplicate task execution with the same parameters.\n\nCan be reused until the task starts. Once processing begins, reusing this key will return an error.\n", "title": "Idempotency Key"}}, "required": ["source_id", "presets"], "title": "StemSeparatorSplitParameters", "type": "object"}, "DemuserSplitParameters": {"properties": {"source_id": {"description": "ID of the source file to be processed.", "example": "2fe8f214-1771-4900-9e7e-570f823bd359", "format": "uuid4", "title": "Source Id", "type": "string"}, "presets": {"$ref": "#/components/schemas/DemuserSplitterPresetsV1"}, "idempotency_key": {"anyOf": [{"format": "uuid4", "type": "string"}, {"type": "null"}], "default": null, "description": "\nUnique uuid4 key to ensure idempotent requests.\n\nPrevents duplicate task execution with the same parameters.\n\nCan be reused until the task starts. Once processing begins, reusing this key will return an error.\n", "title": "Idempotency Key"}}, "required": ["source_id", "presets"], "title": "DemuserSplitParameters", "type": "object"}, "VoiceCleanSplitParameters": {"properties": {"source_id": {"description": "ID of the source file to be processed.", "example": "2fe8f214-1771-4900-9e7e-570f823bd359", "format": "uuid4", "title": "Source Id", "type": "string"}, "presets": {"$ref": "#/components/schemas/VoiceCleanPresetsV1"}, "idempotency_key": {"anyOf": [{"format": "uuid4", "type": "string"}, {"type": "null"}], "default": null, "description": "\nUnique uuid4 key to ensure idempotent requests.\n\nPrevents duplicate task execution with the same parameters.\n\nCan be reused until the task starts. Once processing begins, reusing this key will return an error.\n", "title": "Idempotency Key"}}, "required": ["source_id", "presets"], "title": "VoiceCleanSplitParameters", "type": "object"}, "MultistemSplitParameters": {"properties": {"source_id": {"description": "ID of the source file to be processed.", "example": "2fe8f214-1771-4900-9e7e-570f823bd359", "format": "uuid4", "title": "Source Id", "type": "string"}, "presets": {"$ref": "#/components/schemas/MultistemSplitterPresetsV1"}, "idempotency_key": {"anyOf": [{"format": "uuid4", "type": "string"}, {"type": "null"}], "default": null, "description": "\nUnique uuid4 key to ensure idempotent requests.\n\nPrevents duplicate task execution with the same parameters.\n\nCan be reused until the task starts. Once processing begins, reusing this key will return an error.\n", "title": "Idempotency Key"}}, "required": ["source_id", "presets"], "title": "MultistemSplitParameters", "type": "object"}, "BatchTasksResponse": {"properties": {"results": {"description": "List of task start results in the same order as input parameters.", "items": {"discriminator": {"mapping": {"error": "#/components/schemas/FailedTaskStart", "success": "#/components/schemas/SuccessfulTaskStart"}, "propertyName": "status"}, "oneOf": [{"$ref": "#/components/schemas/SuccessfulTaskStart"}, {"$ref": "#/components/schemas/FailedTaskStart"}]}, "title": "Results", "type": "array"}}, "required": ["results"], "title": "BatchTasksResponse", "type": "object"}, "FailedTaskStart": {"properties": {"status": {"const": "error", "default": "error", "title": "Status", "type": "string"}, "error": {"description": "Error message describing why the task failed to start.", "example": "Idempotency key has already been used.", "title": "Error", "type": "string"}, "code": {"anyOf": [{"$ref": "#/components/schemas/TaskStartErrorCodes"}, {"$ref": "#/components/schemas/LicenseErrorCodes"}], "description": "Error code.", "example": "idempotency_key_used", "title": "Code"}, "source_id": {"description": "Source file ID.", "example": "a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6", "title": "Source Id", "type": "string"}}, "required": ["error", "code", "source_id"], "title": "FailedTaskStart", "type": "object"}, "LicenseErrorCodes": {"enum": ["exceeded_duration", "batch_not_avaliable", "max_duration", "exceeded_size"], "title": "LicenseErrorCodes", "type": "string"}, "SuccessfulTaskStart": {"properties": {"status": {"const": "success", "default": "success", "title": "Status", "type": "string"}, "task_id": {"description": "ID of the created split task.", "example": "e1fc1d8f-502e-4de0-bf3b-b30543d11c77", "title": "Task Id", "type": "string"}, "source_id": {"description": "Source file ID.", "example": "a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6", "title": "Source Id", "type": "string"}}, "required": ["task_id", "source_id"], "title": "SuccessfulTaskStart", "type": "object"}, "TaskStartErrorCodes": {"enum": ["idempotency_key_used", "internal_error"], "title": "TaskStartErrorCodes", "type": "string"}, "BatchStemSeparatorSplitParameters": {"properties": {"items": {"description": "List of split parameters to process.", "items": {"$ref": "#/components/schemas/StemSeparatorSplitParameters"}, "maxItems": 100, "minItems": 1, "title": "Items", "type": "array"}}, "required": ["items"], "title": "BatchStemSeparatorSplitParameters", "type": "object"}, "BatchDemuserSplitParameters": {"properties": {"items": {"description": "List of split parameters to process.", "items": {"$ref": "#/components/schemas/DemuserSplitParameters"}, "maxItems": 100, "minItems": 1, "title": "Items", "type": "array"}}, "required": ["items"], "title": "BatchDemuserSplitParameters", "type": "object"}, "BatchVoiceCleanSplitParameters": {"properties": {"items": {"description": "List of split parameters to process.", "items": {"$ref": "#/components/schemas/VoiceCleanSplitParameters"}, "maxItems": 100, "minItems": 1, "title": "Items", "type": "array"}}, "required": ["items"], "title": "BatchVoiceCleanSplitParameters", "type": "object"}, "TaskResponse": {"properties": {"task_id": {"description": "ID of the created task.", "example": "e1fc1d8f-502e-4de0-bf3b-b30543d11c77", "title": "Task Id", "type": "string"}}, "required": ["task_id"], "title": "TaskResponse", "type": "object"}, "VoiceChangeParameters": {"properties": {"source_id": {"description": "ID of the source file to be processed.", "example": "2fe8f214-1771-4900-9e7e-570f823bd359", "format": "uuid4", "title": "Source Id", "type": "string"}, "presets": {"$ref": "#/components/schemas/VoiceChangePresetsV1", "description": "Presets for converting the source file."}, "idempotency_key": {"anyOf": [{"format": "uuid4", "type": "string"}, {"type": "null"}], "default": null, "description": "\nUnique uuid4 key to ensure idempotent requests.\n\nPrevents duplicate task execution with the same parameters.\n\nCan be reused until the task starts. Once processing begins, reusing this key will return an error.\n", "title": "Idempotency Key"}}, "required": ["source_id", "presets"], "title": "VoiceChangeParameters", "type": "object"}, "VoicePackInfo": {"properties": {"name": {"description": "Name of the voice pack.", "example": "Professional Narrator Voice Pack", "title": "Name", "type": "string"}, "pack_id": {"description": "ID of the voice pack.", "example": "f5dc9452-9374-4418-9288-02825bbd0016", "title": "Pack Id", "type": "string"}, "created": {"description": "Creation timestamp of the voice pack.", "example": 1672531199, "title": "Created", "type": "integer"}}, "required": ["name", "pack_id", "created"], "title": "VoicePackInfo", "type": "object"}, "VoicePackListResponse": {"properties": {"packs": {"description": "List of voice packs available to the user.", "items": {"$ref": "#/components/schemas/VoicePackInfo"}, "title": "Packs", "type": "array"}}, "required": ["packs"], "title": "VoicePackListResponse", "type": "object"}}, "securitySchemes": {"ApiKeyHeaderAuth": {"type": "apiKey", "in": "header", "name": "X-License-Key"}}}, "servers": [], "tags": [{"name": "Common", "description": "\nEndpoints every task uses: upload a file, follow its tasks, get the results, clean up.\n\n- One `source_id` from `/upload/` can start several tasks, for example vocals and drums from the same song.\n- Poll all your tasks with one `/check/` request: it takes up to 200 `task_ids` and allows 30 requests per minute.\n- A task stays in `/check/` for 24 hours after it finishes.\n- `/cancel/all/` and `/delete/` cancel only the tasks started with the same license key as the request.\n"}, {"name": "Stem Separation", "description": "\nSplits audio into parts, called stems: vocals, drums, bass, a voice and its background noise, and so on.\nEvery request sets two things: what to extract \u2014 `stem`, or `stem_list` in `/split/multistem/` \u2014 and `splitter`, which model extracts it.\n\n**1. Pick the endpoint by what is in your audio**\n\n| Your audio | Endpoint |\n|---|---|\n| A song: extract the vocals or one instrument | `/split/stem_separator/` |\n| A song: extract several instruments in one request | `/split/multistem/` |\n| Speech with background noise: crowd, traffic, office | `/split/voice_clean/` |\n| Speech with background music | `/split/demuser/` |\n\nThe `vocals` stem of `/split/stem_separator/` and `/split/voice_clean/` both extract a human voice, but from different audio.\n`vocals` is made for singing in music, usually songs. `/split/voice_clean/` is made for speech among non-musical noise.\nDo not send speech recordings to `vocals`.\n\n**2. Pick the stem that matches your task most precisely**\n\nTo extract all guitars into one track, use `guitar`. To get only one kind of guitar, use `electric_guitar` or `acoustic_guitar`.\nThe stems of each endpoint are listed in its description.\n\n**3. Leave `splitter` as `auto`**\n\n`auto` picks the newest model available for the stem, and newer models separate better: for vocals, andromeda is better than perseus.\nWe release new models regularly. With `auto` your integration gets each new model the day it is released, with no change on your side.\nA splitter set by name stays on that model until you update your code, and your results fall behind.\n\nException: for the `voice` stem `auto` currently stays on lynx. cepheus, a newer model for `voice`, is available by name only: set `\"splitter\": \"cepheus\"` to compare it with lynx on your recordings.\n\nSend `\"splitter\": \"auto\"` explicitly or omit the field: the API accepts `auto`, though the `SplitterType` enum in the OpenAPI schema does not list it.\n\nModels from oldest to newest: phoenix (2022) \u2192 orion (2023) \u2192 perseus (2024) \u2192 andromeda (2025).\nlynx, cepheus and lyra are not in this series: lynx and cepheus are separate models for the `voice` stem, lyra for the `music` stem.\n\n**4. Test on your own audio**\n\nOn some material an older model works better, for example on noisy vintage recordings. It is rare, but it happens.\nIf the result is not good enough, try another `splitter` on a few of your files.\n"}, {"name": "Batch Stem Separation", "description": "\nStarts up to 100 tasks in one request, for example the same stem from 100 songs.\n\n- Choose the endpoint, stem and splitter as for a single file: see [Stem Separation](#tag/stem-separation).\n- Each started item becomes an ordinary task with its own `task_id` and is charged like a single start. There is no batch ID and no archive.\n- Poll the returned `task_id` values with `/check/`.\n- There is no batch version of `/split/multistem/`.\n"}, {"name": "Voice Change", "description": "\nReplaces the voice in a recording with another voice from a voice pack.\n\n1. Upload the file with `/upload/`.\n2. Pick a voice pack: one of the ready-made packs listed in `/change_voice/`, or your own pack from `/voice_packs/list/`.\n3. Start `/change_voice/` and poll `/check/` for the result.\n"}]}