How to Use Stable Audio 3 Medium Base Audio Inpainting in Perplexity
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 Perplexity
Copy an example into Perplexity, or ask in your own words.
Use Stable Audio 3 Medium Base Audio Inpainting to replace seconds 10 through 16 of my 30-second instrumental with warm electric piano and restrained percussion matching the surrounding music.
Use Stable Audio 3 Medium Base Audio Inpainting to continue my 20-second acoustic guitar recording to 30 seconds, keeping its gentle fingerpicking and quiet mood.
Use Stable Audio 3 Medium Base Audio Inpainting to rework seconds 18 through 24 of my 30-second jazz cue with a soft brushed-drum fill; start with 50 sampling steps and prompt guidance set to 7.
Use Stable Audio 3 Medium Base Audio Inpainting to replace the final eight seconds of my 30-second ambient cue with sparse piano notes and a soft sustained pad.
Use Stable Audio 3 Medium Base Audio Inpainting to regenerate seconds 4 through 8 of my 15-second rain recording with steady rainfall that fits the surrounding sound.
How to set up Stable Audio 3 Medium Base Audio Inpainting in Perplexity
Pick the way that suits you. Each takes about two minutes.
Use the Perplexity connector
- Add a remote connector
In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Perplexity 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 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: Perplexity 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 Perplexity 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 Perplexity?
You can try a different passage or extend a recording while keeping the audio around it. Describe the desired sound in English and give the agent a clear editing interval.
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 Perplexity
Overview
Stable Audio 3 Medium Base Audio Inpainting in other agents
Questions about Stable Audio 3 Medium Base Audio Inpainting in Perplexity
Can Perplexity use Stable Audio 3 Medium Base Audio Inpainting?
Yes. Add Spiral to Perplexity as an MCP server, and Perplexity 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 Perplexity?
$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 Perplexity plan is separate.
Do I need a fal account to use Stable Audio 3 Medium Base Audio Inpainting in Perplexity?
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 Perplexity?
About two minutes: add a remote connector, then sign in to Spiral and approve.
Does Perplexity wait while Stable Audio 3 Medium Base Audio Inpainting runs?
Stable Audio 3 Medium Base Audio Inpainting runs in the background. Perplexity 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 Perplexity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Perplexity:
set up https://spiral.ai/SKILL.md


