falVideo to videoComing soon
bria/bria_video_eraser/erase/mask
bria/bria_video_eraser/erase/mask is a video to video tool from fal that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Priced by usagePricing
$0.182 per second. Measured from the input file. 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 |
|---|---|---|---|
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"
}
}'