falAudio to audioComing soon

fal-ai/ace-step/audio-inpaint

fal-ai/ace-step/audio-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.00026 per second. Measured from the input 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
audio_url requiredURL or file—URL of the audio file to be inpainted.
start_time_relative_toone of
start, end
startWhether the start time is relative to the start or end of the audio.
start_timenumber
0 to 240
0start time in seconds for the inpainting process.
end_time_relative_toone of
start, end
startWhether the end time is relative to the start or end of the audio.
end_timenumber
0 to 240
30end time in seconds for the inpainting process.
tags requiredtext—Comma-separated list of genre tags to control the style of the generated audio. Can also be supplied as `prompt`.
lyricstextLyrics to be sung in the audio. If not provided or if [inst] or [instrumental] is the content of this field, no lyrics will be sung. Use control structures like [verse], [chorus] and [bridge] to control the structure of the song.
variancenumber
0 to 1
0.5Variance for the inpainting process. Higher values can lead to more diverse results.
number_of_stepsnumber (whole)
3 to 60
27Number of steps to generate the audio.
seednumber (whole)—Random seed for reproducibility. If not provided, a random seed will be used.
schedulerone of
euler, heun
eulerScheduler to use for the generation process.
guidance_typeone of
cfg, apg, cfg_star
apgType of CFG to use for the generation process.
granularity_scalenumber (whole)
-100 to 100
10Granularity scale for the generation process. Higher values can reduce artifacts.
guidance_intervalnumber
0 to 1
0.5Guidance interval for the generation. 0.5 means only apply guidance in the middle steps (0.25 * infer_steps to 0.75 * infer_steps)
guidance_interval_decaynumber
0 to 1
0Guidance interval decay for the generation. Guidance scale will decay from guidance_scale to min_guidance_scale in the interval. 0.0 means no decay.
guidance_scalenumber
0 to 200
15Guidance scale for the generation.
minimum_guidance_scalenumber
0 to 200
3Minimum guidance scale for the generation after the decay.
tag_guidance_scalenumber
0 to 10
5Tag guidance scale for the generation.
lyric_guidance_scalenumber
0 to 10
1.5Lyric guidance scale for the generation.

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/ace-step/audio-inpaint",
    "input": {
      "audio_url": "https://storage.googleapis.com/falserverless/example_inputs/ace-step-audio-to-audio.wav",
      "tags": "lofi, hiphop, drum and bass, trap, chill"
    }
  }'