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
| Field | Kind | Default | Description |
|---|---|---|---|
video_url required | URL or file | — | |
output_codec | one 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_edges | true or false | true | Improves the quality of the extracted object's edges. |
subject_is_person | true or false | true | 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"
}
}'