docs.api.box
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
Support
Suno API
Common APIFile Upload API
Suno API
Common APIFile Upload API
  1. Vocal Removal
  • API.box Documentation
  • Quick Start
  • Generate Music
    • Music Generation Callbacks
    • Music Extension Callbacks
    • Upload and Cover Audio Callbacks
    • Upload and Extend Audio Callbacks
    • Add Instrumental Callbacks
    • Add Vocals Callbacks
    • Music Cover Generation Callbacks
    • Replace Music Section Callbacks
    • Generate Music
      POST
    • Extend Music
      POST
    • Upload And Cover Audio
      POST
    • Upload And Extend Audio
      POST
    • Add Instrumental
      POST
    • Add Vocals
      POST
    • Get Music Generation Details
      GET
    • Recovery Audio
      POST
    • Get Recovery Audio Details
      GET
    • Get Timestamped Lyrics
      POST
    • Boost Music Style
      POST
    • Generate Music Cover
      POST
    • Replace Music Section
      POST
    • Get Music Cover Details
      GET
    • Generate Persona
      POST
    • Generate Mashup
      POST
  • Suno Voice
    • Suno Voice Validation Phrase Callbacks
    • Suno Voice Generation Callbacks
    • Suno Voice Regenerate Phrase Callbacks
    • Suno Voice Generate Verification Phrase
    • Suno Voice Get Verification Phrase
    • Suno Voice Create Custom Voice
    • Suno Voice Get Custom Voice Record
    • Suno Voice Regenerate Verification Phrase
    • Suno Voice Check Availability
  • Lyrics Generation
    • Lyrics Generation Callbacks
    • Generate Lyrics
    • Get Lyrics Generation Details
  • Generate Sounds
    • Generate Sounds
  • WAV Conversion
    • WAV Format Conversion Callbacks
    • Convert to WAV Format
    • Get WAV Conversion Details
  • Vocal Removal
    • Audio Separation Callbacks
    • MIDI Generation Callbacks
    • Vocal and Instrument Separation
      POST
    • Get Audio Separation Details
      GET
    • Generate MIDI from Audio
      POST
    • Get MIDI Generation Details
      GET
  • Music Video Generation
    • Music Video Generation Callbacks
    • Create Music Video
    • Get Music Video Details
  • Generate Speech
    • Generate Speech
  1. Vocal Removal

Vocal and Instrument Separation

POST
/api/v1/vocal-removal/generate
Use advanced audio processing technology to separate music into vocal, instrumental, and individual instrument tracks.

Usage Guide#

Separate a platform‑generated mix into vocal, instrumental, and individual instrument components.
Three processing modes are available:
separate_vocal — 2‑stem split (Vocals + Instrumental)
split_stem — up to 12‑stem split
split_stem_advanced — advanced multi‑stem separation with specific instrument selection
Ideal for karaoke creation, remixes, sample extraction, or detailed post‑production.
Best results on professionally mixed AI tracks with clear vocal and instrumental layers.
Billing notice: Each call consumes credits; re‑calling the same track is charged again (no server‑side caching).
Pricing: Check current per‑call credit costs at https://api.box/billing.

Separation Mode Details#

Mode (type)Stems ReturnedTypical UseCredit Cost
separate_vocal (default)2 stems – Vocals + InstrumentalQuick vocal removal, karaoke, basic remixes10 Credits
split_stemUp to 12 stems – Vocals, Backing Vocals, Drums, Bass, Guitar, Keyboard, Strings, Brass, Woodwinds, Percussion, Synth, FX/OtherAdvanced mixing, remixing, sound design50 Credits
split_stem_advancedSpecified instrument stems — extract specific instruments via stemNamePrecise instrument extraction, professional post‑production20 Credits

Parameter Reference#

NameTypeRequiredDescription
taskIdstringConditionalUnique identifier of the music generation task. Should be the taskId returned by the "Generate Music" or "Extend Music" endpoint. Required when using existing audio.
audioUrlstringConditionalURL of the audio file uploaded by the user. The maximum file size is 20MB. Required when using user-uploaded audio. Cannot be used together with audioId.
audioIdstringConditionalUnique identifier of the specific audio track to process. This ID is returned in the callback data after music generation completes. Required when using existing audio. Cannot be used together with audioUrl.
typestringOptionalSeparation type: separate_vocal (default), split_stem, or split_stem_advanced
stemNamestringConditionalOnly used when type is split_stem_advanced, specifies the name of the specific track/instrument to separate. Supported instruments include: Lead Vocal, Drum Kit, Piano, Guitar, Bass, Synth, Percussion, etc.
callBackUrlstringRequiredURL for receiving vocal separation task completion updates

Developer Notes#

All returned audio-file URLs remain accessible for 14 days.
Separation quality depends on the complexity and mixing of the original track.
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.
split_stem_advanced returns independent stems for specified instruments. Use the stemName parameter to specify the instrument name.
Each separated stem can be converted to WAV: call Convert to WAV Format with this task's taskId and the stem's id (from originData) as audioId.
Billing: Every request is charged. Re‑submitting the same track triggers a new credit deduction (no server‑side caching).

Callbacks

vocalRemovalGenerated

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Request successful
Bodyapplication/json

🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://apibox.erweima.ai/api/v1/vocal-removal/generate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "taskId": "5c79****be8e",
    "audioId": "e231****-****-****-****-****8cadc7dc"
}'
Response Response Example
{
    "code": 200,
    "msg": "success",
    "data": {
        "taskId": "5c79****be8e"
    }
}
Previous
MIDI Generation Callbacks
Next
Get Audio Separation Details
Built with