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, producer (8), studio (12), mastering (16) — plus single-instrument isolation from an expanded catalog of up to ~45 individual stems
- Single-Instrument Isolation: Pull out one specific instrument (or vocals) and everything-else from the advanced catalog
- 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
Expanded catalog. Beyond the fixed modes above, single-instrument isolation
can target one specific instrument from an advanced catalog of up to ~45
individual stems (e.g. lead vocal, backing vocal, electric guitar, acoustic
guitar, strings, brass, and more). Use
mode="single" with the stem you want;
the response returns that stem plus an everything-else track.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 standard modes (2stem,
4stem, 6stem, 16stem).
Premium packages
Premium separation packages route through 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.
