falVideo to videoAvailable now

veed/video-background-removal/fast

veed/video-background-removal/fast is a video to video tool from fal that runs in the background and returns video. Pay as you go from $0.0104 per 30 frames, with one API key.

Try itfrom $0.0104 / 30 frames

Pricing

refine_foreground_edges: false $0.0104, true $0.0156 per 30 frames. Measured from the input file, rounded up. The final charge comes from usage.

Limits

Runs
In the background
Returns
video
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—
output_codecone of
vp9, h264
vp9Single VP9 video with alpha channel or two videos (rgb and alpha) in H264 format. H264 is recommended for better RGB quality.
refine_foreground_edgestrue or falsetrueImproves the quality of the extracted object's edges.
subject_is_persontrue or falsetrueSet to False if the subject is not a person.

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": "veed/video-background-removal/fast",
    "input": {
      "video_url": "https://v3b.fal.media/files/b/0a8479a0/3ngPszofrNpEvPaL9P5xR_generated.mp4"
    }
  }'