How to Use Stable Audio 3 Small Music Base Audio Inpainting in Cursor
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 Cursor
Copy an example into Cursor, or ask in your own words.
Use Stable Audio 3 Small Music Base Audio Inpainting on the project's 60-second menu cue. Replace seconds 20–35 with sparse ambient piano and soft pads at 80 BPM, preserving the surrounding audio.
Read the game's audio brief, then use Stable Audio 3 Small Music Base Audio Inpainting to revise seconds 30–50 of the 90-second exploration cue with tense low strings and restrained percussion.
Use Stable Audio 3 Small Music Base Audio Inpainting on the project's 45-second trailer cue. Replace seconds 15–30 with an instrumental electronic build at 120 BPM, using pulsing bass and rising synth chords.
Use Stable Audio 3 Small Music Base Audio Inpainting to create three replacements for seconds 20–40 of the project's 60-second demo track. Keep its 100 BPM funk style and try different guitar and keyboard phrases.
Use Stable Audio 3 Small Music Base Audio Inpainting on the project's 30-second tutorial cue. Replace seconds 10–20 with quiet acoustic guitar and light percussion, leaving space for the narration added later.
How to set up Stable Audio 3 Small Music Base Audio Inpainting in Cursor
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.
Use the Spiral skill
- Send Cursor 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 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: Cursor 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 Cursor 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 Cursor?
Revise music assets in your project by regenerating selected passages while preserving the surrounding audio. A coding agent can use the project brief to draft concrete musical directions for each edit.
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 Cursor
Overview
Stable Audio 3 Small Music Base Audio Inpainting in other agents
Questions about Stable Audio 3 Small Music Base Audio Inpainting in Cursor
Can Cursor use Stable Audio 3 Small Music Base Audio Inpainting?
Yes. Add Spiral to Cursor as an MCP server, and Cursor 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 Cursor?
$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 Cursor plan is separate.
Do I need a fal account to use Stable Audio 3 Small Music Base Audio Inpainting in Cursor?
No. Spiral runs Stable Audio 3 Small Music Base Audio Inpainting on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Stable Audio 3 Small Music Base Audio Inpainting in Cursor?
About two minutes: add the hosted server, then sign in.
Does Cursor wait while Stable Audio 3 Small Music Base Audio Inpainting runs?
Stable Audio 3 Small Music Base Audio Inpainting runs in the background. Cursor 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 Cursor
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Cursor:
set up https://spiral.ai/SKILL.md


