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

# How to Use Bria Video Eraser in Codex

Bria Video Eraser removes unwanted objects or people from existing footage and reconstructs the background. Describe the target in words; plan for short edits with a five-second limit and a 750p resolution ceiling.

|  |  |
| --- | --- |
| Model | Bria Video Eraser |
| 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 in Codex

- Use Bria Video Eraser on the four-second product clip in public/media to remove the red cup beside the display. Save a separate edited copy and prepare a before-and-after preview.
- Find the three-second lobby video in this project and use Bria Video Eraser to remove the cardboard box by the door. Keep the source and edited clip available for comparison.
- Use Bria Video Eraser to remove the equipment case from the four-second B-roll asset. Add a preview page where I can compare the repaired area throughout playback.
- Prepare a four-second excerpt from the project's room-tour footage, then use Bria Video Eraser to remove the cleaning bucket. Report the resulting dimensions before I use it on the site.
- Use Bria Video Eraser on the three-second tabletop demo to remove the unused screwdriver. Save the result beside the source and show stills from the beginning, middle, and end.

## How to set up Bria Video Eraser 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**: 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/prompt",
    "input": {
      "prompt": "women",
      "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 on Spiral, shows the price and runs it.

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

## Bria Video Eraser tools and prices

- [Bria Video Eraser · Prompt](https://spiral.ai/tools/fal/bria/bria_video_eraser/erase/prompt) (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 in Codex?

Clean short video assets for a website or app with Bria Video Eraser. A coding agent can select project footage, describe the unwanted object, and prepare a comparison for review.

### Clean up product footage

Remove a stray cup or bag from a short product shot, then inspect the reconstructed area before adding the clip to an ad.

### Remove an unwanted passerby

Describe a distracting person in a short location shot and review the background throughout the edited clip.

### Tidy property tour excerpts

Erase a discarded box or cleaning bucket from a brief room shot selected from a property tour.

### Prepare website video loops

Remove a distracting prop from a short website loop when a 750p result fits the intended placement.

### Clean instructional close-ups

Remove an unused tool from a short tabletop demonstration so viewers can focus on the object being explained.

### Repair short B-roll shots

Try removing an unwanted stand or equipment case from a brief B-roll shot before deciding whether to reshoot.

## Overview

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

## Bria Video Eraser in other agents

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

## More Codex guides

- [Bria Video Background Removal](https://spiral.ai/integrations/codex/bria-video-background-removal)
- [Bria Video Eraser Keypoints](https://spiral.ai/integrations/codex/bria-video-eraser-keypoints)
- [Bria VRMBG 3.0](https://spiral.ai/integrations/codex/bria-vrmbg-3-0)
- [Bria Video Eraser Mask](https://spiral.ai/integrations/codex/bria-video-eraser-mask)
- [Boreal](https://spiral.ai/integrations/codex/boreal)
- [Bria Video Eraser Prompt](https://spiral.ai/integrations/codex/bria-video-eraser-prompt)

## Questions about Bria Video Eraser in Codex

**Can Codex use Bria Video Eraser?**

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

**How much does Bria Video Eraser 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 in Codex?**

No. Spiral runs Bria Video Eraser 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 in Codex?**

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

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

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

**What does Bria Video Eraser do?**

It removes a described object or person from existing video and reconstructs the background behind it. Use it to clean footage you already have.

**How long can a clip be?**

Bria documents a five-second maximum. Select the exact shot before processing; a four-second excerpt leaves room below that limit.

**Does Bria Video Eraser keep HD or 4K resolution?**

Higher-resolution inputs are downscaled to a 750p ceiling. Keep the original footage if you need an HD or 4K master.

**What should I put in the removal prompt?**

Describe the object you want erased, such as 'red backpack beside the chair.' Treat the prompt as a target description, then review whether the intended object was selected.

**What footage gives Bria Video Eraser the best chance of a clean result?**

Choose stable footage with clear object boundaries and little motion blur. Review blur-heavy shots carefully, since the published guidance recommends minimizing blur for more accurate tracking.

