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 a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.
Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.
Current public run status.
Allowed values: pending, running, completed, failed, timeout
Public SandBase model name used for this run.
Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.
Present only for failed or timeout runs. Contains a public error type and sanitized message.
Stable public error category.
Sanitized error message safe to show to clients.
Usage details when available.
Model capabilities
Capabilities declared by the model registry.
Default: audio-to-audio
Execution mode declared by the model registry.
Default: async