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

Claude Code · Video

How to Use Video Eraser Mask Video to Video in Claude Code

Bria Video Eraser (Mask) removes unwanted objects from short clips and reconstructs the background. A matching mask video defines exactly where the edit happens, making it useful when you already have a tracked selection.

Prompts to try with Video Eraser Mask Video to Video in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use Bria Video Eraser (Mask) on the four-second product clip in this project and its matching mask to remove the spare cup. Save a separate edited copy and flag any visible background repair errors.

Video Eraser Mask Video to VideoClaude Code
Try asking
  • Check the source and mask videos in this project's media folder for matching resolution, duration, and timing. Use Bria Video Eraser (Mask) on pairs shorter than five seconds and list any pairs that need correction.

  • Use Bria Video Eraser (Mask) to remove the masked microphone from this project's four-second interview excerpt. Prepare a before-and-after preview so I can inspect the repaired area.

  • Find the four-second B-roll excerpt and its tracked passerby mask in this project. Use Bria Video Eraser (Mask), then mark moments where the passerby is blurred or hidden behind another object for review.

  • Use Bria Video Eraser (Mask) on this project's four-second room clip and supplied bag mask. Check whether the 750p output ceiling fits the project's video requirements before replacing any existing asset.

How to set up Video Eraser Mask Video to Video in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run Video Eraser Mask Video to Video

    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/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"
        }
      }'

Then paste one of the prompts above: Claude Code finds Video Eraser Mask Video to Video on Spiral, shows the price and runs it.

Video Eraser Mask Video to Video providers and prices

Spiral runs Video Eraser Mask Video to Video through fal. Open a card for today's price, with every fee included.

falVideo

Settings you can ask for

Video Eraser Mask Video to Video works from your video URL and mask video URL. Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Output container and codecmp4_h265, mp4_h264, webm_vp9, gif, mov_h264, mov_h265, mov_proresks, mkv_h264 and 3 moremp4_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 trimon or offon

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

Preserve audioon or offon

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

Every API field of Video Eraser Mask · Video to Video is on its tool page: open its card above.

What can you do with Video Eraser Mask Video to Video in Claude Code?

Clean short video assets used in your project, from product footage to interview excerpts. A coding agent can check clip lengths and mask alignment, then help review the reconstructed areas.

Remove a stray prop from a product shot

Use a matching mask to erase a spare cup, packaging scrap, or other distraction from a product clip under five seconds.

Clean up interview backgrounds

Remove a distracting object from a short interview excerpt. Review the reconstructed area throughout the shot before using it in the edit.

Remove an unwanted person from B-roll

Mask a passerby in a short scenic or establishing shot. Check the result carefully if the person crosses behind other objects.

Repair production equipment intrusions

Erase a visible microphone or stand from a short take using a mask that follows the equipment across frames.

Declutter property footage

Remove a stray bag or cleaning item from a short room walkthrough excerpt. Plan for output at the documented 750p ceiling.

Prepare cleaner event highlights

Remove a distracting foreground object from a brief event shot. Inspect blurred movement and overlapping subjects before approving the edit.

Questions about Video Eraser Mask Video to Video in Claude Code

Can Claude Code use Video Eraser Mask Video to Video?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Video Eraser Mask Video to Video like any built-in tool.

How much does Video Eraser Mask Video to Video cost in Claude Code?

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 Claude Code plan is separate.

Do I need a fal account to use Video Eraser Mask Video to Video in Claude Code?

No. Spiral runs Video Eraser Mask Video to Video on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Video Eraser Mask Video to Video in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while Video Eraser Mask Video to Video runs?

Video Eraser Mask Video to Video runs in the background. Claude Code starts the run, checks on it and gives you the video when it's ready.

What is Bria Video Eraser good for?

It removes unwanted objects, people, and other visual distractions from existing footage. The model reconstructs the background where the selected object was.

How long can a clip be?

Keep clips under five seconds. The exact mask endpoint specifies that limit, so a four-second excerpt is a practical starting point.

Can Bria Video Eraser preserve 1080p or 4K resolution?

The documented ceiling is 750p. Higher-resolution footage is automatically downscaled, so plan around that limit when choosing footage for a final edit.

How do I direct a precise removal?

Use a mask video that follows the area you want erased throughout the clip. The model removes the objects defined by that mask and reconstructs the background.

How should I prepare the mask?

Match the mask to the source video's resolution, duration, and timing. Check that the selection stays aligned with the target throughout its movement.

Get started

Start using Video Eraser Mask Video to Video in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options