Spiral gives your agent every tool with one account. Browse the tools →

Hermes · AudioReleased 2025-10-27

How to Use Demucs in Hermes

Demucs separates mixed music into stems for practice, remix preparation, and vocal extraction. Its six-source model adds guitar and piano to the usual four stems, though piano separation can contain substantial bleed and artifacts.

Prompts to try with Demucs in Hermes

Copy an example into Hermes, or ask in your own words.

Every Friday, use Demucs to separate the new rehearsal recordings in my designated collection into vocals, drums, bass, and other accompaniment. Organize results by recording.

DemucsHermes
Try asking
  • Each morning, use Demucs to extract vocals from newly added songs in my practice collection. Include a list of recordings ready for listening.

  • Once a week, use Demucs to extract drum references from new rehearsal recordings. Group them by rehearsal date for practice.

  • Every Monday, use Demucs with the six-source model to extract guitar references from newly added demos. Keep each result paired with its original recording.

  • Each Friday, use Demucs with the six-source model on new piano demos. Collect the piano results for review and remind me to check for bleed and artifacts.

How to set up Demucs in Hermes

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Hermes this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server and sign in

    Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

    hermes mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --auth oauth \
      --connect-timeout 300
  2. Check it

    In a chat that was already open, run /reload-mcp.

    hermes mcp list
    hermes mcp test spiral

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Demucs

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "fal",
        "model": "fal-ai/demucs",
        "input": {
          "audio_url": "https://storage.googleapis.com/falserverless/model_tests/audio-understanding/Title_%20Running%20on%20Fal.mp3"
        }
      }'

Then paste one of the prompts above: Hermes finds Demucs on Spiral, shows the price and runs it.

Demucs providers and prices

Spiral runs Demucs through fal. Open a card for today's price, with every fee included.

falAudio

Settings you can ask for

Demucs works from your audio URL. Ask Hermes for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Modelhtdemucs, htdemucs_ft, htdemucs_6s, hdemucs_mmi, mdx, mdx_extra, mdx_q, or mdx_extra_qhtdemucs_6s

Demucs model to use for separation

Segment lengtha whole number from 1

Length in seconds of each segment for processing (minimum 1). Smaller values use less memory but may reduce quality. Default is model-specific.

Shifts1 to 101

Number of random shifts for equivariant stabilization. Higher values improve quality but increase processing time.

Overlap0 to 10.25

Overlap between segments (0.0 to 1.0). Higher values may improve quality but increase processing time.

Output formatwav or mp3mp3

Output audio format for the separated stems

Every API field of Demucs Stem Separation is on its tool page: open its card above.

What can you do with Demucs in Hermes?

Demucs makes recurring stem preparation possible for incoming music recordings. A scheduled agent can organize instrument references and collect results for a listening review.

Vocal practice

Extract the vocal stem from a song to study phrasing and entrances without the full accompaniment competing for attention.

Drum practice

Separate the drums for focused listening to fills, groove, and transitions before practicing the part.

Bass transcription preparation

Extract the bass stem as a listening reference while working out a bass line by ear.

Remix preparation

Separate a mixed recording into stems, then audition each stem before choosing material for an arrangement.

Guitar part study

Use the six-source model to extract a guitar reference for studying rhythm patterns and musical entrances.

Piano part exploration

Try the six-source model for a piano listening reference. Check carefully for other instruments bleeding through before relying on individual notes.

Questions about Demucs in Hermes

Can Hermes use Demucs?

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run Demucs like any built-in tool.

How much does Demucs cost in Hermes?

$0.00091 per second. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.

Do I need a fal account to use Demucs in Hermes?

No. Spiral runs Demucs on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Demucs in Hermes?

About two minutes: add the server and sign in, then check it.

Does Hermes wait while Demucs runs?

Demucs runs in the background. Hermes starts the run, checks on it and gives you the audio when it's ready.

What is Demucs useful for?

Demucs separates mixed music into vocals, drums, bass, and other accompaniment. Those stems give you material for instrument practice, vocal study, and remix preparation.

Can Demucs isolate guitar and piano?

Yes, with the experimental six-source model. The developers warn that the piano stem can contain substantial bleed and artifacts, so audition it before using it in an edit.

Will Demucs produce perfectly isolated instruments?

Treat the results as estimated stems and check them by ear. Piano separation has a documented problem with other instruments leaking through and audible artifacts.

Does the 7.8-second limit restrict the length of my song?

That limit applies to processing segments in Hybrid Transformer Demucs. Demucs can split a recording into chunks and combine their predictions, so segment length is different from song length.

When should I increase random shifts?

Try more shifts when separation quality matters more than processing time. Demucs averages repeated predictions, so compare the result with your first pass before adopting the change.

Get started

Start using Demucs in Hermes

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Hermes:

Set up Hermes

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options