Extract stems from an audio file or URL
Process an audio file to extract specified stems (vocals, instrumental, or other components) with optional preprocessing. Supports file upload or URL with webhook callback.
post/v2/Extraction
Request
- Base URLhttps://api.musicgpt.com/api/public
- AuthAPI key in header Authorization
Request body multipart/form-data
Example request
{
"audio_url": "https://www.youtube.com/watch?v=example123",
"stems": "[\"vocals\", \"drums\"]",
"preprocessing_options": "[\"Denoise\", \"Dereverb\"]",
"webhook_url": "http://webhook.musicgpt.com"
}Response
Successfully initiated audio extraction
Example response
{
"success": true,
"task_id": "62725d68-01e8-4c87-8fb0-298aa81c529c",
"conversion_id": "46b358c9-b22f-49d1-a68d-17901a6a549b",
"eta": 11,
"credit_estimate": 2.5
}Changes
No recorded changes to this operation across all 1 revision of this API.