How to Use Stable Audio 3 Small Music Audio to Audio in Claude Code
Stable Audio 3 Small Music Audio to Audio turns a recording into text-guided music variations up to two minutes long. Unlike Stable Audio 3 Small Music Text to Audio, it starts from existing audio, making it useful for restyling demos.
Prompts to try with Stable Audio 3 Small Music Audio to Audio in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use the project's existing 30-second menu music as the starting recording for Stable Audio 3 Small Music Audio to Audio. Make a text-guided variation with warmer electric piano, softer percussion, and a relaxed instrumental feel.
Use Stable Audio 3 Small Music Audio to Audio on the project's demo theme recording to explore a 45-second synthpop treatment with rounded synth bass, bright keyboard chords, and an instrumental arrangement.
Compose a 30-second upbeat lo-fi track with Stable Audio 3 Small Music Audio to Audio for a product video. Save the result in ./assets.
Make a calm piano loop with Stable Audio 3 Small Music Audio to Audio for a meditation app.
Create a cinematic 20-second intro sting with Stable Audio 3 Small Music Audio to Audio.
How to set up Stable Audio 3 Small Music 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 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/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 Audio to Audio on Spiral, shows the price and runs it.
Stable Audio 3 Small Music Audio to Audio providers and prices
Spiral runs Stable Audio 3 Small Music 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 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 | 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. |
| 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 · Audio to Audio is on its tool page: open its card above.
What can you do with Stable Audio 3 Small Music Audio to Audio in Claude Code?
Draft instrumental music for game scenes, product demos, and prototypes directly from project briefs. A coding agent can turn those briefs into English music descriptions and keep each cue within two minutes.
Podcast intro music
Draft a short instrumental opening with a clear musical identity. Start from a written brief or rework an existing intro recording.
Game menu scores
Explore instrumental music for a puzzle menu, quiet village, or tense mission screen. Create a fresh cue or restyle a reference recording.
Product video backing tracks
Draft a 30-second instrumental for a product demonstration. Describe the instruments and energy, using an existing music draft when available.
Short film score sketches
Try musical directions for a scene before committing to an arrangement. Compare sparse piano, acoustic guitar, and synth-led treatments.
Solo instrument studies
Explore a single instrument's playing style and recording character. Generate a new part or use a recording as the starting point.
Alternate demo arrangements
Use Stable Audio 3 Small Music Audio to Audio to explore a different musical direction from an existing demo.
More on Stable Audio 3 Small Music Audio to Audio and Claude Code
Overview
Stable Audio 3 Small Music Audio to Audio in other agents
Questions about Stable Audio 3 Small Music Audio to Audio in Claude Code
Can Claude Code use Stable Audio 3 Small Music 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 Audio to Audio like any built-in tool.
How much does Stable Audio 3 Small Music Audio to Audio cost in Claude Code?
$0.03224 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 Audio to Audio in Claude Code?
No. Spiral runs Stable Audio 3 Small Music 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 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 Audio to Audio runs?
Stable Audio 3 Small Music Audio to Audio runs in the background. Claude Code starts the run, checks on it and gives you the audio when it's ready.
How long can Stable Audio 3 Small Music tracks be?
Tracks can be up to two minutes long. Keep individual cues within that limit.
Can Stable Audio 3 Small Music generate narration or singing?
Use it for instrumental music. Stable Audio 3 is not designed for speech or voice generation.
Which language should I use for music descriptions?
Write descriptions in English. The maker says prompts in other languages underperform because training used English descriptions.
What audio quality does Stable Audio 3 Small Music produce?
The native audio is 44.1 kHz stereo.
How should I describe the music I want?
Name the instruments and describe how they should sound or feel. For example, request delicate fingerpicked guitar with roomy reverb instead of simply asking for guitar music.
Start using Stable Audio 3 Small Music 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


