falAudio to audioComing soon

fal-ai/stable-audio-25/inpaint

fal-ai/stable-audio-25/inpaint is an audio to audio tool from fal that runs in the background and returns audio. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Priced by usage

Pricing

$0.26 per audio file. The final charge comes from usage.

Limits

Runs
In the background
Returns
audio
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

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
190The 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
1How strictly the diffusion process adheres to the prompt text (higher values make your audio closer to your prompt).
mask_startnumber (whole)
0 to 190
30The start point of the audio mask
mask_endnumber (whole)
0 to 190
190The end point of the audio mask
num_inference_stepsnumber (whole)
4 to 8
8The 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"
    }
  }'