[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Bria Video Eraser Keypoints](https://spiral.ai/integrations/codex/bria-video-eraser-keypoints)

# How to Use Bria Video Eraser Keypoints in Codex

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.

|  |  |
| --- | --- |
| Model | Bria Video Eraser Keypoints |
| Available through | fal |
| Category | Video |
| Price | Up to $10.92 per run at the default inputs for 60 seconds of input. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Bria Video Eraser Keypoints in Codex

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

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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.

```bash
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.

```bash
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: Codex finds Bria Video Eraser Keypoints on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## Bria Video Eraser Keypoints tools and prices

- [Bria Video Eraser · Keypoints](https://spiral.ai/tools/fal/bria/bria_video_eraser/erase/keypoints) (fal): $0.182 per second.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| output_container_and_codec | 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_trim |  | true | auto trim the video, to working duration ( 5s ) |
| preserve_audio |  | true | If true, audio will be preserved in the output video. |

## What can you do with Bria Video Eraser Keypoints in Codex?

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.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Bria Video Eraser Keypoints in other agents

- [Amp](https://spiral.ai/integrations/amp/bria-video-eraser-keypoints)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/bria-video-eraser-keypoints)
- [Claude](https://spiral.ai/integrations/claude-desktop/bria-video-eraser-keypoints)
- [Claude Code](https://spiral.ai/integrations/claude-code/bria-video-eraser-keypoints)
- [Cline](https://spiral.ai/integrations/cline/bria-video-eraser-keypoints)
- [Cursor](https://spiral.ai/integrations/cursor/bria-video-eraser-keypoints)
- [Devin](https://spiral.ai/integrations/devin/bria-video-eraser-keypoints)
- [dots](https://spiral.ai/integrations/dots/bria-video-eraser-keypoints)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/bria-video-eraser-keypoints)
- [Gemini](https://spiral.ai/integrations/gemini/bria-video-eraser-keypoints)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/bria-video-eraser-keypoints)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/bria-video-eraser-keypoints)
- [goose](https://spiral.ai/integrations/goose/bria-video-eraser-keypoints)
- [Grok](https://spiral.ai/integrations/grok/bria-video-eraser-keypoints)
- [Grok Build](https://spiral.ai/integrations/grok-build/bria-video-eraser-keypoints)
- [Hermes](https://spiral.ai/integrations/hermes/bria-video-eraser-keypoints)
- [Instinct](https://spiral.ai/integrations/instinct/bria-video-eraser-keypoints)
- [Manus](https://spiral.ai/integrations/manus/bria-video-eraser-keypoints)
- [Muse](https://spiral.ai/integrations/muse/bria-video-eraser-keypoints)
- [Muse Code](https://spiral.ai/integrations/muse-code/bria-video-eraser-keypoints)
- [n8n](https://spiral.ai/integrations/n8n/bria-video-eraser-keypoints)
- [Notion](https://spiral.ai/integrations/notion/bria-video-eraser-keypoints)
- [OpenClaw](https://spiral.ai/integrations/openclaw/bria-video-eraser-keypoints)
- [opencode](https://spiral.ai/integrations/opencode/bria-video-eraser-keypoints)
- [Perplexity](https://spiral.ai/integrations/perplexity/bria-video-eraser-keypoints)
- [Raycast](https://spiral.ai/integrations/raycast/bria-video-eraser-keypoints)
- [VS Code](https://spiral.ai/integrations/vscode/bria-video-eraser-keypoints)
- [Windsurf](https://spiral.ai/integrations/windsurf/bria-video-eraser-keypoints)
- [Zapier](https://spiral.ai/integrations/zapier/bria-video-eraser-keypoints)

## More Codex guides

- [Bria Video Eraser](https://spiral.ai/integrations/codex/bria-video-eraser)
- [Bria Video Eraser Mask](https://spiral.ai/integrations/codex/bria-video-eraser-mask)
- [Bria Video Background Removal](https://spiral.ai/integrations/codex/bria-video-background-removal)
- [Bria Video Eraser Prompt](https://spiral.ai/integrations/codex/bria-video-eraser-prompt)
- [Bria VRMBG 3.0](https://spiral.ai/integrations/codex/bria-vrmbg-3-0)
- [Bria Video Green Screen Despill](https://spiral.ai/integrations/codex/bria-video-green-screen-despill)

## Questions about Bria Video Eraser Keypoints in Codex

**Can Codex use Bria Video Eraser Keypoints?**

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

**How much does Bria Video Eraser Keypoints cost in Codex?**

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

**Do I need a fal account to use Bria Video Eraser Keypoints in Codex?**

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 Codex?**

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

**Does Codex wait while Bria Video Eraser Keypoints runs?**

Bria Video Eraser Keypoints runs in the background. Codex 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.

