apimaxDocs
DocsPricingConsole
API ReferenceIntegration GuideUser GuideChangelog

Music Series

POST[Core] Music GenerationPOSTCover SongsPOSTGenerate Sound EffectsPOSTExtend SongsPOSTConcatenate Extend Clips into a SongPOSTSong StemsPOSTAdd InstrumentalPOSTAdd Vocals

Image Series

Video series

Task Management

Error Code ReferenceQuery Task StatusGET

Account Management

Query Quota UsageGET

Docs / Music Series / Suno / Task submission

Task submissionPOSTSunoMUSICAsync Tasks

Song Stems

Separate vocals, instrumental backing, or specific instrument tracks, with support for full stem separation, two-track splitting, and single-stem extraction.

POSThttps://api.apimax.ai/v1/music/stem
Try it
Bearer API KeyJSONServer-side call

Purpose#

Separate vocals, instrumental backing, or specific instrument tracks from a song with POST /v1/music/stem.

Request Fields#

FieldTypeRequiredDescription
continue_clip_idstringYesID of the song clip to split into stems
modestringYesall, vocals_instrumental, or extract
stemstringConditionalTrack to extract; required when mode=extract
callback_urlstringNoHTTPS URL that receives a notification when the task completes or fails

Common stem values include lead_vocal, backing_vocals, drum_kit, bass, piano, electric_guitar, acoustic_guitar, string_section, and everything_but_lead_vocal.

continue_clip_id may also be passed as clip_id. stem values are case-sensitive; use the spellings listed above.

Request Example#

Extracting a Specific Track#

bash
curl -X POST 'https://api.apimax.ai/v1/music/stem' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "continue_clip_id": "c844486f-998c-4607-a970-1e34fe2cc28b",
    "mode": "extract",
    "stem": "electric_guitar",
    "callback_url": "https://your-app.example/music-callback"
  }'

Separating Vocals from the Instrumental#

mode=vocals_instrumental separates vocals from the instrumental backing; do not pass stem.

bash
curl -X POST 'https://api.apimax.ai/v1/music/stem' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "continue_clip_id": "c844486f-998c-4607-a970-1e34fe2cc28b",
    "mode": "vocals_instrumental"
  }'

All Stems#

mode=all uses the legacy 12-stem separation mode; do not pass stem.

bash
curl -X POST 'https://api.apimax.ai/v1/music/stem' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "continue_clip_id": "c844486f-998c-4607-a970-1e34fe2cc28b",
    "mode": "all"
  }'

Submission Response#

A successful submission returns the task ID immediately:

json
{
  "code": "success",
  "message": "",
  "data": "task_01KABCDEF0123456789XYZ"
}
FieldTypeDescription
codestringAlways success on success
messagestringUsually an empty string on success
datastringTask ID used to query the result

Query the Task Result#

Only single-task queries by task ID are supported:

bash
curl 'https://api.apimax.ai/v1/tasks/task_01KABCDEF0123456789XYZ' \
  -H "Authorization: Bearer $API_KEY"

Task status transitions in the following order:

queued → in_progress → completed / failed

statusDescriptionTerminal
queuedTask created, waiting to be processedNo
in_progressTask is being processedNo
completedTask finished; the result is in dataYes
failedTask failed; the reason is in errorYes

Poll every 2-5 seconds and stop once the status reaches completed or failed. If callback_url is set, you can also wait for the callback notification.

Example completed response. A song has two candidates and each one gets its own set of stems, so data holds 4 items; only the first 2 are shown below:

json
{
  "created_at": 1795404594,
  "data": [
    {
      "audio_url": "https://cdn2.suno.show/media/export/0947f02d-795c-488c-9aa8-68a1834c8267.mp3",
      "created_at": "2026-11-23T03:29:55.984Z",
      "duration": 163.2,
      "id": "0947f02d-795c-488c-9aa8-68a1834c8267",
      "image_url": "https://cdn2.suno.ai/image_0947f02d-795c-488c-9aa8-68a1834c8267.jpeg",
      "model_name": "suno_stem",
      "status": "complete",
      "title": "(Vocals)"
    },
    {
      "audio_url": "https://cdn2.suno.show/media/export/6032cdec-490b-4d90-8643-e229ae54f825.mp3",
      "created_at": "2026-11-23T03:29:55.984Z",
      "duration": 163.2,
      "id": "6032cdec-490b-4d90-8643-e229ae54f825",
      "image_url": "https://cdn2.suno.ai/image_6032cdec-490b-4d90-8643-e229ae54f825.jpeg",
      "model_name": "suno_stem",
      "status": "complete",
      "title": "(Instrumental)"
    }
  ],
  "finished_at": 1795404722,
  "id": "task_ayknYb7ifo6aLzqk4FJfWn07fExbmi7C",
  "model": "suno_stem",
  "object": "task",
  "platform": "music",
  "progress": 100,
  "started_at": 1795404617,
  "status": "completed",
  "type": "music"
}

With mode=vocals_instrumental, each set contains a (Vocals) and an (Instrumental) result. With mode=extract, each set contains the extracted track (for example (Bass)) and the rest without it ((Without Bass)), and metadata also includes duration and prompt.

During in_progress, previewable audio may be returned early, but you should keep polling until the task reaches a terminal status.

Next steps

All docs
Upsample Style TagsPolish and expand style tags and lyrics into a fuller style description.Get Style Inspiration SuggestionsGet random style or inspiration suggestions from the Suno upstream.Method 1: Create a Voice from an Existing SongCreate a vocal voice directly from a song clip already generated in this pool.Upload AudioImport user audio as a Suno-owned clip; returns an async upload task ID. With copyright=true the request switches to the copyright pipeline.Get MIDIRetrieve a MIDI file for a clip generated by this service.Get Lyrics TimingGet the lyric alignment timing of a generated clip.
On this page
OverviewPurposeRequest FieldsRequest ExampleExtracting a Specific TrackSeparating Vocals from the InstrumentalAll StemsSubmission ResponseQuery the Task ResultNext steps
API

POST /v1/music/stem