Overview
AudioPod AI’s Stem Separation API uses state-of-the-art AI models to separate mixed audio recordings into individual components (stems). Extract vocals, drums, bass, guitar, piano, and more from any song.Key Features
- Granular Separation:
two,four,six, plus the detailedproducer,studio, andmasteringdecompositions - Single-Instrument Isolation: Target one instrument from a 45-instrument catalog and get it back alongside an everything-else track
- File Upload & URL Support: Process local files or YouTube/SoundCloud URLs
- Quality Scores: Get AI-assessed quality metrics for each stem
- Presigned Downloads: Direct S3 URLs for fast stem downloads
Installation
- Python
- Node.js
Authentication
Get your API key from the API Keys Dashboard.- Python
- Node.js
- cURL
Separation Modes
Pass one of these asmode to POST /api/v1/stem-extraction/api/extract.
Counts are a ceiling, not a promise.
producer, studio, and mastering
decompose whatever is actually in the recording, so the stem count depends on
the track — a song with no cymbals yields no cymbal stem. Plan for “up to N”.mode="single" this endpoint accepts the six core stems — vocals,
drums, bass, guitar, piano, other. To reach the full instrument
catalog, use the advanced endpoint below.
The 45-Instrument Catalog
Beyond the fixed modes, you can name one instrument out of a 45-entry catalog and get that instrument back plus an everything-else track. The 45 is the size of the menu you can choose from — not the number of files a job returns. UsePOST /api/v1/stem-extraction/extract/advanced with single_stem set to a
catalog id. The service resolves the right processing path and plan check for
you, so you never pick an engine.
- cURL
- Exclude one instrument
Discover the catalog at runtime
Don’t hard-code the list — plan gating and catalog contents change.GET /api/v1/stem-extraction/catalog returns every stem with the plan it needs and
whether the authenticated key can use it right now:
id (what you send as single_stem), a label and
description for your UI, a group, the public_tier it requires, an
allowed boolean for the current key, and excludable (whether it can be used
with exclude_stems).
Catalog contents
Core — available on every plan including Basic (7)vocals · backing_track · drums · bass · guitar · piano · other
Specialty vocals — Creator and above (4)
lead_vocal · backing_vocal · male_vocal · female_vocal
Instruments — Creator and above (34)
acoustic_guitar · electric_guitar · lead_guitar · rhythm_guitar ·
bagpipes · banjo · bassoon · brass · braam · celesta · cello ·
choir · clarinet · double_bass · flute · french_horn · fx · harp ·
harmonica · keys · mandolin · oboe · organ · percussion ·
plucked_strings · strings · saxophone · trombone · trumpet · tuba ·
viola · violin · woodwind · xylophone
Pricing. Catalog isolation is metered per minute of audio like every other
stem job. A few premium selections carry a multiplier — see
API Wallet & Pricing.
Quick Start
Six-Stem Separation
- Python
- Node.js
- cURL
Examples by Mode
Four-Stem Separation (Standard)
Extract vocals, drums, bass, and other.- Python (URL)
- Python (File)
- Node.js (URL)
- Node.js (File)
- cURL (URL)
- cURL (File)
Single Stem Extraction (Vocals Only)
- Python
- Node.js
- cURL
Two-Stem Separation (Karaoke)
Separate vocals from instrumental.- Python
- Node.js
- cURL
Producer Mode (8 Stems with Drum Kit)
- Python
- Node.js
- cURL
Advanced Usage
Async Job Handling
For more control, useextract() and wait_for_completion() separately:
- Python
- Node.js
Get Available Modes
- Python
- Node.js
- cURL
Check Job Status
- Python
- Node.js
- cURL
Response Format
Completed Job Response:Pricing
Base rate: $0.10 per minute of audio processed for every standard mode —single, two, four, six, producer, studio, mastering.
Premium catalog selections
Some catalog selections run on a higher-fidelity engine and bill at a multiplier of the base rate:Check your balance and usage at API Wallet.
Error Handling
- Python
- Node.js
Status Codes
Next Steps
API Wallet
Manage billing and view usage history.
Noise Reduction
Clean up stems for better quality.
