by Mureka

Split a song into five WAV stems: vocals, instrumental, drums, bass and other

mureka/stem-separation/audio-separation
Mureka Stem Separation AI Image Generator online
  • Stem Splitter

About Mureka Stem Separation

Mureka Stem Separation takes a single input, audio_url, pointing to an MP3 or M4A song of up to 10 minutes, and finishes as an async job with five WAV assets: vocals, instrumental, drums, bass and other. There are no modes or prompts. It suits karaoke builders, remix tools, lyric transcription pipelines that need a clean vocal, and any editor that wants to mute or duck one part of a mix.

Call it with the model name mureka/stem-separation/audio-separation on POST /jobs/createTask, from $0.108.

Introduction

Mureka Stem Separation is the stem splitter from Mureka, the AI music company. Give it a finished, mixed song and it hands back the parts: the lead and backing vocals on one track, the full accompaniment on another, and that accompaniment broken down again into drums, bass and everything else.

Request

{
 "audio_url": "https://example.com/song.mp3"
}

The song must be an MP3 or M4A file.

What comes back

The task returns five audio assets, one per stem, each with a stem field:

stemcontents
vocalslead and backing voices
instrumentaleverything except the voices
drumspercussion from the instrumental
bassbass line from the instrumental
otherthe rest of the instrumental: guitars, keys, pads, effects

Every stem is a 16-bit, 44.1 kHz stereo WAV at exactly the length of the song, so all five line up from the first sample in any editor.

What we saw in testing

We split a 60-second bossa nova duet and a 30-second excerpt of the same song. Both finished in about ten seconds or less. Drums, bass and other summed back to the instrumental sample for sample. In the instrumental-only passages the vocal stem stayed close to silent, about 55 dB below the singing parts, so little of the band leaked into it. Each 60-second WAV was about 10.6 MB.

Tips

  • Start from the best copy you have; a heavily compressed MP3 carries its artefacts into every stem.
  • Stems are uncompressed, so a three-minute song comes back as roughly 160 MB of audio in total.

Request parameters

ParameterRequiredDescription
audio_urlYesThe voice or music track to use.

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per run
Standard$0.108

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

API quick start

Call the Mureka Stem Separation API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model mureka/stem-separation/audio-separation and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "mureka/stem-separation/audio-separation",
  "input": {
    "audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

What to build with the Mureka Stem Separation API

  • Karaoke mode for a music app: split once, serve the instrumental stem as the backing track and keep the vocal stem for a guide-vocal toggle.
  • Lyric extraction: split first, trim the vocal stem to the sung region, then transcribe it. On our garage rock song a lyrics model hallucinated on the full mix but returned clean lyrics from the trimmed vocal stem.

Mureka Stem Separation parameter notes

  • audio_url must be MP3 or M4A. Transcode WAV, FLAC or other uploads before submitting rather than letting the job fail.
  • Inputs are capped at 10 minutes. Check duration on upload and reject longer files with a clear message.
  • All five outputs share the input's length (55.9 s each for our 56 s song), so store them as aligned tracks with no offset handling.
  • The stems are uncompressed WAV and each runs the full song, so the delivery is far larger than the MP3 you sent. Plan storage and download time accordingly.

How Mureka Stem Separation API pricing adds up

One request per song covers all five stems, and the charge does not change with song length up to the 10-minute cap. Cache results by a hash of the input file so re-splitting the same song does not create a second billed job.

  • Stem Splitter: $0.108 per run, $10.80 for 100 runs

Async jobs, webhooks and rate limits

Every Mureka Stem Separation request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for mureka/stem-separation/audio-separation never runs or bills twice.

Common Mureka Stem Separation API errors

errorCodeWhat it usually means and how to fix it
invalid_assetThe file is not MP3 or M4A, runs past 10 minutes, or the URL could not be fetched. Convert or trim and resubmit.
generation_failedNo stems were produced. Retry once with a freshly encoded MP3.
timeoutPoll the taskId first; a long song may still be processing.

Examples

Vocals pulled from a garage rock songExamples
Instrumental stem from a lo-fi folk songExamples

Mureka Stem Separation API questions

How much does the Mureka Stem Separation API cost?

Mureka Stem Separation costs $0.108 per run. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Mureka Stem Separation in the API?

Put mureka/stem-separation/audio-separation for Stem Splitter in the model field of POST /jobs/createTask.

Can I request only the vocals?

No, every job returns all five stems. Keep the ones you need.

How clean is the vocal stem?

On our garage anthem it measured about -72 dB outside the sung part.

Does it work on songs from other PopNow music models?

Yes. We split a Mureka V9.5 song and a Suno v6 Mini song in our tests.

Can I try Mureka Stem Separation without writing code?

Run Mureka Stem Separation in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All Mureka models

Suno v6 also splits songs, with a vocals-and-background mode, twelve instrument tracks or a single named part. Mureka always returns the same five WAV stems.

More about Mureka Stem Separation