Demucs
/v1/runDemucs by Meta - advanced AI model for audio-to-audio. Delivers high-quality results with fast inference, suitable for both creative and production workflows.
Request body
Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.
Model identifier. Set to meta/demucs.
Default: meta/demucs
URL of the audio file to separate into stems
Output audio format for the separated stems
Allowed values: wav, mp3
Default: mp3
Specific stems to extract. If None, extracts all available stems. Available stems depend on model: vocals, drums, bass, other, guitar, piano (for 6s model)
Default: vocals,drums,bass,other,guitar,piano
Length in seconds of each segment for processing. Smaller values use less memory but may reduce quality. Default is model-specific.
Overlap between segments (0.0 to 1.0). Higher values may improve quality but increase processing time.
Range: 0 to 1
Default: 0.25
Number of random shifts for equivariant stabilization. Higher values improve quality but increase processing time.
Range: 1 to 10
Default: 1
Response Schema
The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.
Error message if the task failed. Empty on success.
Unique identifier for the generation task.
Model ID used for the prediction.
Array of generated content. Empty when status is not completed.
Status of the task: pending, running, completed, failed, or timeout.
Allowed values: pending, running, completed, failed, timeout
Model capabilities
Capabilities declared by the model registry.
Default: audio-to-audio
Execution mode declared by the model registry.
Default: async

