How to Use Stable Audio 3 Small SFX Base Audio Outpainting in Codex
Stable Audio 3 Small SFX Base Audio Outpainting extends existing sound effects with text-guided audio. Unlike Stable Audio 3 Small SFX, it uses the pre-trained checkpoint that Stability AI primarily recommends for fine-tuning.
Prompts to try with Stable Audio 3 Small SFX Base Audio Outpainting in Codex
Copy an example into Codex, or ask in your own words.
Use Stable Audio 3 Small SFX Base Audio Outpainting to extend assets/audio/rain.wav from 12 to 30 seconds. Continue rain tapping the same metal roof, with steady intensity and no new sound sources.
Use Stable Audio 3 Small SFX Base Audio Outpainting on the project's 8-second engine-idle recording. Add 12 seconds of the same low motor rumble and loose-panel rattle, using 50 sampling steps and guidance 7.
Use Stable Audio 3 Small SFX Base Audio Outpainting to add 10 seconds after assets/audio/cave.wav. Continue the existing water drips and hollow air movement for the cave scene, then save a separate candidate for review.
Use Stable Audio 3 Small SFX Base Audio Outpainting on assets/audio/footsteps.wav. Extend the 6-second recording by 6 seconds with the same walking pace, hard-soled shoes, and wooden floor.
Use Stable Audio 3 Small SFX Base Audio Outpainting to extend the project's 3-second metal-impact recording by 4 seconds. Request only the lingering metallic resonance fading into the existing room tone.
How to set up Stable Audio 3 Small SFX Base Audio Outpainting in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex 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 SFX Base Audio 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/sfx/base/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: Codex finds Stable Audio 3 Small SFX Base Audio Outpainting on Spiral, shows the price and runs it.
Stable Audio 3 Small SFX Base Audio Outpainting providers and prices
Spiral runs Stable Audio 3 Small SFX Base Audio Outpainting through fal. Open a card for today's price, with every fee included.
$0.04381 per run at the default inputs.
Settings you can ask for
Stable Audio 3 Small SFX Base Audio Outpainting works from your prompt and audio URL. Ask Codex 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. |
| 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 SFX Base Audio Outpainting · Audio Outpainting Small SFX Base is on its tool page: open its card above.
What can you do with Stable Audio 3 Small SFX Base Audio Outpainting in Codex?
Extend project sound effects to fit longer game scenes, animations, or video edits. Use the project's existing recordings and timing requirements to write continuation requests that stay within two minutes.
Room tone for longer edits
Extend an existing room recording to cover a longer scene. Describe the same ventilation hum, distant activity, and room character.
Weather ambience
Continue a rain or wind recording for a video background. Request the same weather intensity and recording perspective.
Game environment sounds
Lengthen an existing cave, forest, or industrial ambience for a game scene. Keep the requested sound sources consistent with the original.
Mechanical sound sequences
Continue a recording of an idling motor, rattling machine, or moving mechanism to fit a longer animation.
Longer Foley passages
Extend a short passage of footsteps, fabric movement, or object handling. Describe the material, action, and pace you want continued.
Sound-effect tails
Try extending the decay of a metallic impact or resonant object recording. Ask for the existing resonance to fade rather than introducing another impact.
More on Stable Audio 3 Small SFX Base Audio Outpainting and Codex
Overview
Stable Audio 3 Small SFX Base Audio Outpainting in other agents
Questions about Stable Audio 3 Small SFX Base Audio Outpainting in Codex
Can Codex use Stable Audio 3 Small SFX Base Audio Outpainting?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Stable Audio 3 Small SFX Base Audio Outpainting like any built-in tool.
How much does Stable Audio 3 Small SFX Base Audio Outpainting cost in Codex?
$0.04381 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 Codex plan is separate.
Do I need a fal account to use Stable Audio 3 Small SFX Base Audio Outpainting in Codex?
No. Spiral runs Stable Audio 3 Small SFX Base Audio 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 SFX Base Audio Outpainting in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Stable Audio 3 Small SFX Base Audio Outpainting runs?
Stable Audio 3 Small SFX Base Audio Outpainting runs in the background. Codex starts the run, checks on it and gives you the audio when it's ready.
What is Stable Audio 3 Small SFX Base Audio Outpainting useful for?
It extends an existing sound-effect recording using a text description. Practical uses include adding more rain, continuing a machine sound, or lengthening background ambience.
How long can the audio be?
Stability AI documents a 120-second maximum for Small SFX. Plan the source and added audio to fit within two minutes.
What audio quality does Small SFX Base generate?
The checkpoint configuration specifies two audio channels at 44.1 kHz. That means stereo audio; it does not guarantee that every generated continuation will sound convincing.
What does Base mean?
Base is the pre-trained checkpoint that Stability AI primarily recommends for fine-tuning. Its model card recommends Stable Audio 3 Small SFX when the goal is direct audio generation.
How should I describe the continuation?
Name the sound source and its action, such as rain tapping a metal roof or an engine idling. Keep the requested continuation plausible for the recording: a related sound is a better starting point than an abrupt change of scene.
Start using Stable Audio 3 Small SFX Base Audio Outpainting in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


