bria/bria_video_eraser/erase/mask
Edit and transform video with Bria Video Eraser Erase Mask from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
Up to $10.92 per run at the default inputs for 60 seconds of input.
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
| Field | Kind | Default | Description |
|---|---|---|---|
output_container_and_codec | one of mp4_h265, mp4_h264, webm_vp9, gif, mov_h264, mov_h265, mov_proresks, mkv_h264, mkv_h265, mkv_vp9, mkv_mpeg4 | mp4_h264 | Output container and codec. Options: mp4_h265, mp4_h264, webm_vp9, gif, mov_h264, mov_h265, mov_proresks, mkv_h264, mkv_h265, mkv_vp9, mkv_mpeg4. |
auto_trim | true or false | true | auto trim the video, to working duration ( 5s ) |
preserve_audio | true or false | true | If true, audio will be preserved in the output video. |
video_url required | URL or file | — | Input video to erase object from. duration must be less than 5s. |
mask_video_url required | URL or file | — | Input video to mask erase object from. duration must be less than 5s. |
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": "bria/bria_video_eraser/erase/mask",
"input": {
"video_url": "https://bria-test-images.s3.us-east-1.amazonaws.com/videos/eraser/video1_video.mp4",
"mask_video_url": "https://bria-test-images.s3.us-east-1.amazonaws.com/videos/eraser/video1_mask.mp4"
}
}'Frequently asked questions
How much does Bria Video Eraser Erase Mask cost?
Up to $10.92 per run at the default inputs for 60 seconds of input. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Bria Video Eraser Erase Mask through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "bria/bria_video_eraser/erase/mask"` 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 Bria Video Eraser Erase Mask?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Bria Video Eraser Erase Mask?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.