How to Use Stable Audio 3 Small Music Outpainting in Claude Code
Stable Audio 3 Small Music Outpainting extends an existing recording with new instrumental music. Unlike Stable Audio 3 Small SFX, it targets music, making it useful for longer backing tracks, additional phrases, and outros.
Prompts to try with Stable Audio 3 Small Music Outpainting in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Stable Audio 3 Small Music Outpainting to extend assets/audio/menu.wav from 30 to 60 seconds. Continue its quiet ambient synth arrangement without vocals.
Use Stable Audio 3 Small Music Outpainting on the project's 40-second demo music cue. Add 20 seconds of the same light electronic groove for the closing screen.
Use Stable Audio 3 Small Music Outpainting to continue assets/audio/piano-sketch.wav from 20 to 40 seconds. Request another delicate solo piano phrase with room reverb.
Use Stable Audio 3 Small Music Outpainting on the 45-second trailer music asset. Add a 15-second instrumental outro with fewer drums and a gentle resolution.
Use Stable Audio 3 Small Music Outpainting to extend the project's 30-second house cue by 15 seconds. Request a rising synth phrase and a stronger drum entrance.
How to set up Stable Audio 3 Small Music Outpainting in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code 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 Outpainting
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/audio-outpainting", "input": { "prompt": "soft strings continue the melody", "audio_url": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav" } }'
Then paste one of the prompts above: Claude Code finds Stable Audio 3 Small Music Outpainting on Spiral, shows the price and runs it.
Stable Audio 3 Small Music Outpainting providers and prices
Spiral runs Stable Audio 3 Small Music Outpainting through fal. Open a card for today's price, with every fee included.
$0.03445 per run at the default inputs.
Settings you can ask for
Stable Audio 3 Small Music Outpainting works from your prompt and audio URL. Ask Claude Code 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 | 8 | Number of sampling steps. Post-trained (distilled) checkpoints look good with the default 8 and gain little from going higher. |
| Guidance scale | 0 to 25 | 1 | Classifier-free guidance scale. Higher values follow the prompt more strictly. Only effective on base (non-distilled) 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. |
| Extend seconds before | 0 to 120 | 0 | Seconds of new audio to generate before the source audio. |
| Extend seconds after | 0 to 120 | 0 | Seconds of new audio to generate after the source audio. |
Every API field of Stable Audio 3 Small Music Audio Outpainting · Audio Outpainting Small Music is on its tool page: open its card above.
What can you do with Stable Audio 3 Small Music Outpainting in Claude Code?
Extend music assets for a game, app demo, or short video using an existing recording as context. A coding agent can pair the project's timing requirements with a specific instrumental continuation brief.
Extend a podcast music bed
Continue an existing instrumental bed beneath a longer spoken introduction. Ask for the same instrumentation and restrained energy.
Finish a short video backing track
Extend a music cue to cover the final shots of a short edit. Describe how the continuation should develop or settle.
Develop a musical sketch
Use a recorded instrumental idea as context for another phrase. Explore where the melody and arrangement could go next.
Draft an outro
Continue a cue with a quieter closing section. Request fewer instruments and a gentle resolution, then audition the ending.
Build an electronic transition
Extend an electronic instrumental with a buildup or drop that fits its existing sound. Use the recording to guide the transition.
Explore alternative continuations
Start from the same music clip and request different next sections, such as a sparse passage or a fuller arrangement. Compare the musical direction before committing.
More on Stable Audio 3 Small Music Outpainting and Claude Code
Overview
Stable Audio 3 Small Music Outpainting in other agents
Questions about Stable Audio 3 Small Music Outpainting in Claude Code
Can Claude Code use Stable Audio 3 Small Music Outpainting?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Stable Audio 3 Small Music Outpainting like any built-in tool.
How much does Stable Audio 3 Small Music Outpainting cost in Claude Code?
$0.03445 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 Claude Code plan is separate.
Do I need a fal account to use Stable Audio 3 Small Music Outpainting in Claude Code?
No. Spiral runs Stable Audio 3 Small Music Outpainting 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 Outpainting in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Stable Audio 3 Small Music Outpainting runs?
Stable Audio 3 Small Music Outpainting runs in the background. Claude Code starts the run, checks on it and gives you the audio when it's ready.
What does audio outpainting do?
Stable Audio 3 Small Music Outpainting adds new music beyond an existing recording's endpoint. The source audio and your description guide the continuation.
How long can the music be?
Stability AI documents a two-minute generation limit for Stable Audio 3 Small. Plan the source and continuation to fit within 120 seconds rather than assuming you can add two minutes to any recording.
Can it continue a song with understandable lyrics?
Stable Audio 3 does not produce intelligible vocals. Use it for instrumental continuations rather than a sung verse with specific words.
What should I put in a continuation prompt?
Name the genre, main instruments, rhythm, mood, and intended arrangement. Describe a next section that fits the recording, such as another quiet piano phrase or a gradual electronic build.
Should I write the prompt in English?
Yes. Stable Audio 3 was trained on English descriptions, and the maker warns that other languages will underperform.
Start using Stable Audio 3 Small Music Outpainting in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


