How to Use Bria Video Eraser Mask in Gemini CLI
Bria Video Eraser Mask removes selected objects or people from existing footage and reconstructs the background. A supplied video mask controls what gets erased, making it useful when you need to select a particular distraction.
Prompts to try with Bria Video Eraser Mask in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use Bria Video Eraser Mask on the four-second, 720p product clip and matching mask in this project. Remove the masked prop and save a comparison beside the original.
Prepare a four-second, 720p, 24 fps excerpt from the project's interview footage, with the corresponding mask excerpt. Use Bria Video Eraser Mask and show me the repaired background.
Check that the project's four-second clip and mask stay aligned throughout the movement. Use Bria Video Eraser Mask, then flag frames with visible remnants.
Use Bria Video Eraser Mask to remove the masked stand from our four-second, 720p demo asset. Save the result separately and prepare a frame comparison around the stand.
Build a review page for our four-second cleanup test. Use Bria Video Eraser Mask with the supplied clip and mask, then show the original and edited footage side by side.
How to set up Bria Video Eraser Mask in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Bria Video Eraser Mask
One request; the result comes back by polling or a webhook.
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" } }'
Then paste one of the prompts above: Gemini CLI finds Bria Video Eraser Mask on Spiral, shows the price and runs it.
Bria Video Eraser Mask providers and prices
Spiral runs Bria Video Eraser Mask through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Bria Video Eraser Mask works from your video URL and mask video URL. Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Output container and codec | mp4_h265, mp4_h264, webm_vp9, gif, mov_h264, mov_h265, mov_proresks, mkv_h264 and 3 more | 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 | on or off | on | auto trim the video, to working duration ( 5s ) |
| Preserve audio | on or off | on | If true, audio will be preserved in the output video. |
Every API field of Bria Video Eraser Erase Mask is on its tool page: open its card above.
What can you do with Bria Video Eraser Mask in Gemini CLI?
Clean short video assets for your project with Bria Video Eraser Mask. Your coding agent can prepare excerpts, check mask alignment, and create comparisons for review.
Product shot cleanup
Remove a stray prop from a short product clip using a mask that selects the prop. Review the reconstructed area beside the product.
Interview background cleanup
Erase a distracting object behind a speaker in a short interview excerpt. Inspect frames where the speaker overlaps the selected area.
Travel footage cleanup
Remove an unwanted passerby from a short scenic shot with a mask that follows their movement. Check the background throughout the removal.
Set cleanup
Try removing a visible stand or other production equipment from a short take. Compare the repaired area across frames before accepting the edit.
Social ad cleanup
Remove a distracting background item from a short ad excerpt. Keep the mask focused on the item and review nearby subject edges.
Generated video repair
Try erasing an unwanted object from a short generated clip. Inspect the reconstructed background for remnants and changes between frames.
More on Bria Video Eraser Mask and Gemini CLI
Overview
Bria Video Eraser Mask in other agents
Questions about Bria Video Eraser Mask in Gemini CLI
Can Gemini CLI use Bria Video Eraser Mask?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Bria Video Eraser Mask like any built-in tool.
How much does Bria Video Eraser Mask cost in Gemini CLI?
Up to $10.92 per run at the default inputs for 60 seconds of input. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need a fal account to use Bria Video Eraser Mask in Gemini CLI?
No. Spiral runs Bria Video Eraser Mask on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Bria Video Eraser Mask in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Bria Video Eraser Mask runs?
Bria Video Eraser Mask runs in the background. Gemini CLI starts the run, checks on it and gives you the video when it's ready.
What is Bria Video Eraser useful for?
Removing distracting people, props, or other visible elements from existing footage. It reconstructs the background where the selected object appeared.
How long can a clip be?
Bria documents a five-second maximum, while the exact mask endpoint specifies less than five seconds. Prepare a four-second excerpt to stay within both instructions.
Can Bria Video Eraser deliver a 1080p or 4K cleanup?
The documented erasure ceiling is 750p, and higher-resolution inputs are downscaled. Plan around that limit when choosing footage for the edit.
What frame rate should I use?
Bria recommends 24 fps and documents support for 20 to 30 fps. The output preserves the input frame rate.
How should I describe the edit to my agent?
Name the object to remove, identify the supplied mask, and tell the agent what to inspect afterward. Bria Video Eraser Mask uses the mask video to select the removal area.
Start using Bria Video Eraser Mask in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


