Spiral gives your agent every tool with one account. Browse the tools →

falVideoAvailable now

Video Eraser Mask · Video to Video

bria/video/erase/mask

Edit and transform video with Video Eraser Mask · Video to Video from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.

Pricing

$0.182 per second.

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

FieldKindDefaultDescription
output_container_and_codecone 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_trimtrue or falsetrue

auto trim the video, to working duration ( 5s )

preserve_audiotrue or falsetrue

If true, audio will be preserved in the output video.

video_url requiredURL or file—

Input video to erase object from. duration must be less than 5s.

mask_video_url requiredURL 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/video/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 Video Eraser Mask · Video to Video cost?

$0.182 per second. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Video Eraser Mask · Video to Video through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "bria/video/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 Video Eraser Mask · Video to Video?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use Video Eraser Mask · Video to Video?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.