# Video · Green Screen Despill

Edit and transform video with Video · Green Screen Despill from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.

- Provider: fal
- Category: Video
- Runs: In the background
- Returns: video
- Tool id: `fal` / `bria/video/background-removal/green-screen-despill`
- Page: https://spiral.ai/tools/fal/bria/video/background-removal/green-screen-despill

## Pricing

Up to $3.90 per run at the default inputs for 60 seconds of input.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 30 minutes
- Longest run, end to end: 930 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `output_container_and_codec` | one of | 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 or false |  | true | If true, audio will be preserved in the output video. |
| `video_url` (required) | URL or file |  | — | Input video filmed on a green screen. |
| `spill_suppression` | number | 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. |

## Example

```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"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=bria%2Fvideo%2Fbackground-removal%2Fgreen-screen-despill

## Common questions

### Video · Green Screen Despill

**How much does Video · Green Screen Despill cost?**

Up to $3.90 per run at the default inputs for 60 seconds of input. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Video · Green Screen Despill through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "bria/video/background-removal/green-screen-despill"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with fal to use Video · Green Screen Despill?**

No. Spiral runs it on its own fal account and charges your Spiral balance.

**Can my AI agent use Video · Green Screen Despill?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

