How to Use Stable Audio 2.5 Inpaint in Cursor
Stable Audio 2.5 Inpaint regenerates a selected passage or continues a recording using its existing context. Unlike Stable Audio 2.5 Audio to Audio, it lets you keep an original section while generating a different continuation.
Prompts to try with Stable Audio 2.5 Inpaint in Cursor
Copy an example into Cursor, or ask in your own words.
Use Stable Audio 2.5 Inpaint on the project's 60-second trailer cue. Regenerate seconds 40 through 60 with cinematic strings, low brass, and a restrained ending, using the opening as context.
Compose a 30-second upbeat lo-fi track with Stable Audio 2.5 Inpaint for a product video. Save the result in ./assets.
Make a calm piano loop with Stable Audio 2.5 Inpaint for a meditation app.
Create a cinematic 20-second intro sting with Stable Audio 2.5 Inpaint.
Make three 15-second jingle options with Stable Audio 2.5 Inpaint for a podcast ad break.
How to set up Stable Audio 2.5 Inpaint 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 2.5 Inpaint
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-25/inpaint", "input": { "prompt": "Lofi hip hop beat, chillhop", "audio_url": "https://v3.fal.media/files/elephant/t0ZrzW_ueetXrr3NUa87F_a2a_in.mp3" } }'
Then paste one of the prompts above: Cursor finds Stable Audio 2.5 Inpaint on Spiral, shows the price and runs it.
Stable Audio 2.5 Inpaint providers and prices
Spiral runs Stable Audio 2.5 Inpaint through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Stable Audio 2.5 Inpaint works from your prompt and audio URL. Ask Cursor for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seconds total | 1 to 190 | 190 | The duration of the audio clip to generate. If not provided, it will be set to the duration of the input audio. |
| Guidance scale | 1 to 25 | 1 | How strictly the diffusion process adheres to the prompt text (higher values make your audio closer to your prompt). |
| Mask start | 0 to 190 | 30 | The start point of the audio mask |
| Mask end | 0 to 190 | 190 | The end point of the audio mask |
| Number of inference steps | 4 to 8 | 8 | The number of steps to denoise the audio for |
| Seed | a whole number |
Every API field of Stable Audio 25 · Inpaint is on its tool page: open its card above.
What can you do with Stable Audio 2.5 Inpaint in Cursor?
Turn a project's creative brief into soundtrack drafts, alternate treatments, or revised passages with Stable Audio 2.5. A coding agent can use scene descriptions and existing audio assets to prepare concrete musical directions for review.
Music for short ads
Draft a cue from a brief, restyle an existing recording, or regenerate a passage for a different edit. Describe the instruments and mood that should support the product.
Game menu music
Develop a restrained instrumental cue for a title screen. Start from a written direction, reinterpret a demo, or revise a section of an existing cue.
Boss battle scoring
Explore percussion, bass, and orchestral or electronic instrumentation for a combat cue. Generate a first take, restyle a recording, or replace a passage that needs a different energy level.
Short video soundtracks
Create a musical direction for a travel film, product demonstration, or opening sequence. Use text for a first draft, source audio for reinterpretation, or inpainting for a revised continuation.
Podcast intro and outro cues
Develop brief instrumental openings and endings with a clear mood and instrument palette. Draft from text, restyle a recorded theme, or regenerate its closing passage.
Revise a soundtrack ending
Keep the opening of an existing cue and regenerate its closing section. Supply the replacement interval and describe an ending that fits the preceding music.
More on Stable Audio 2.5 Inpaint and Cursor
Overview
Stable Audio 2.5 Inpaint in other agents
Questions about Stable Audio 2.5 Inpaint in Cursor
Can Cursor use Stable Audio 2.5 Inpaint?
Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Stable Audio 2.5 Inpaint like any built-in tool.
How much does Stable Audio 2.5 Inpaint cost in Cursor?
$0.26 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 2.5 Inpaint in Cursor?
No. Spiral runs Stable Audio 2.5 Inpaint 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 2.5 Inpaint in Cursor?
About two minutes: add the hosted server, then sign in.
Does Cursor wait while Stable Audio 2.5 Inpaint runs?
Stable Audio 2.5 Inpaint runs in the background. Cursor starts the run, checks on it and gives you the audio when it's ready.
How long can Stable Audio 2.5 audio be?
A single output can run up to 190 seconds, or 3 minutes 10 seconds. Plan longer productions as separate cues.
What audio quality does Stable Audio 2.5 produce?
Stable Audio 2.5 produces 44.1 kHz stereo audio. That describes the sample rate and channels; listen to each result before choosing a production take.
What should I include in a Stable Audio 2.5 prompt?
Describe the genre, instruments, mood, and tempo, then add texture such as soft percussion or a dry guitar recording. Give it a concrete musical target instead of a broad request like background music.
Can Stable Audio 2.5 make music that develops over time?
Yes. Stability describes improved support for compositions with an introduction, development, and outro, so it is useful for cues that need an arc rather than one repeating section.
Why does my Stable Audio 2.5 result miss the sound I wanted?
Make the acoustic description more specific: name the instruments, musical style, mood, and texture. Treat each result as a draft and refine the description around what you hear.
Start using Stable Audio 2.5 Inpaint 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


