falAudioComing soon

fal-ai/stable-audio-3/small/sfx/base/audio-outpainting

fal-ai/stable-audio-3/small/sfx/base/audio-outpainting is an 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.

Pricing

Coming soon

$0.04381 per audio file.

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
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
negative_prompttext

Text description of qualities to avoid in the output.

num_inference_stepsnumber (whole)
1 to 100
50

Number of sampling steps. Base (non-distilled) checkpoints typically need ~50 for good quality.

guidance_scalenumber
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.

seednumber (whole)—

Random seed for reproducible outputs. Omit for a random seed.

enable_prompt_expansiontrue or falsefalse

If True, the prompt will be expanded using an LLM for more detailed and higher quality results.

output_formatone of
mp3, wav, flac, ogg, opus, m4a, aac
mp3

Container format for the generated audio output.

bitratetext192k

Audio bitrate for compressed output formats (e.g., mp3, aac, opus). Format e.g. '192k' or '320k'. Ignored for lossless formats (wav, flac).

prompt requiredtext—

Text description guiding the extension content.

audio_url requiredURL or file—

Source audio to extend.

extend_seconds_beforenumber
0 to 120
0

Seconds of new audio to generate before the source audio.

extend_seconds_afternumber
0 to 120
0

Seconds of new audio to generate after the source audio.

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-3/small/sfx/base/audio-outpainting",
    "input": {
      "prompt": "soft strings continue the melody",
      "audio_url": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav"
    }
  }'