Spiral gives your agent every tool with one account. Browse the tools →

falAudioAvailable nowReleased 2025-09-10

Stable Audio 25 · Inpaint

fal-ai/stable-audio-25/inpaint

Edit and transform audio with Stable Audio 25 · Inpaint from fal through one Spiral API key. It runs in the background and returns audio. Pay as you go, with no subscription.

Pricing

$0.26 per run at the default inputs.

Limits

Runs
In the background
Returns
audio
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
255 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
prompt requiredtext—

The prompt to guide the audio generation

audio_url requiredURL or file—

The audio clip to inpaint

seconds_totalnumber (whole)
1 to 190
190

The duration of the audio clip to generate. If not provided, it will be set to the duration of the input audio.

guidance_scalenumber
1 to 25
1

How strictly the diffusion process adheres to the prompt text (higher values make your audio closer to your prompt).

mask_startnumber (whole)
0 to 190
30

The start point of the audio mask

mask_endnumber (whole)
0 to 190
190

The end point of the audio mask

num_inference_stepsnumber (whole)
4 to 8
8

The number of steps to denoise the audio for

seednumber (whole)—

Same request in code

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-25/inpaint",
    "input": {
      "prompt": "Lofi hip hop beat, chillhop",
      "audio_url": "https://v3.fal.media/files/elephant/t0ZrzW_ueetXrr3NUa87F_a2a_in.mp3"
    }
  }'

Frequently asked questions

How much does Stable Audio 25 · Inpaint cost?

$0.26 per run at the default inputs. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Stable Audio 25 · Inpaint through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/stable-audio-25/inpaint"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with fal to use Stable Audio 25 · Inpaint?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use Stable Audio 25 · Inpaint?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.