Mureka Stem Separation
mureka/song/stemMureka Stem Separation splits a song into separate vocal and instrument stems and returns them as a ZIP archive, with MIDI stems on supported separation models.
- Base price
- $0.20USD / run
- Execution
- async
- Model type
- audio
- Input fields
- 2
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.20 / run
Context & modalities
- Input
- Schema-defined
- Output
- audio
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- Mureka
- Model ID
- mureka/song/stem
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Mureka Stem Separation
Mureka Stem Separation splits an MP3 or M4A song (up to 10 MB) into stems; the available stems and MIDI output depend on stem_model.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
audio | audio file or URL, required | — | MP3 or M4A, up to 10 MB. |
stem_model | audio-separation-1 / audio-separation-2 / audio-separation-3 | audio-separation-3 | Decides stems, MIDI output and price. |
Output
url: ZIP archive of the separated audio stems.midi_url: ZIP archive of MIDI stems, when available.
Billing
Charged per separated song; the price depends on stem_model.
| Stem model | Price |
|---|---|
audio-separation-1 | $0.09 |
audio-separation-3 (default) | $0.20 |
audio-separation-2 | $1.05 |
Failed runs are not charged.
Also on SandBase
Related: mureka/8/track.
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "mureka/song/stem",
"stem_model": "audio-separation-3"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Input Schema
2 parameters · 1 required · 1 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
audio | string | Required | MP3 or M4A song file or URL to separate, up to 10 MB. |
stem_model | string | Optional | Separation model. It decides the available stems, MIDI output and price. · Options: audio-separation-1, audio-separation-2, audio-separation-3 · Default: "audio-separation-3" audio-separation-1audio-separation-2audio-separation-3 |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model runs asynchronously. Submit a request, then poll for the result.
- Submit: POST to /v1/run and read the returned
id. - Poll: GET /v1/run/{id} until status is
completed,failedortimeout. - Retrieve: read
outputsfrom the completed response.
Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
Mureka Stem SeparationThis model Mureka | Audio | $0.20 / run | Oct 30, 2026 |
Mureka | Audio | $0.75 / run | Oct 30, 2026 |
Mureka | Audio | $0.50 / run | Oct 30, 2026 |
Mureka | Audio | $0.10 / run | Oct 30, 2026 |
Mureka | Audio | $0.23 / run | Oct 30, 2026 |
Mureka | Audio | $0.10 / run | Oct 30, 2026 |
Questions
FAQ
How do I call Mureka Stem Separation through SandBase?
Create a SandBase API key, then send requests with the model ID "mureka/song/stem" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.
Do I need a separate Mureka account?
No. One SandBase API key and balance gives you access to Mureka Stem Separation and the other models in the catalog; you do not need to sign up with Mureka separately.
