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.
Prices by output group
Different output groups add together. Selecting one or both outputs within a vocal pair costs the same. Lead and rhythm guitar also share one specialist group.
All four vocal specialties total 0.40/min or 2,640 Studio credits/min. These are separate payment systems; API dollars are not a conversion of subscription credits.
Creator unlocks specialty vocals and the instrument catalog. Pro and Studio provide larger credit allowances; detailed decomposition presets require Pro. All public plans meter usage.
Read
GET /api/v1/stem-extraction/pricing for the current group rate card. For credit-funded Studio jobs, POST /api/v1/stem-extraction/quote returns the measured duration, each group’s price and the complete total. It does not quote API-wallet jobs. Studio quotes round duration up to whole seconds, then round the total down to whole credits; minimum charges apply. Group line items sum to that total and can differ by one credit due to allocation rounding.
Review the full quote before starting. Credits are reserved at creation. Groups that fail to deliver every requested output are refunded. A missing-output retry has its own quote; it is not permission to charge again for outputs already delivered.
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.
