[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Bria Video Green Screen Despill](https://spiral.ai/integrations/opencode/bria-video-green-screen-despill)

# How to Use Bria Video Green Screen Despill in opencode

Bria Video Green Screen Despill removes green-screen backdrops and reduces green fringe around the subject. Use it to prepare filmed presenters, products, or performers for compositing onto another background.

|  |  |
| --- | --- |
| Model | Bria Video Green Screen Despill |
| Available through | fal |
| Category | Video |
| Price | Up to $3.90 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 Green Screen Despill in opencode

- Use Bria Video Green Screen Despill on assets/presenter.mp4, a 20-second green-screen recording. Export a transparent VP9 WebM into the project's processed media folder.
- Use Bria Video Green Screen Despill on the 10-second green-screen product clip in assets. Create exports with spill suppression at 0.25, 0.5, and 1 so I can compare the product's green details.
- Use Bria Video Green Screen Despill to prepare the project's 30-second green-screen instructor clip as a transparent ProRes MOV for the lesson editor.
- Use Bria Video Green Screen Despill on each green-screen host clip in assets/hosts that is no longer than 60 seconds. Save transparent VP9 WebM exports with matching base filenames.
- Use Bria Video Green Screen Despill on assets/performer.mp4, a 15-second green-screen take. Make transparent exports with suppression disabled and at full strength for an edge comparison.

## How to set up Bria Video Green Screen Despill 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 Green Screen Despill**: 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/background-removal/green-screen-despill",
    "input": {
      "video_url": "https://bria-datasets.s3.us-east-1.amazonaws.com/rmbg_tests/videos/green_screen_video.webm"
    }
  }'
```

Then paste one of the prompts above: opencode finds Bria Video Green Screen Despill on Spiral, shows the price and runs it.

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

## Bria Video Green Screen Despill tools and prices

- [Video · Green Screen Despill](https://spiral.ai/tools/fal/bria/video/background-removal/green-screen-despill) (fal): $0.065 per second.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| output_container_and_codec | mp4_h265, mp4_h264, webm_vp9, mov_h265, mov_proresks, mkv_h265, mkv_h264, mkv_vp9, gif | webm_vp9 | Output container and codec. Options: mp4_h265, mp4_h264, webm_vp9, mov_h265, mov_proresks, mkv_h265, mkv_h264, mkv_vp9, gif. |
| preserve_audio |  | true | If true, audio will be preserved in the output video. |
| spill_suppression | 0 to 1 | 1 | Strength of green-spill suppression. Higher values pull the green channel toward the red/blue average on green-dominant pixels, removing the green fringe around the subject. 0 disables it. |

## What can you do with Bria Video Green Screen Despill in opencode?

Prepare transparent video assets for a project's lessons, demos, or edited scenes. A coding agent can organize source clips, compare spill suppression results, and keep the selected exports with the project's media.

### Presenters over slides

Remove a green backdrop from a recorded presenter so an editor can place the cutout over lesson slides.

### Product footage for ads

Isolate a product filmed against green for later placement over campaign backgrounds. Compare suppression strengths when the product has green details.

### Performers for compositing

Prepare green-screen performance clips as transparent elements for an edited scene.

### Recorded host overlays

Turn short green-screen host recordings into transparent overlays for edited gameplay or demonstration videos.

### Interview excerpts

Remove the green backdrop from interview clips before placing the speaker over a branded composition.

### Green-fringe comparisons

Process the same green-screen excerpt at several suppression strengths to choose a balance between fringe removal and subject color.

## Overview

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

## Bria Video Green Screen Despill in other agents

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

## More opencode guides

- [Bria Video Eraser Prompt](https://spiral.ai/integrations/opencode/bria-video-eraser-prompt)
- [Bria Video Upscaling](https://spiral.ai/integrations/opencode/bria-video-upscaling)
- [Bria Video Eraser Mask](https://spiral.ai/integrations/opencode/bria-video-eraser-mask)
- [ByteDance Video Upscaler](https://spiral.ai/integrations/opencode/bytedance-video-upscaler)
- [Bria Video Eraser Keypoints](https://spiral.ai/integrations/opencode/bria-video-eraser-keypoints)
- [CassetteAI Video Sound Effects Generator](https://spiral.ai/integrations/opencode/cassetteai-video-sound-effects-generator)

## Questions about Bria Video Green Screen Despill in opencode

**Can opencode use Bria Video Green Screen Despill?**

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

**How much does Bria Video Green Screen Despill cost in opencode?**

Up to $3.90 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 Green Screen Despill in opencode?**

No. Spiral runs Bria Video Green Screen Despill 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 Green Screen Despill in opencode?**

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

**Does opencode wait while Bria Video Green Screen Despill runs?**

Bria Video Green Screen Despill runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

**What footage is Bria Video Green Screen Despill intended for?**

Use existing footage filmed against a green screen. It removes the backdrop and suppresses the green fringe left around the subject.

**How does spill suppression affect the subject?**

Higher strength reduces green in green-dominant pixels by moving it toward the red/blue average. If the subject has green clothing or product details, compare a short test at several strengths before processing the full clip.

**Why does the removed background appear black?**

The selected output format may lack transparency support. Bria documents VP9 WebM, ProRes MOV, and VP9 MKV as supporting alpha; other presets fall back to black.

**How long and how large can the source video be?**

Bria documents a 60-second input limit and dimensions up to 16000 by 16000 pixels for video background removal. Split longer recordings into shorter clips before processing.

