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

VS Code · Video

How to Use Bria Video Eraser Keypoints in VS Code

Bria Video Eraser Keypoints removes selected objects or people from short videos and rebuilds the background. Point-based selection lets you mark areas to erase and areas to protect.

Prompts to try with Bria Video Eraser Keypoints in VS Code

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

Use Bria Video Eraser Keypoints on the four-second product clip in this project. Apply its saved removal and protection points, then place the original and edited videos side by side for review.

Bria Video Eraser KeypointsVS Code
Try asking
  • Clean the four-second homepage loop with Bria Video Eraser Keypoints using the project's saved points for the background sign. Check whether the 750p limit suits its display size before replacing the asset.

  • Use Bria Video Eraser Keypoints to remove the marked chair from the project's four-second room clip. Apply the saved protection points on the sofa and save the edit separately.

  • Process the project's approved clips with Bria Video Eraser Keypoints and their matching point selections. Skip any clip that is five seconds or longer, and create a page for comparing each result with its original.

  • Use Bria Video Eraser Keypoints on the four-second interview asset with the saved points targeting the background bottle. Create a frame comparison so I can check the speaker and the reconstructed background.

How to set up Bria Video Eraser Keypoints in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS 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 Bria Video Eraser Keypoints

    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/keypoints",
        "input": {
          "keypoints": [
            "<keypoints>"
          ],
          "video_url": "https://bria-test-images.s3.us-east-1.amazonaws.com/videos/eraser_mask/woman_right_side.mov"
        }
      }'

Then paste one of the prompts above: VS Code finds Bria Video Eraser Keypoints on Spiral, shows the price and runs it.

Bria Video Eraser Keypoints providers and prices

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

falVideo
Bria Video Eraser · Keypoints
bria/bria_video_eraser/erase/keypoints

Settings you can ask for

Bria Video Eraser Keypoints works from your video URL. Ask VS 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 Bria Video Eraser · Keypoints is on its tool page: open its card above.

What can you do with Bria Video Eraser Keypoints in VS Code?

Clean short video assets used in a website or app by removing selected distractions. A coding agent can work from project clips and saved point selections, then prepare comparisons for review.

Product video cleanup

Remove a marked bottle or stray prop from a short product shot, using protection points on the product that should remain.

Travel footage cleanup

Erase a selected passerby from a scenic excerpt shorter than five seconds, then inspect the reconstructed scenery.

Property listing clips

Remove a marked chair or loose object from a short room shot before including it in a property video.

Interview shot cleanup

Erase a distracting background object from a short interview excerpt, with protection points on the speaker.

Brand-neutral footage

Select a branded sign or prop for removal from footage being prepared for another campaign.

Website video loops

Clean a distracting object out of a four-second website loop when the documented 750p limit suits the intended placement.

Questions about Bria Video Eraser Keypoints in VS Code

Can VS Code use Bria Video Eraser Keypoints?

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

How much does Bria Video Eraser Keypoints cost in VS 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 VS Code plan is separate.

Do I need a fal account to use Bria Video Eraser Keypoints in VS Code?

No. Spiral runs Bria Video Eraser Keypoints 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 Keypoints in VS Code?

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

Does VS Code wait while Bria Video Eraser Keypoints runs?

Bria Video Eraser Keypoints runs in the background. VS Code starts the run, checks on it and gives you the video when it's ready.

What can Bria Video Eraser Keypoints remove?

It removes selected objects, people, or other visual elements from existing footage. It reconstructs the background where the selected content was removed.

How do I mark what to remove and what to keep?

Use positive points on areas you want erased and negative points on areas you want protected. These points guide the removal mask.

How long can a clip be?

Prepare clips shorter than five seconds, as specified by the keypoints endpoint. Choose the exact excerpt you need before submitting it.

Will Bria Video Eraser Keypoints keep 1080p or 4K resolution?

Bria documents a 750p maximum for erasure and automatically downscales higher-resolution footage. Plan for that limit when choosing footage for a final edit.

What frame rate should I use?

Bria recommends 24 FPS. The eraser preserves the source frame rate in its output.

Get started

Start using Bria Video Eraser Keypoints in VS Code

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

Paste this into VS Code:

Set up VS Code

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