Use Suno’s official get‑stem API to split tracks created on our platform into clean vocal, accompaniment, or per‑instrument stems with state‑of‑the‑art source‑separation AI.
separate_vocal — 2‑stem splitsplit_stem — up to 12‑stem split| Name | Type | Description |
|---|---|---|
taskId | string | ID of the original music‑generation task |
audioId | string | Which audio variation to process when multiple versions exist |
type | string | Required. Separation mode: separate_vocal or split_stem |
separate_vocal returns 2 stems — vocals + instrumental.split_stem returns up to 12 independent stems — vocals, backing vocals, drums, bass, guitar, keyboard, strings, brass, woodwinds, percussion, synth, FX/other.All APIs require authentication via Bearer Token.
Get API Key:
Usage: Add to request header: Authorization: Bearer YOUR_API_KEY
Note:
Unique identifier of the music generation task. This should be a taskId returned from either the "Generate Music" or "Extend Music" endpoints.
"5c79****be8e"
Unique identifier of the specific audio track to process for vocal separation. This ID is returned in the callback data after music generation completes.
"e231****-****-****-****-****8cadc7dc"
The URL to receive vocal separation task completion updates. Required for all vocal separation requests.
"https://api.example.com/callback"
Separation type with the following options:
separate_vocal, split_stem "separate_vocal"
Request successful
Response status code
200, 400, 401, 402, 404, 409, 422, 429, 455, 500 Error message when code != 200
"success"