Separate audio into stems
Changed onCreates an asynchronous stem separation task (beatra-stems-v1 or auto, up to 10 minutes and 100 MiB). mode="two_stem" outputs vocals and accompaniment; mode="multi_stem" outputs vocals, drums, bass, guitar, piano, and other. Charged per task according to mode. When the task succeeds, output contains {operation: "separate_stems", mode, outputs: [{role, artifact_id, url, mime_type, duration_ms, size_bytes}]}.
Request
- Base URLhttps://api.beatra.ai (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: Idempotency-Key
Headers
Request body
POST /v1/audio/stems request body.
Caller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars
HTTPS URL beatra will POST the final Task envelope to when the Task reaches a terminal state
Optional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.
Source audio (artifact_id or HTTPS url). Accepts source or audio.
Stem separation model identifier, or 'auto' for automatic selection.
Stem separation mode (two_stem for vocals + instrumental, multi_stem for up to 6 stems).
Response
Task accepted
Standard Task envelope.
Returned by every async-creation endpoint, GET /v1/tasks/{id}, and the body of customer callback POSTs.
Caller-requested model verbatim (may be 'auto'). Null for social_operation tasks.
Actual model that ran (null until execution starts; equals model for explicit-model calls)
Changes
- info
endpoint added
- info