falAudio to audioComing soon

fal-ai/stable-audio-3/small/music/audio-to-audio

fal-ai/stable-audio-3/small/music/audio-to-audio 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.03224 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
negative_prompttextText description of qualities to avoid in the output.
durationnumber
1 to 120
30Duration of the generated audio in seconds.
num_inference_stepsnumber (whole)
1 to 100
8Number of sampling steps. Post-trained (distilled) checkpoints look good with the default 8 and gain little from going higher.
guidance_scalenumber
0 to 25
1Classifier-free guidance scale. Higher values follow the prompt more strictly. Only effective on base (non-distilled) checkpoints.
seednumber (whole)—Random seed for reproducible outputs. Omit for a random seed.
enable_prompt_expansiontrue or falsefalseIf 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
mp3Container format for the generated audio output.
bitratetext192kAudio 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 how the source audio should be transformed.
audio_url requiredURL or file—Source audio to transform.
init_noise_levelnumber
0 to 1
0.9How much noise to add to the source audio. 1.0 fully replaces the audio with noise (pure generation); 0.1 keeps the source close to the input. 0.5 sits halfway between.

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/music/audio-to-audio",
    "input": {
      "prompt": "bossa nova bassline",
      "audio_url": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav"
    }
  }'