---
title: "Extract stems from an audio file or URL"
method: POST
path: "/v2/Extraction"
---

# Extract stems from an audio file or URL

`POST /v2/Extraction`

Process an audio file to extract specified stems (vocals, instrumental, or other components) with optional preprocessing. Supports file upload or URL with webhook callback.

## Response `200`

Successfully initiated audio extraction

- object
  - `success` boolean
  - `task_id` string
  - `conversion_id` string
  - `eta` integer — Time in seconds to completion. -1 if unknown
  - `credit_estimate` number, float — Estimated credit cost

## Other responses

- `422` — Validation Error
- `500` — Server Error

---

[API](https://skmtc.net/musicgpt/apis/musicgpt-api.md) · [All operations](https://skmtc.net/musicgpt/apis/musicgpt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/musicgpt/musicgpt-api/versions/6753dccf4c5d/schema)
