Skip to main content

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 detailed producer, studio, and mastering decompositions
  • 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

Authentication

Get your API key from the API Keys Dashboard.

Separation Modes

Pass one of these as mode 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”.
Plan gating. producer requires Creator or above; studio and mastering require Pro or above. A request from a lower plan is rejected — call GET /api/v1/stem-extraction/packages/available to see what the authenticated key can use before you dispatch a job.
For 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. Use POST /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.

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:
Each entry carries an 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
Requesting a Creator-tier stem with a Basic key is rejected. Check allowed on the catalog response first, or handle the error and prompt for an upgrade.
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


Examples by Mode

Four-Stem Separation (Standard)

Extract vocals, drums, bass, and other.

Single Stem Extraction (Vocals Only)


Two-Stem Separation (Karaoke)

Separate vocals from instrumental.

Producer Mode (8 Stems with Drum Kit)


Advanced Usage

Async Job Handling

For more control, use extract() and wait_for_completion() separately:

Get Available Modes

Check Job Status


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


Status Codes


Next Steps

API Wallet

Manage billing and view usage history.

Noise Reduction

Clean up stems for better quality.