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

# How to Use Bria Video Eraser Prompt in opencode

Bria Video Eraser Prompt removes unwanted people, objects, or text from existing video by naming what should disappear. It detects the target automatically and reconstructs the background, with a five-second working limit and a 750p ceiling.

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

- Use Bria Video Eraser Prompt on public/media/lobby.mp4. Take the first four seconds, use person as the removal target, and save a separate result for review.
- Use Bria Video Eraser Prompt to remove cars from the first four seconds of public/media/exterior.mp4. Use car as the target and add a before-and-after comparison to the preview page.
- Process the four-second clip assets/video/product.mp4 with Bria Video Eraser Prompt using bottle as the target. Save the result beside the source and show both in the asset preview.
- Use Bria Video Eraser Prompt on the first four seconds of assets/video/storefront.mp4 with sign as the target. Create a contact sheet comparing the original and edited frames.
- Use Bria Video Eraser Prompt to remove text from the four-second clip public/media/promo.mp4. Keep the source and build a review page that lets me compare matching moments.

## How to set up Bria Video Eraser Prompt 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.

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

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

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

```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 Prompt**: 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/video/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: opencode finds Bria Video Eraser Prompt on Spiral, shows the price and runs it.

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

## Bria Video Eraser Prompt tools and prices

- [Video Eraser Prompt · Video to Video](https://spiral.ai/tools/fal/bria/video/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 Prompt in opencode?

Clean short video assets used in your project with Bria Video Eraser. A coding agent can prepare excerpts and build a comparison view for reviewing the results.

### Clean up property walkthroughs

Remove people from a short property shot when everyone visible should disappear.

### Remove vehicles from location footage

Erase cars from a short exterior shot before using it in a location presentation.

### Clear stray product props

Remove an unwanted bottle from a short product clip. Check that no bottle you want to keep shares the shot.

### Simplify an interior shot

Erase chairs from a short room clip to test a less cluttered composition.

### Remove outdated signage

Try removing a sign from a short storefront clip before adding updated graphics in an editor.

### Prepare footage for new branding

Remove logos from a short promotional clip you own before applying new branding.

### Clean up baked-in text

Try erasing text from a short promotional excerpt before adding revised copy.

## Overview

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

## Bria Video Eraser Prompt in other agents

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

## More opencode guides

- [Bria Video Eraser Mask](https://spiral.ai/integrations/opencode/bria-video-eraser-mask)
- [Bria Video Green Screen Despill](https://spiral.ai/integrations/opencode/bria-video-green-screen-despill)
- [Bria Video Eraser Keypoints](https://spiral.ai/integrations/opencode/bria-video-eraser-keypoints)
- [Bria Video Upscaling](https://spiral.ai/integrations/opencode/bria-video-upscaling)
- [Bria Video Eraser](https://spiral.ai/integrations/opencode/bria-video-eraser)
- [ByteDance Video Upscaler](https://spiral.ai/integrations/opencode/bytedance-video-upscaler)

## Questions about Bria Video Eraser Prompt in opencode

**Can opencode use Bria Video Eraser Prompt?**

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

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

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

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

**Does opencode wait while Bria Video Eraser Prompt runs?**

Bria Video Eraser Prompt 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 removed area?**

It reconstructs the background where the detected object appeared. Use it to clean up an existing shot.

**How long can a clip be?**

The working limit is five seconds. Select the exact excerpt first so a longer source does not lose the moment you wanted to edit.

**Can Bria Video Eraser preserve a 4K source at 4K?**

The documented ceiling is 750p. Higher-resolution inputs are downscaled, so plan for a lower-resolution result.

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

Start with a short category name, such as person, car, or bottle. Skip scene descriptions and instructions about movement.

**Can I remove just one person from a crowd?**

Do not rely on position or clothing color to isolate someone. The removal can affect every detected person matching the category.

