# Vocal Remover & Stem Splitter | Karaoke, Acapella, Stems (`trev0n/vocal-remover`) Actor

Remove vocals or extract them from any song with the Demucs AI. Karaoke instrumentals, a cappella vocals, 4 or 6 stems, practice tracks without drums, bass or guitar, key and speed change. MP3, WAV, FLAC, M4A.

- **URL**: https://apify.com/trev0n/vocal-remover.md
- **Developed by:** [Paweł](https://apify.com/trev0n) (community)
- **Categories:** AI, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 minute of audio separateds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🎤 Vocal Remover & Stem Splitter

🎯 **Turn any song into a karaoke instrumental, a clean a cappella, or separate stems for drums, bass, guitar, piano and more, in a few clicks.**

Paste links to your songs and get studio-style separated tracks back as MP3, WAV, FLAC or M4A files, each with its own download link. Powered by Demucs, the open music separation model from Meta AI research, with vocals + instrumental, 4 stems, 6 stems and practice tracks for musicians. Change the key or the speed of every track on the way out.

### 🚀 What Does It Do?

This Actor automatically splits songs into their parts and gives you **ready-to-use audio files**. No software to install, no GPU, no manual editing: add your links, choose the tracks you want and hit Start.

💡 **Pick what you need:**

1. **🎙️ Karaoke split** - the song without vocals (instrumental) plus the vocals on their own (a cappella)
2. **🥁 Stems for remixing** - vocals, drums, bass and other instruments, or six stems with guitar and piano
3. **🎸 Practice tracks** - the whole song without drums, bass, guitar or piano, plus that part on its own, so you can play along

### 👥 Who Is This For?

| 🏢 Use Case | 💬 How It Helps |
| --- | --- |
| 🎤 **Karaoke hosts and singers** | Make backing tracks of any song in your library, in your own key |
| 🎧 **DJs and producers** | Pull clean a cappellas and drum loops for remixes, mashups and edits |
| 🎸 **Musicians and teachers** | Create drumless, bassless or guitarless practice tracks and slow them down |
| 🎬 **Video creators and podcasters** | Lower or remove music under speech, or keep only the instrumental |
| 🏫 **Music schools and apps** | Batch-process a whole catalogue and plug the links into your own product |
| 🔬 **Researchers** | Prepare isolated vocals and instruments for transcription, analysis or datasets |

### ✨ Features

- 🎙️ **Karaoke and a cappella** - instrumental and vocals from one run
- 🧩 **4, 5 or 6 stems** - vocals, drums, bass, guitar, piano and other instruments
- 🥁 **Practice tracks** - song without drums, bass, guitar or piano, plus the isolated part
- 🎚️ **Three quality levels** - Fast and cheap, Standard, or High with fine-tuned specialist models
- 🎼 **Key change** - up to 12 semitones up or down, voices keep their natural tone
- 🐢 **Speed change** - from half speed to double speed without changing the key
- 💾 **Four formats** - MP3 320 kbps, WAV, FLAC or M4A
- 🎞️ **Video in, audio out** - send MP4, MOV, MKV or WEBM and get the separated audio
- ☁️ **Cloud links work** - Google Drive and Dropbox share links are converted automatically
- 🛡️ **Cost guards** - maximum length per file and maximum files per run, failed files are never charged
- ⚡ **Fast & Scalable** - long songs are processed piece by piece, so even an hour-long recording works
- 📤 **Export Anywhere** - Download results as JSON, CSV, Excel, or push to Google Sheets, Zapier, Make, or your CRM

### 🎛️ Filters & Options

| Option | What It Does |
| --- | --- |
| 🔗 **Audio or video links** | Direct links to your files, Google Drive or Dropbox share links |
| 🧩 **Tracks to create** | Karaoke split, 4 stems, 5 tracks, 6 stems, or a practice track for drums, bass, guitar or piano |
| 🎚️ **Separation quality** | Fast, Standard or High |
| 💾 **Audio format** | MP3, WAV, FLAC or M4A |
| 🎼 **Key change** | Shift every track up or down by semitones |
| 🐢 **Speed** | Play every track slower or faster without changing the key |
| ⏱️ **Maximum length per file** | Skip files longer than this, so a wrong link cannot run up the cost |
| 🔢 **Maximum files** | Process at most this many links per run |

### 📦 What You Get (Output Fields)

Every song gives one row with download links for each track. The audio files themselves are stored in the run's key-value store.

#### Song

| Field | Example |
| --- | --- |
| sourceUrl | `https://example.com/music/summer-demo.mp3` |
| fileName | `summer-demo` |
| status | `succeeded` |
| error | `null` |
| durationSec | `213.4` |
| processedAt | `2026-11-23T14:05:11Z` |

#### Tracks

| Field | Example |
| --- | --- |
| trackUrls | `{"vocals": "https://api.apify.com/v2/key-value-stores/.../001-summer-demo-vocals.mp3", "instrumental": "..."}` |
| tracks | `[{"name": "vocals", "url": "...", "key": "001-summer-demo-vocals.mp3", "sizeBytes": 8536064}]` |

#### Settings and usage

| Field | Example |
| --- | --- |
| mode | `vocals-instrumental` |
| quality | `standard` |
| outputFormat | `mp3` |
| pitchSemitones | `0` |
| tempoPercent | `100` |
| audioMinutes | `4` |
| chargedEvents | `4` |
| processingSec | `171.6` |

### 📊 Example Output

```json
{
    "sourceUrl": "https://example.com/music/summer-demo.mp3",
    "fileName": "summer-demo",
    "status": "succeeded",
    "error": null,
    "mode": "vocals-instrumental",
    "quality": "standard",
    "outputFormat": "mp3",
    "pitchSemitones": 0,
    "tempoPercent": 100,
    "durationSec": 213.4,
    "audioMinutes": 4,
    "chargedEvents": 4,
    "processingSec": 171.6,
    "tracks": [
        {
            "name": "vocals",
            "url": "https://api.apify.com/v2/key-value-stores/Xy7qL0aB2cD3eF4gH/records/001-summer-demo-vocals.mp3",
            "key": "001-summer-demo-vocals.mp3",
            "sizeBytes": 8536064
        },
        {
            "name": "instrumental",
            "url": "https://api.apify.com/v2/key-value-stores/Xy7qL0aB2cD3eF4gH/records/001-summer-demo-instrumental.mp3",
            "key": "001-summer-demo-instrumental.mp3",
            "sizeBytes": 8536064
        }
    ],
    "trackUrls": {
        "vocals": "https://api.apify.com/v2/key-value-stores/Xy7qL0aB2cD3eF4gH/records/001-summer-demo-vocals.mp3",
        "instrumental": "https://api.apify.com/v2/key-value-stores/Xy7qL0aB2cD3eF4gH/records/001-summer-demo-instrumental.mp3"
    },
    "processedAt": "2026-11-23T14:05:11Z"
}
```

### 📋 Dataset Views

The Apify Console gives you **2 ready-made table views** to quickly browse your results:

| View | What It Shows |
| --- | --- |
| 📊 **Tracks** | File, status, tracks, length and the download links |
| 📋 **All details** | Every single field: settings, charged minutes, processing time and file sizes |

### 💰 How Much Does It Cost?

You pay per **started minute of audio** that was separated successfully: a 3:20 song counts as 4 minutes, a 20-second clip as 1. Fast quality is the cheapest. High quality counts each minute once per specialist model it needs: once for karaoke and practice tracks, four times for four or five stems. Files that fail, are too long or cannot be downloaded are never charged. Set a maximum cost per run in the run options and the Actor stops before going over it.

### ❓ FAQ

**🤔 Can I use YouTube, Spotify or SoundCloud links?**
No. Those platforms do not allow downloading in their terms, so the Actor only accepts direct links to files (your own server, cloud storage, Google Drive, Dropbox, an Apify key-value store). Only process music you have the rights to use.

**🤔 How long does a song take?**
About twice the length of the song with the default 4 GB of memory (a 4-minute song takes around 8 minutes), a bit less with Fast quality. With 16 GB it runs at roughly the length of the song.

**🤔 How good is the separation?**
Vocals and drums come out very clean, bass is solid, and "other" collects everything else. In six-stem mode guitar is good and piano may keep traces of other instruments. High quality gives the cleanest vocals.

**🤔 Can I upload files from my computer?**
Upload them to any cloud storage (Google Drive, Dropbox, or an Apify key-value store) and paste the share link.

**🤔 How long are the download links valid?**
As long as your run's storage is kept on Apify (by default several days for unnamed storages). Download the files or copy them to your own storage if you need them longer.

**🤔 Can I export the data?**
Yes: JSON, CSV, Excel, XML, HTML, RSS. You can also push data directly to Google Sheets, Zapier, Make, or any webhook endpoint.

**🤔 How often should I run this?**
Whenever you have new songs. You can also schedule automatic runs on Apify or start runs from your own app.

### 🛠️ Need Custom Filters or Features?

**I'm happy to customize this Actor for your specific needs!** 🤝

Whether you need:

- 🎯 Additional options (other stem combinations, loudness normalisation, stems mixed at custom levels)
- 📊 Extra output formats or naming schemes for your library
- 🔄 Integration with your app, cloud storage, Google Sheets or database
- ⏰ Scheduled processing of new files in a folder
- 🌐 Other audio tools alongside this one (transcription, chord detection, BPM and key)

👉 **Don't hesitate to reach out via private message** - I respond quickly and I'm always open to building exactly what you need. No request is too small or too specific!

### ⚖️ Legal & Ethical Use

This Actor only processes files you link to and never downloads from streaming platforms. You are responsible for having the rights to the music you process and for how you use the separated tracks.

# Actor input Schema

## `audioUrls` (type: `array`):

Direct links to audio or video files (MP3, WAV, FLAC, M4A, AAC, OGG, OPUS, MP4, MOV, MKV, WEBM and more), Google Drive or Dropbox share links, or links to files in an Apify key-value store. YouTube, TikTok, Instagram, SoundCloud, Spotify and similar platform links are not supported because their terms do not allow downloading. Only process music you have the rights to.

## `mode` (type: `string`):

Vocals + instrumental is the karaoke split. Four stems give vocals, drums, bass and other instruments; five tracks add the instrumental. Six stems add guitar and piano (piano is less clean). Practice tracks give the whole song without one part, plus that part on its own.

## `quality` (type: `string`):

Standard uses the Hybrid Transformer Demucs model (the usual choice). Fast uses the previous Demucs generation: quicker and cheaper, with a bit more bleed between tracks. High uses the fine-tuned specialist models for the cleanest result; each started minute counts once per specialist model needed (karaoke and practice tracks need one, four or five stems need four). Six-stem modes always use the six-source model; in High they run two passes, so each minute counts twice.

## `outputFormat` (type: `string`):

MP3 (320 kbps) is small and plays everywhere. WAV and FLAC are lossless 16-bit for editing in a DAW. M4A is AAC at 256 kbps.

## `pitchSemitones` (type: `integer`):

Shift every track up or down by this many semitones without changing the speed, for singing in your own key. Voices keep their natural tone. 0 keeps the original key. From -12 to +12.

## `tempoPercent` (type: `integer`):

Play every track faster or slower without changing the key: 80 is 20% slower for practising, 100 keeps the original speed. From 50 to 200.

## `maxDurationMinutes` (type: `integer`):

Files longer than this are skipped and not charged, so a wrong link (a two-hour mix, a podcast) cannot run up the cost. Up to 120 minutes for MP3 and M4A, 30 minutes for WAV and FLAC.

## `maxFiles` (type: `integer`):

Process at most this many links per run.

## Actor input object example

```json
{
  "audioUrls": [
    "https://api.apify.com/v2/key-value-stores/LKoMhpoGDFNGwduiI/records/amazing-grace-public-domain-30s.mp3"
  ],
  "mode": "vocals-instrumental",
  "quality": "standard",
  "outputFormat": "mp3",
  "pitchSemitones": 0,
  "tempoPercent": 100,
  "maxDurationMinutes": 20,
  "maxFiles": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `files` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "audioUrls": [
        "https://api.apify.com/v2/key-value-stores/LKoMhpoGDFNGwduiI/records/amazing-grace-public-domain-30s.mp3"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("trev0n/vocal-remover").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "audioUrls": ["https://api.apify.com/v2/key-value-stores/LKoMhpoGDFNGwduiI/records/amazing-grace-public-domain-30s.mp3"] }

# Run the Actor and wait for it to finish
run = client.actor("trev0n/vocal-remover").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "audioUrls": [
    "https://api.apify.com/v2/key-value-stores/LKoMhpoGDFNGwduiI/records/amazing-grace-public-domain-30s.mp3"
  ]
}' |
apify call trev0n/vocal-remover --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,trev0n/vocal-remover"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/RHMVIo1Fd9EYEBzho/builds/tIYCXtqFgQh3m0L28/openapi.json
