How to Use Stable Audio 3 Small Music Base Audio to Audio in Claude Code
Restyle an existing recording into music up to two minutes long. Unlike Stable Audio 3 Small Music Base Text to Audio, it uses source audio, with noise strength controlling how much survives.
Prompts to try with Stable Audio 3 Small Music Base Audio to Audio in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Stable Audio 3 Small Music Base Audio to Audio to restyle the project's existing 30-second music cue as a mellow jazz instrumental with brushed drums, upright bass, and soft piano.
Use Stable Audio 3 Small Music Base Audio to Audio to turn the project's supplied 60-second music sketch toward ambient electronic music with sustained synth chords, sparse percussion, and a reflective mood.
Compose a 30-second upbeat lo-fi track with Stable Audio 3 Small Music Base Audio to Audio for a product video. Save the result in ./assets.
Make a calm piano loop with Stable Audio 3 Small Music Base Audio to Audio for a meditation app.
Create a cinematic 20-second intro sting with Stable Audio 3 Small Music Base Audio to Audio.
How to set up Stable Audio 3 Small Music Base Audio to Audio 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 Base Audio to Audio
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-to-audio", "input": { "prompt": "bossa nova bassline", "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 Base Audio to Audio on Spiral, shows the price and runs it.
Stable Audio 3 Small Music Base Audio to Audio providers and prices
Spiral runs Stable Audio 3 Small Music Base Audio to Audio through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Stable Audio 3 Small Music Base Audio to Audio 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. | |
| Duration | 1 to 120 | 30 | Duration of the generated audio in seconds. |
| 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. |
| Init noise level | 0 to 1 | 0.9 | How much noise to add to the source audio. 1.0 fully replaces the audio with noise (pure generation); 0.1 keeps the source close to the input. 0.5 sits halfway between. |
Every API field of Stable Audio 3 Small Music Base · Audio to Audio is on its tool page: open its card above.
What can you do with Stable Audio 3 Small Music Base Audio to Audio in Claude Code?
Create instrumental music drafts for games, demos, and recorded walkthroughs from the project's creative brief. A coding agent can turn scene descriptions into specific music requests and organize cues up to two minutes long.
Podcast background music
Draft a restrained instrumental bed under spoken audio, either from a written brief or by restyling a supplied music recording. Try soft piano, sparse percussion, and low energy.
Product demo soundtracks
Create a 30- to 60-second instrumental cue for a screen recording. Start with a music brief or an existing recording, and describe the desired instruments and energy.
Game menu music
Explore up to two minutes of instrumental music for a game's menu or lobby. Generate from a description or use a supplied recording as the starting point; audition the result against the scene.
Short film score sketches
Test a scene's musical direction before recording a score. Describe a tense string arrangement or quiet piano cue, or restyle a supplied music sketch toward that direction.
Presentation music
Prepare a short instrumental cue for an opening slide or recorded presentation. Work from a written description or supplied music, keeping the arrangement sparse enough to audition alongside narration.
Music direction comparisons
Compare jazz, electronic, and acoustic treatments of a creative brief. Generate separate text-based drafts or apply each direction to the same supplied recording.
More on Stable Audio 3 Small Music Base Audio to Audio and Claude Code
Overview
Stable Audio 3 Small Music Base Audio to Audio in other agents
Questions about Stable Audio 3 Small Music Base Audio to Audio in Claude Code
Can Claude Code use Stable Audio 3 Small Music Base Audio to Audio?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Stable Audio 3 Small Music Base Audio to Audio like any built-in tool.
How much does Stable Audio 3 Small Music Base Audio to Audio cost in Claude Code?
$0.0416 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 Base Audio to Audio in Claude Code?
No. Spiral runs Stable Audio 3 Small Music Base Audio to Audio 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 to Audio in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Stable Audio 3 Small Music Base Audio to Audio runs?
Stable Audio 3 Small Music Base Audio to Audio runs in the background. Claude Code starts the run, checks on it and gives you the audio when it's ready.
What is Stable Audio 3 Small Music Base useful for?
Use it to explore instrumental music ideas for video, podcasts, games, and demos, with clips up to two minutes long. Base is the pretrained checkpoint that Stability AI positions for fine-tuning.
How long can the music be?
Stable Audio 3 Small Music Base supports music up to 120 seconds long. Keep each requested cue within that limit.
Can it sing lyrics or record narration?
Stable Audio 3 is intended for instrumental audio, and it is not designed for voice generation. Its prompting guide warns that vocal sounds can be unintelligible, so use it for the music underneath speech.
What should I include in a music prompt?
Describe the genre, instruments, mood, energy, and desired tempo in BPM. For example: mellow jazz instrumental, brushed drums, upright bass, soft piano, restrained energy, 85 BPM.
Which generation settings deserve attention?
Start around 50 sampling steps and guidance 7 for Stable Audio 3 Small Music Base. Higher guidance follows the written description more strictly; compare the results by listening.
Start using Stable Audio 3 Small Music Base Audio to Audio 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


