falVideoAvailable now

veed/video-background-removal/fast

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

Pricing

$0.0104 per 30 frames ($0.0156 with refined edges).

Limits

Runs
In the background
Returns
video
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
930 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
video_url requiredURL or file—
output_codecone of
vp9, h264
vp9

Single 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 falsetrue

Improves the quality of the extracted object's edges.

subject_is_persontrue or falsetrue

Set 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"
    }
  }'