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

opencode · Video

How to Use Video Eraser Keypoints Video to Video in opencode

Bria Video Eraser Keypoints removes selected objects from existing footage and reconstructs the background. Point selections identify what to erase or keep, making it useful for targeted cleanup of clips under five seconds.

Prompts to try with Video Eraser Keypoints Video to Video in opencode

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

Use Bria Video Eraser Keypoints on assets/product-demo.mp4. Prepare a four-second excerpt, select the loose cup for removal, mark the product to keep, and save the edit beside the original.

Video Eraser Keypoints Video to Videoopencode
Try asking
  • Use Bria Video Eraser Keypoints to remove the stand from the three-second clip in public/videos/hero.mp4. Inspect the background across the edited frames and report any visible defects.

  • Prepare a four-second excerpt from assets/interview.mp4 for Bria Video Eraser Keypoints. Select the bag behind the speaker for removal and add exclusion points on the speaker.

  • Use Bria Video Eraser Keypoints on assets/food-closeup.mp4 to remove the napkin beside the plate. Keep the excerpt under five seconds and create a before-and-after preview.

  • Inspect the project videos intended for Bria Video Eraser Keypoints. Prepare three-second review excerpts and flag delivery requirements above the documented 750p ceiling.

How to set up Video Eraser Keypoints Video to Video in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 Keypoints 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/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: opencode finds Video Eraser Keypoints Video to Video on Spiral, shows the price and runs it.

Video Eraser Keypoints Video to Video providers and prices

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

falVideo

Settings you can ask for

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

What can you do with Video Eraser Keypoints Video to Video in opencode?

Clean up short video assets used in your project with Bria Video Eraser. Your coding agent can prepare excerpts, apply point selections, and save edits beside the originals for review.

Product clip cleanup

Try removing a stray prop beside a product in a short demonstration shot. Mark the product as an area to keep.

Property walkthrough excerpts

Remove a selected loose object from a room shot under five seconds, then inspect the reconstructed floor or wall.

Travel footage cleanup

Try removing a selected passerby from a brief scenic shot. Review the filled area throughout the person's movement.

Interview shot cleanup

Remove a distracting background object from a short interview excerpt while marking the speaker as an area to keep.

Food video cleanup

Try removing a stray utensil or napkin from a short food presentation clip. Exclude the dish from the removal selection.

Production equipment removal

Try erasing a visible stand from a brief shot. Compare the edited frames with the original before approving the background reconstruction.

Questions about Video Eraser Keypoints Video to Video in opencode

Can opencode use Video Eraser Keypoints Video to Video?

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

How much does Video Eraser Keypoints Video to Video cost in opencode?

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

Do I need a fal account to use Video Eraser Keypoints Video to Video in opencode?

No. Spiral runs Video Eraser Keypoints 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 Keypoints Video to Video in opencode?

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

Does opencode wait while Video Eraser Keypoints Video to Video runs?

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

What does Bria Video Eraser do to the space behind a removed object?

It reconstructs the background in the selected area. Review that area throughout the clip before using the result.

How long can a clip be?

Bria documents a five-second processing limit, while the Keypoints endpoint specifically requires footage shorter than five seconds. Use clips under five seconds to satisfy both requirements.

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

Bria documents a 750p ceiling for erasure. Higher-resolution footage is automatically downscaled, so plan around that limit when choosing the final delivery size.

How should I describe an edit to Bria Video Eraser Keypoints?

Tell your agent exactly which object to remove and which nearby subject to keep. Have it translate that instruction into point selections on the footage.

How do I keep a nearby subject out of the removal area?

Use positive points on the removal target and negative points on areas to exclude. Check the result around the boundary between the target and the subject you want to keep.

Get started

Start using Video Eraser Keypoints Video to Video in opencode

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

Paste this into opencode:

Set up opencode

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