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

Muse · Audio

How to Use Stable Audio 3 Small Music Base Audio Inpainting in Muse

Stable Audio 3 Small Music Base Audio Inpainting replaces selected music sections using text and surrounding audio. Unlike Stable Audio 3 Small Music, it uses the base checkpoint, which Stability AI positions for fine-tuning.

Prompts to try with Stable Audio 3 Small Music Base Audio Inpainting in Muse

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

Use Stable Audio 3 Small Music Base Audio Inpainting on the 60-second instrumental I provided. Replace seconds 20–35 with warm electric piano and soft jazz drums at 90 BPM.

Stable Audio 3 Small Music Base Audio InpaintingMuse
Try asking
  • Use Stable Audio 3 Small Music Base Audio Inpainting to replace seconds 15–30 of my 45-second electronic cue. Aim for a restrained house build at 124 BPM with muted bass and gradually opening synth chords.

  • Use Stable Audio 3 Small Music Base Audio Inpainting on my 90-second acoustic demo. Rework seconds 40–60 into a delicate fingerpicked guitar passage with a calm mood.

  • Use Stable Audio 3 Small Music Base Audio Inpainting on my 60-second funk instrumental. Try three different replacements for seconds 20–40: electric piano, clean guitar, and muted brass.

  • Use Stable Audio 3 Small Music Base Audio Inpainting to soften seconds 10–25 of my 40-second background cue. Ask for sparse piano, gentle pads, and low energy.

How to set up Stable Audio 3 Small Music Base Audio Inpainting in Muse

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

Use the Muse connector

  1. Create an API key

    Create one under API keys in the Spiral console.

  2. Send Muse this message

    Muse reads Spiral's skill and asks for an API key.

    set up https://spiral.ai/SKILL.md
  3. Give Muse the key

    Paste the key when Muse asks for it, never in the chat itself.

Use the Spiral skill

  1. Send Muse 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 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 Stable Audio 3 Small Music Base Audio Inpainting

    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/stable-audio-3/small/music/base/audio-inpainting",
        "input": {
          "prompt": "punchy kick drum fill",
          "audio_url": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav",
          "mask_start_seconds": 4,
          "mask_end_seconds": 8
        }
      }'

Then paste one of the prompts above: Muse finds Stable Audio 3 Small Music Base Audio Inpainting on Spiral, shows the price and runs it.

Stable Audio 3 Small Music Base Audio Inpainting providers and prices

Spiral runs Stable Audio 3 Small Music Base Audio Inpainting through fal. Open a card for today's price, with every fee included.

falAudio

Settings you can ask for

Stable Audio 3 Small Music Base Audio Inpainting works from your prompt and audio URL. Ask Muse for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

Text description of qualities to avoid in the output.

Number of inference steps1 to 10050

Number of sampling steps. Base (non-distilled) checkpoints typically need ~50 for good quality.

Guidance scale0 to 257

Classifier-free guidance scale. Higher values follow the prompt more strictly; ~7.0 is a good starting point for base checkpoints.

Seeda whole number

Random seed for reproducible outputs. Omit for a random seed.

Enable prompt expansionon or offoff

If True, the prompt will be expanded using an LLM for more detailed and higher quality results.

Output formatmp3, wav, flac, ogg, opus, m4a, or aacmp3

Container format for the generated audio output.

Mask start seconds0 to 120

Start of the region to regenerate, in seconds.

Mask end seconds0 to 120

End of the region to regenerate, in seconds.

Every API field of Stable Audio 3 Small Music Base Audio Inpainting · Audio Inpainting Small Music Base is on its tool page: open its card above.

What can you do with Stable Audio 3 Small Music Base Audio Inpainting in Muse?

Explore alternate passages in an existing music recording without replacing the whole track. A chat app can turn a musical idea into a clear edit request that names the instruments, mood, and tempo.

Revise a podcast music break

Replace a busy section of an existing instrumental cue with softer piano and restrained percussion before the narration resumes.

Try a different drum fill

Regenerate a selected passage in a music demo with a new drum fill while preserving the surrounding track.

Rework a game music transition

Edit a section of an existing game cue to explore a shift from sparse ambient music into a more tense passage.

Revise a short video soundtrack

Replace a selected passage in an instrumental soundtrack with a lower energy arrangement for a quieter scene.

Explore a new solo passage

Regenerate part of an instrumental demo with a guitar or keyboard solo described by playing style, mood, and tempo.

Compare alternate music builds

Create several replacements for the same section of a short electronic cue, changing the instruments or energy in each prompt.

Questions about Stable Audio 3 Small Music Base Audio Inpainting in Muse

Can Muse use Stable Audio 3 Small Music Base Audio Inpainting?

Yes. Add Spiral to Muse as an MCP server, and Muse can find and run Stable Audio 3 Small Music Base Audio Inpainting like any built-in tool.

How much does Stable Audio 3 Small Music Base Audio Inpainting cost in Muse?

$0.04329 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse plan is separate.

Do I need a fal account to use Stable Audio 3 Small Music Base Audio Inpainting in Muse?

You need no fal account. Muse uses one Spiral API key for every tool, and Spiral runs Stable Audio 3 Small Music Base Audio Inpainting on its own fal account.

How long does it take to set up Stable Audio 3 Small Music Base Audio Inpainting in Muse?

About two minutes: create an API key, then send Muse this message, then give Muse the key.

Does Muse wait while Stable Audio 3 Small Music Base Audio Inpainting runs?

Stable Audio 3 Small Music Base Audio Inpainting runs in the background. Muse starts the run, checks on it and gives you the audio when it's ready.

What does audio inpainting change?

Stable Audio 3 Small Music Base Audio Inpainting regenerates a selected section of an existing music recording. Audio outside that section is preserved.

How long can the audio be, and what quality does it produce?

The small music model supports up to two minutes of audio. Stable Audio 3 produces stereo audio at 44.1 kHz.

Can it generate lyrics or spoken dialogue?

Stable Audio 3 does not produce intelligible sung vocals and is not designed for speech generation. Use it for instrumental music edits; vocal textures can still appear.

What should I put in the prompt?

Write in English and describe the desired genre, instruments, mood, and tempo. Explain what the replacement section should sound like, with details such as soft piano, restrained drums, or a tense synth build.

Why did my edit sound almost unchanged?

A very short edit region leaves surrounding audio that can dominate the result. Try a larger section first, then narrow the edit on later passes.

Get started

Start using Stable Audio 3 Small Music Base Audio Inpainting in Muse

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

Paste this into Muse:

Set up Muse

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