ryan5453/demucs 🔢🖼️❓📝 → ❓

▶️ 2.1M runs 📅 Nov 2022 ⚙️ Cog 0.21.0 🔗 GitHub 📄 Paper ⚖️ License
audio-to-audio music-source-separation vocal-removal

Performance

25.0sTypical run time
~176sCold start (first call)
2.1MTotal runs

About

Demucs is an audio source separator created by Facebook Research.

Example Output

Output

{"bass":"https://storage.googleapis.com/replicate-files/DGKrtyY9DLJpDNwK8wyx1YJTwffy136G7ST6XM2Mwzp4i2vSA/file","drums":"https://storage.googleapis.com/replicate-files/tyAr6QMjIl7mP5YPNZWf29VzlG4eRQZScDf64DdxMfMdLafVC/file","other":"https://storage.googleapis.com/replicate-files/evRBGYcxmfpCJ0qwn8ELHW0BzfsytARPYUOqeK728qcnLafVC/file","vocals":"https://storage.googleapis.com/replicate-files/fWw45bCZ5ZWILSET8mslNXu2gI4DiBD3NDaCixz2WnvcR7XJA/file"}

Performance Metrics

25.03s Prediction Time
175.54s Total Time
All Input Parameters
{
  "jobs": 0,
  "stem": "none",
  "audio": "https://replicate.delivery/pbxt/KqCC8G0RySCjKBQinde7gog9XwsfUR8uF6IyD2h6HPirewAg/Josh%20Woodward%20-%20Are%20You%20Having%20Fun",
  "model": "htdemucs",
  "split": true,
  "shifts": 1,
  "overlap": 0.25,
  "clip_mode": "rescale",
  "mp3_preset": 2,
  "wav_format": "int24",
  "mp3_bitrate": 320,
  "output_format": "mp3"
}
Input Parameters
seed Type: integerDefault: -1
Seed for the random shifts, for reproducible output; -1 for random
audio (required) Type: string
The audio file to separate
model Default: htdemucs
Model to use for separation (this deployment serves htdemucs)
format Type: stringDefault: wav
Output audio format, anything supported by FFmpeg
shifts Type: integerDefault: 1Range: 0 - 20
Random time shifts to average; more is slower and slightly better. 0 disables them
clip_mode Default: rescale
How to keep output within [-1, 1]; "none" leaves it unchanged
isolate_stem Default: none
Only creates a {stem} and no_{stem} stem/file
split_overlap Type: numberDefault: 0.25Range: 0 - 0.99
Overlap between segments; higher values improve quality at segment boundaries
Output Schema
bass Type: stringFormat: uri
Bass
drums Type: stringFormat: uri
Drums
other Type: stringFormat: uri
Other
vocals Type: stringFormat: uri
Vocals
no_bass Type: stringFormat: uri
No Bass
no_drums Type: stringFormat: uri
No Drums
no_other Type: stringFormat: uri
No Other
no_vocals Type: stringFormat: uri
No Vocals
Example Execution Logs
0%|                                                                     | 0.0/163.79999999999998 [00:00<?, ?seconds/s]
  4%|██▏                                                         | 5.85/163.79999999999998 [00:00<00:14, 10.75seconds/s]
  7%|████▎                                                       | 11.7/163.79999999999998 [00:00<00:07, 19.54seconds/s]
 11%|████▉                                         | 17.549999999999997/163.79999999999998 [00:00<00:05, 26.84seconds/s]
 14%|████████▌                                                   | 23.4/163.79999999999998 [00:00<00:04, 32.60seconds/s]
 18%|██████████▌                                                | 29.25/163.79999999999998 [00:01<00:03, 36.95seconds/s]
 21%|█████████▊                                    | 35.099999999999994/163.79999999999998 [00:01<00:03, 39.81seconds/s]
 25%|███████████▌                                  | 40.949999999999996/163.79999999999998 [00:01<00:02, 42.02seconds/s]
 29%|█████████████████▏                                          | 46.8/163.79999999999998 [00:01<00:02, 43.57seconds/s]
 32%|██████████████████▉                                        | 52.65/163.79999999999998 [00:01<00:02, 45.10seconds/s]
 36%|█████████████████████▍                                      | 58.5/163.79999999999998 [00:01<00:02, 46.14seconds/s]
 39%|███████████████████████▏                                   | 64.35/163.79999999999998 [00:01<00:02, 46.93seconds/s]
 43%|████████████████████▏                          | 70.19999999999999/163.79999999999998 [00:01<00:01, 47.49seconds/s]
 46%|███████████████████████████▍                               | 76.05/163.79999999999998 [00:02<00:01, 47.86seconds/s]
 50%|███████████████████████▌                       | 81.89999999999999/163.79999999999998 [00:02<00:01, 46.86seconds/s]
 54%|███████████████████████████████▌                           | 87.75/163.79999999999998 [00:02<00:01, 46.92seconds/s]
 57%|██████████████████████████████████▎                         | 93.6/163.79999999999998 [00:02<00:01, 47.38seconds/s]
 61%|████████████████████████████▌                  | 99.44999999999999/163.79999999999998 [00:02<00:01, 47.66seconds/s]
 64%|█████████████████████████████████████▉                     | 105.3/163.79999999999998 [00:02<00:01, 47.91seconds/s]
 68%|███████████████████████████████▏              | 111.14999999999999/163.79999999999998 [00:02<00:01, 48.06seconds/s]
 71%|██████████████████████████████████████████▏                | 117.0/163.79999999999998 [00:02<00:00, 48.23seconds/s]
 75%|███████████████████████████████████████████▌              | 122.85/163.79999999999998 [00:02<00:00, 48.37seconds/s]
 79%|██████████████████████████████████████████████▎            | 128.7/163.79999999999998 [00:03<00:00, 48.30seconds/s]
 82%|█████████████████████████████████████▊        | 134.54999999999998/163.79999999999998 [00:03<00:00, 48.35seconds/s]
 86%|███████████████████████████████████████▍      | 140.39999999999998/163.79999999999998 [00:03<00:00, 48.19seconds/s]
 89%|███████████████████████████████████████████████████▊      | 146.25/163.79999999999998 [00:03<00:00, 48.29seconds/s]
 93%|██████████████████████████████████████████████████████▊    | 152.1/163.79999999999998 [00:03<00:00, 48.38seconds/s]
 96%|███████████████████████████████████████████████████████▉  | 157.95/163.79999999999998 [00:03<00:00, 48.53seconds/s]
100%|██████████████████████████████████████████████| 163.79999999999998/163.79999999999998 [00:03<00:00, 48.72seconds/s]
100%|██████████████████████████████████████████████| 163.79999999999998/163.79999999999998 [00:03<00:00, 42.77seconds/s]
Version Details
Version ID
ff5ad47d2685b27c0f820ee134c4394140804f08fa755cb20c846459faa4b337
Version Created
October 3, 2026
Run on Replicate →