VEED Video Background Removal
veed/video-background-removalEdit and transform video with VEED Video Background Removal from fal through one Spiral API key. Removes the background from a video and keeps the subject with transparency, with refined edges and a mode for non-human subjects. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
$0.0195 per 30 frames ($0.0293 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
- 2 GB
- Largest output
- 5 GB
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",
"input": {
"video_url": "https://v3b.fal.media/files/b/0a847700/NYnvFeP13ehgSgqMDV_PL_stock.mp4"
}
}'Frequently asked questions
How much does VEED Video Background Removal cost?
$0.0195 per 30 frames ($0.0293 with refined edges). You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use VEED Video Background Removal through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "veed/video-background-removal"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use VEED Video Background Removal?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use VEED Video Background Removal?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.