How to Use Stable Audio 3 Small Music Base Audio Inpainting in n8n
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 n8n
Copy an example into n8n, or ask in your own words.
Every Monday, use Stable Audio 3 Small Music Base Audio Inpainting on the supplied 60-second podcast cue. Create a quieter replacement for seconds 20–35 with soft piano and restrained percussion.
Each Friday, use Stable Audio 3 Small Music Base Audio Inpainting on the supplied 90-second game cue. Create one alternate passage for seconds 30–50 with tense strings and low drums.
Every morning, use Stable Audio 3 Small Music Base Audio Inpainting on the supplied 45-second electronic demo. Try a new instrumental build between seconds 15 and 30 at 120 BPM.
Once a week, use Stable Audio 3 Small Music Base Audio Inpainting on the supplied 60-second funk track. Make three replacements for seconds 20–40, each featuring a different lead instrument.
Every Tuesday, use Stable Audio 3 Small Music Base Audio Inpainting on the supplied 30-second video cue. Replace seconds 10–20 with a calm acoustic passage for review.
How to set up Stable Audio 3 Small Music Base Audio Inpainting in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- 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
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run Stable Audio 3 Small Music Base Audio Inpainting in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Stable Audio 3 Small Music Base Audio Inpainting, prices it and runs it each time the step fires.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: n8n 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.
$0.04329 per run at the default inputs.
Settings you can ask for
Stable Audio 3 Small Music Base Audio Inpainting works from your prompt and audio URL. Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Negative prompt | what to leave out, in words | Text description of qualities to avoid in the output. | |
| Number of inference steps | 1 to 100 | 50 | Number of sampling steps. Base (non-distilled) checkpoints typically need ~50 for good quality. |
| Guidance scale | 0 to 25 | 7 | Classifier-free guidance scale. Higher values follow the prompt more strictly; ~7.0 is a good starting point for base checkpoints. |
| Seed | a whole number | Random seed for reproducible outputs. Omit for a random seed. | |
| Enable prompt expansion | on or off | off | If True, the prompt will be expanded using an LLM for more detailed and higher quality results. |
| Output format | mp3, wav, flac, ogg, opus, m4a, or aac | mp3 | Container format for the generated audio output. |
| Mask start seconds | 0 to 120 | Start of the region to regenerate, in seconds. | |
| Mask end seconds | 0 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 n8n?
Produce recurring music edit candidates from recordings and briefs supplied to the agent. Scheduled runs can revisit selected sections with different musical directions for later review.
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.
More on Stable Audio 3 Small Music Base Audio Inpainting and n8n
Overview
Stable Audio 3 Small Music Base Audio Inpainting in other agents
Questions about Stable Audio 3 Small Music Base Audio Inpainting in n8n
Can n8n use Stable Audio 3 Small Music Base Audio Inpainting?
Yes. Add Spiral to n8n as an MCP server, and n8n 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 n8n?
$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 n8n plan is separate.
Do I need a fal account to use Stable Audio 3 Small Music Base Audio Inpainting in n8n?
You need no fal account. n8n 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 n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while Stable Audio 3 Small Music Base Audio Inpainting runs?
Stable Audio 3 Small Music Base Audio Inpainting runs in the background. n8n 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.
Start using Stable Audio 3 Small Music Base Audio Inpainting in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


