falVideo to audioComing soon

mirelo-ai/sfx2.0/video-to-audio

mirelo-ai/sfx2.0/video-to-audio is a video 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.013 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
video_url requiredURL or file—Video to add sound to: an http(s) URL, or a base64 data URI up to 8 MB.
text_prompttext—Optional text guiding the soundtrack. Name sounds the picture does not show, such as off-screen sounds or an ambience bed, to have them worked into it.
negative_prompttext—Sounds to keep out of the result, as a short comma-separated list.
preserve_speechtrue or falsetrueKeep the speech in the input's audio and generate the rest of the soundtrack around it. False generates sound effects only and suppresses speech.
durationnumber
1 to 600
10Seconds of sound to generate, from 1 s to 600 s, clamped to the video's length. Over 10 s generates in 10 s windows. A video shorter than 1 s answers 400.
num_samplesnumber (whole)
1 to 4
2Number of variations to generate. Billed per sample.
seednumber (whole)
-1 to 18446744073709552000
—Seed for generation. -1 or None for random.
upload_audio_formatone of
wav, mp3, aac, flac
wavAudio format of each file
upload_audio_bitrate_kbpsnumber (whole)
32 to 320
—Bitrate in kbps for an mp3 or aac upload. mp3 is written at exactly this constant rate, one of 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320. aac takes 32 to 256 as a target the encoder may undershoot on mono or sparse audio. Unset keeps the default: mp3 at LAME V0 VBR, aac at a 256 kbps target. Refused with a lossless upload_audio_format.
return_speechtrue or falsefalseAlso return the input's separated speech as its own audio file, in the response's speech. With preserve_speech false the soundtracks are sound effects only and the speech is separated while they generate. With preserve_speech true it is the speech separated from the input that the soundtracks were generated around, not the speech in them: the model renders that speech anew, so the file does not cancel or double it cleanly when layered onto a soundtrack. The file is mono, in upload_audio_format, and as long as the soundtracks. It is not billed.

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": "mirelo-ai/sfx2.0/video-to-audio",
    "input": {
      "video_url": "https://di3otfzjg1gxa.cloudfront.net/chase.mp4"
    }
  }'