vocals, drums, bass, other, …).
Input: a local file or a URL of an audio or video file.
1. Install and set your key
2. Separate
Modes
The detailed modes return “up to” their count: a stem the track doesn’t contain isn’t returned. To isolate one specific instrument (for example saxophone or violin), pick it from the 45-instrument catalog with the advanced endpoint; see Stem Separation. See pricing for plans.
Tips
- Karaoke track and acapella:
mode="two"returns both. For one core stem plus everything else, usemode="single"withstemset tovocals,drums,bass,guitar,pianoorother. - Download links are short-lived. Fetch a fresh set with
client.stem_extraction.get_job(id)(Python) orclient.stems.get(id)(Node). - Feed a finished stem job straight into audio to MIDI to transcribe its parts without separating again.
From an AI agent
With the AudioPod MCP server connected: “Split https://example.com/song.mp3 into 6 stems.” The agent callsseparate_stems with mode: "6stem". Over MCP the modes are 4stem, 6stem, 2stem_vocals and 2stem_other.
Full endpoint reference: Stem Separation.