Skip to main content
Split a song into its individual components — vocals, drums, bass, guitar, keys, and more. Use the separated stems for remixing, rebalancing, sampling, or feeding into downstream production workflows. See the full list of available stem models on the Models page.

Create a Task

Include one target per stem you want to extract:
import requests

API_KEY = "your_api_key"
HEADERS = {"Content-Type": "application/json", "x-api-key": API_KEY}

response = requests.post(
    "https://api.audioshake.ai/tasks",
    headers=HEADERS,
    json={
        "assetId": "your_asset_id",
        "targets": [
            {"model": "vocals", "formats": ["wav"]},
            {"model": "drums", "formats": ["wav"]},
            {"model": "bass", "formats": ["wav"]},
            {"model": "other", "formats": ["wav"]}
        ]
    }
)

task_id = response.json()["id"]
print(f"Task created: {task_id}")
Check Task status to monitor progress and download results, or use webhooks to be notified when each target completes.

Use cases

  • Build instrumentals by removing the vocal stem
  • Rebalance drum and bass levels for a custom mix
  • Export individual stems into a DAW for editing
  • Create sample packs from existing recordings

Build Karaoke Tracks

Combine instrumental + lyrics for karaoke publishing.

Dialogue Separation

Separate speech from music and effects for post-production.