SandBase is live — $1 in free credits on signupStart free ›
Use in agentMeta models

Meta modelsimage generation api

meta/demucs

Demucs by Meta - advanced AI model for audio-to-audio. Delivers high-quality results with fast inference, suitable for both creative and production workflows.

Input
URL of the audio file to separate into stems
Output audio format for the separated stems Allowed values: wav, 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)
Length in seconds of each segment for processing. Smaller values use less memory but may reduce quality. Default is model-specific.
01
Overlap between segments (0.0 to 1.0). Higher values may improve quality but increase processing time. Range: 0 to 1.
110
Number of random shifts for equivariant stabilization. Higher values improve quality but increase processing time. Range: 1 to 10.
Idle

Example output — click Run to generate your own

API README

Demucs

Demucs is built for music source separation, with this exact route focused on stem-level audio isolation. Demucs by Meta - advanced AI model for audio-to-audio. Delivers high-quality results with fast inference, suitable for both creative and production workflows. It is designed for production workflows that need a clearly scoped media operation instead of a generic assistant response, preserving the supplied direction while returning an artifact ready for review, iteration, or downstream assembly.

The request surface keeps creative direction and delivery choices explicit through stems, shifts, overlap, audio_url, sync_mode, output_format. Teams can lock source material, describe the intended result, choose supported output controls, and rerun the same request structure across variations. This makes experiments easier to compare and larger pipelines easier to operate without hiding important decisions inside an opaque preset.

Highlights

  • Stem-Level Audio Isolation. The meta/demucs route is dedicated to stem-level audio isolation, keeping inputs and outputs matched to this operation.
  • Vocals And Accompaniment Workflows. Within meta/demucs, documented prompt and media controls direct vocals and accompaniment workflows while keeping the brief close to the result.
  • Time-Aligned Separated Audio. The meta/demucs result provides time-aligned separated audio in a machine-consumable form for review and downstream production.
  • Route-specific control. For meta/demucs, documented controls include stems, shifts, overlap, audio_url, sync_mode, output_format, defining the supported variation space for this exact route.

Pricing

ConfigurationPrice
Base-price example$0.0035
Rate$0.0007 per second

When to Use

ScenarioWhy it fits
Choose this routeWhen the deliverable is specifically stem-level audio isolation, not a neighboring generation or editing task.
Production iterationWhen creative teams need repeatable vocals and accompaniment workflows with an explicit request payload.
Automated pipelinesWhen time-aligned separated audio must flow into review, storage, compositing, or publishing.
Controlled variationsWhen a stable brief should be rerun while changing only documented inputs.
Prototype to scaleWhen the same meta/demucs contract should serve a single experiment and a larger batch later.

Prompt Guide

Lead with the subject or source, then state the transformation, important spatial or temporal details, style, and finish. Supply only documented fields, keep media URLs reachable, and vary one control at a time when comparing outputs.

{
  "stems": [
    "vocals",
    "drums",
    "bass",
    "other",
    "guitar",
    "piano"
  ],
  "shifts": 1
}

Technical Specs

PropertyValue
Model IDmeta/demucs
Required inputsNone documented
stemsarray; default: ['vocals', 'drums', 'bass', 'other', 'guitar', 'piano']
shiftsinteger; default: 1
overlapnumber; default: 0.25
audio_urlstring
sync_modeboolean; default: false
output_formatstring; options: wav, mp3; default: mp3
segment_lengthinteger
safety_tolerancestring; default: 6

Related Models

  • mirelo/sfx1.6/text-to-audio
  • minimax/music/2.5

Related Models

meta/sam-3-1/imageSam 3 1 Image is Meta's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.meta/sam-3-1/image-rleSam 3 1 Image Rle is Meta's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.meta/sam-3-1/videoSam 3 1 Video is Meta's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.meta/sam-3/3d-alignSam 3 3d Align by Meta - advanced AI model for 3d-to-3d. Delivers high-quality results with fast inference, suitable for both creative and production workflows.meta/sam-3/3d-bodySam 3 3d Body is Meta's image-to-3D AI model. Transform photographs into production-ready 3D meshes with accurate geometry and texture mapping.meta/sam-3/3d-objectsSam 3 3d Objects by Meta - convert 2D images into 3D models with AI. Generate textured 3D assets from single photos for games, AR/VR, e-commerce, and digital content creation.meta/sam-3/imageSam 3 Image is Meta's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.meta/sam-3/image-rleSam 3 Image Rle is Meta's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.