[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [VEED Video Background Removal Fast](https://spiral.ai/integrations/codex/veed-video-background-removal-fast)

# How to Use VEED Video Background Removal Fast in Codex

VEED Video Background Removal Fast extracts people or objects when turnaround matters. It accepts source video up to 1080p, while VEED Video Background Removal accepts up to 4K and favors edge quality.

|  |  |
| --- | --- |
| Model | VEED Video Background Removal Fast |
| Available through | fal |
| Category | Video |
| Price | $0.0104 per 30 frames ($0.0156 with refined edges). |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with VEED Video Background Removal Fast in Codex

- Use VEED Video Background Removal Fast on this project's 1080p interview clip. Save a transparent foreground asset for the existing video composition.
- Use VEED Video Background Removal Fast on our 1080p speaker footage. Request separate H264 color and alpha videos, then wire both into the project's compositor.
- Estimate, then generate a 5-second 9:16 clip with VEED Video Background Removal Fast: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with VEED Video Background Removal Fast for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with VEED Video Background Removal Fast and list what each cost.

## How to set up VEED Video Background Removal Fast 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 VEED Video Background Removal Fast**: 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": "veed/video-background-removal/fast",
    "input": {
      "video_url": "https://v3b.fal.media/files/b/0a8479a0/3ngPszofrNpEvPaL9P5xR_generated.mp4"
    }
  }'
```

Then paste one of the prompts above: Codex finds VEED Video Background Removal Fast on Spiral, shows the price and runs it.

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

## VEED Video Background Removal Fast tools and prices

- [VEED Video Background Removal · Fast](https://spiral.ai/tools/fal/veed/video-background-removal/fast) (fal): $0.0104 per 30 frames ($0.0156 with refined edges).

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| output_codec | vp9, h264 | vp9 | Single VP9 video with alpha channel or two videos (rgb and alpha) in H264 format. H264 is recommended for better RGB quality. |
| refine_foreground_edges |  | true | Improves the quality of the extracted object's edges. |
| subject_is_person |  | true | Set to False if the subject is not a person. |

## What can you do with VEED Video Background Removal Fast in Codex?

Turn recorded people or products into foreground assets for your project's video compositions. Your coding agent can organize extraction results and build a separate compositing step around them.

### Presenter overlays for tutorials

Extract a presenter from recorded footage, then composite the cutout over a software demonstration or lesson.

### Product demonstration cutouts

Separate a product from its recorded background, then place it beside specifications or demonstration captions in an editor.

### Interview backgrounds

Extract an interview subject so an editor can replace a distracting room with a consistent backdrop.

### Social video compositions

Prepare a speaker cutout for placement over a separate graphic, headline, or recorded scene.

### Customer testimonial edits

Extract speakers from separately recorded testimonials before assembling them against a shared background.

### Reusable foreground footage

Create transparent subject clips that an editor can reuse across several background compositions.

## Overview

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

## VEED Video Background Removal Fast in other agents

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

## More Codex guides

- [VEED Video Background Removal](https://spiral.ai/integrations/codex/veed-video-background-removal)
- [VOID Video Inpainting](https://spiral.ai/integrations/codex/void-video-inpainting)
- [VEED Subtitles](https://spiral.ai/integrations/codex/veed-subtitles)
- [Video Eraser Keypoints Video to Video](https://spiral.ai/integrations/codex/video-eraser-keypoints-video-to-video)
- [VEED Lipsync](https://spiral.ai/integrations/codex/veed-lipsync)
- [Video Eraser Mask Video to Video](https://spiral.ai/integrations/codex/video-eraser-mask-video-to-video)

## Questions about VEED Video Background Removal Fast in Codex

**Can Codex use VEED Video Background Removal Fast?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run VEED Video Background Removal Fast like any built-in tool.

**How much does VEED Video Background Removal Fast cost in Codex?**

$0.0104 per 30 frames ($0.0156 with refined edges). 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 VEED Video Background Removal Fast in Codex?**

No. Spiral runs VEED Video Background Removal Fast on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up VEED Video Background Removal Fast in Codex?**

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

**Does Codex wait while VEED Video Background Removal Fast runs?**

VEED Video Background Removal Fast runs in the background. Codex starts the run, checks on it and gives you the video when it's ready.

**Does VEED background removal need a green screen?**

No. Both models can separate people or objects from existing backgrounds without a green screen.

**Can VEED generate a scene or replace the background?**

These models take existing video and return the extracted subject. Add a replacement background in a separate compositing step.

**What resolution can VEED background removal accept?**

VEED Video Background Removal accepts source video up to 4K. VEED Video Background Removal Fast accepts up to full HD, or 1080p.

**What footage is hardest to cut out cleanly?**

Heavy motion blur, very low light, and weak contrast between the subject and background are poor starting points. Choose footage with a clearly separated subject and inspect the extracted edges before compositing.

**Should I choose VP9 or H264 for compositing?**

Choose VP9 when you want transparency inside one video. Choose H264 when color quality matters more and your editing workflow can combine separate color and alpha videos.

