How to Use Stable Audio 3 Medium Base Audio Inpainting in OpenClaw
Stable Audio 3 Medium Base Audio Inpainting replaces selected audio sections or continues a recording. Unlike Stable Audio 3 Medium, it uses the pre-trained checkpoint intended for fine-tuning, with about 50 sampling steps as a starting point.
Prompts to try with Stable Audio 3 Medium Base Audio Inpainting in OpenClaw
Copy an example into OpenClaw, or ask in your own words.
Every Monday, use Stable Audio 3 Medium Base Audio Inpainting to extend the approved 20-second podcast instrumental to 30 seconds, matching its existing instrumentation and mood; hold the result for review.
Each Friday, use Stable Audio 3 Medium Base Audio Inpainting to create one replacement for seconds 12 through 20 of the approved 30-second game cue, using restrained strings consistent with the surrounding music.
During the weekly audio review, use Stable Audio 3 Medium Base Audio Inpainting to regenerate seconds 6 through 10 of the approved 20-second forest ambience with matching wind and distant birds.
Every Tuesday, use Stable Audio 3 Medium Base Audio Inpainting to try a quieter final six seconds for the approved 30-second product-video instrumental; start with 50 sampling steps and prompt guidance set to 7.
Each morning, use Stable Audio 3 Medium Base Audio Inpainting on the next approved five-second mechanical effect, replacing seconds 1 through 3 with a heavier metallic clunk consistent with the surrounding sound.
How to set up Stable Audio 3 Medium Base Audio Inpainting in OpenClaw
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send OpenClaw 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 Spiral's MCP server
- Add the server
On the machine that runs OpenClaw's Gateway:
openclaw mcp add spiral \ --url https://api.spiral.ai/mcp \ --transport streamable-http \ --auth oauth
- Sign in
In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.
openclaw mcp login spiral
- Reload and check
A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.
openclaw mcp reload openclaw mcp doctor spiral --probe
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 Medium Base Audio Inpainting
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/medium/base/audio-inpainting", "input": { "prompt": "punchy kick drum fill", "audio_url": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav", "mask_start_seconds": 4, "mask_end_seconds": 8 } }'
Then paste one of the prompts above: OpenClaw finds Stable Audio 3 Medium Base Audio Inpainting on Spiral, shows the price and runs it.
Stable Audio 3 Medium Base Audio Inpainting providers and prices
Spiral runs Stable Audio 3 Medium Base Audio Inpainting through fal. Open a card for today's price, with every fee included.
$0.06981 per run at the default inputs.
Settings you can ask for
Stable Audio 3 Medium Base Audio Inpainting works from your prompt and audio URL. Ask OpenClaw 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. |
| Mask start seconds | 0 to 380 | Start of the region to regenerate, in seconds. | |
| Mask end seconds | 0 to 380 | End of the region to regenerate, in seconds. |
Every API field of Stable Audio 3 Medium Base Audio Inpainting · Audio Inpainting Medium Base is on its tool page: open its card above.
What can you do with Stable Audio 3 Medium Base Audio Inpainting in OpenClaw?
You can prepare recurring audio revisions from approved recordings and editing briefs. Have the agent produce candidates with explicit time ranges and descriptions that fit each recording.
Replace a drum fill
Rework a selected drum passage in an instrumental track. Describe a fill that fits the existing tempo, instrumentation, and energy.
Extend a podcast music bed
Continue an existing instrumental bed to cover a longer introduction. Request the same restrained instrumentation and mood.
Fill an ambient passage
Regenerate a selected section of an ambient recording for a game scene. Keep the requested sounds consistent with the surrounding environment.
Rework a video outro
Replace the ending of an instrumental cue with a quieter passage. Preserve the earlier music while trying a different closing arrangement.
Audition a different bridge
Try a new middle section in an unfinished composition. Request a change in instrumental texture that still fits the surrounding track.
Revise a sound effect
Regenerate a selected portion of an existing effect, such as an impact or mechanical sound. Describe the desired character without replacing the entire recording.
More on Stable Audio 3 Medium Base Audio Inpainting and OpenClaw
Overview
Stable Audio 3 Medium Base Audio Inpainting in other agents
Questions about Stable Audio 3 Medium Base Audio Inpainting in OpenClaw
Can OpenClaw use Stable Audio 3 Medium Base Audio Inpainting?
Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Stable Audio 3 Medium Base Audio Inpainting like any built-in tool.
How much does Stable Audio 3 Medium Base Audio Inpainting cost in OpenClaw?
$0.06981 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 OpenClaw plan is separate.
Do I need a fal account to use Stable Audio 3 Medium Base Audio Inpainting in OpenClaw?
No. Spiral runs Stable Audio 3 Medium Base Audio Inpainting 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 Medium Base Audio Inpainting in OpenClaw?
About two minutes: add the server, then sign in, then reload and check.
Does OpenClaw wait while Stable Audio 3 Medium Base Audio Inpainting runs?
Stable Audio 3 Medium Base Audio Inpainting runs in the background. OpenClaw starts the run, checks on it and gives you the audio when it's ready.
What does audio inpainting change?
It regenerates a selected section using your description and the surrounding recording. Audio outside the selected region is preserved, so you can revise a passage without rebuilding the entire track.
Can it continue an unfinished recording?
Yes. Stable Audio 3 supports continuing existing recordings, which makes it useful for extending an instrumental bed, an outro, or an ambient passage.
Can it generate narration or spoken dialogue?
Stable Audio 3 is not designed for speech or voice generation. Use it for instrumental passages and sound edits rather than narration.
Which language should I use for prompts?
Write audio descriptions in English. Stability AI says the model was trained on English descriptions and that other languages will underperform.
How should I describe a replacement section?
Describe the sound you want, including instruments, genre, mood, and tempo where relevant. Keep the request plausible for the surrounding audio, such as a restrained drum fill within an existing jazz passage.
Start using Stable Audio 3 Medium Base Audio Inpainting in OpenClaw
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into OpenClaw:
set up https://spiral.ai/SKILL.md


