[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [VEED Video Background Removal](https://spiral.ai/integrations/claude-code/veed-video-background-removal)

# How to Use VEED Video Background Removal in Claude Code

VEED Video Background Removal extracts people or objects from footage for compositing. It accepts source video up to 4K and favors edge quality over the quicker, 1080p-limited VEED Video Background Removal Fast.

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

## Prompts to try with VEED Video Background Removal in Claude Code

- Use VEED Video Background Removal on the 4K presenter clip in this project. Save the transparent cutout separately, then add a composition that places it over the tutorial recording.
- Use VEED Video Background Removal to extract the product from our demo footage with edge refinement enabled. Keep background replacement in a separate editing step.
- Use VEED Video Background Removal to prepare a transparent presenter clip. Build a preview in this project that lets me inspect its edges over light and dark backgrounds.
- Estimate, then generate a 5-second 9:16 clip with VEED Video Background Removal: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with VEED Video Background Removal for a smartwatch, slow orbit shot, studio lighting.

## How to set up VEED Video Background Removal in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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**: 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",
    "input": {
      "video_url": "https://v3b.fal.media/files/b/0a847700/NYnvFeP13ehgSgqMDV_PL_stock.mp4"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## VEED Video Background Removal tools and prices

- [VEED Video Background Removal](https://spiral.ai/tools/fal/veed/video-background-removal) (fal): $0.0195 per 30 frames ($0.0293 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 in Claude Code?

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 Claude Code guides](https://spiral.ai/integrations/claude-code)

## VEED Video Background Removal in other agents

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

## More Claude Code guides

- [VEED Subtitles](https://spiral.ai/integrations/claude-code/veed-subtitles)
- [VEED Video Background Removal Fast](https://spiral.ai/integrations/claude-code/veed-video-background-removal-fast)
- [VEED Lipsync](https://spiral.ai/integrations/claude-code/veed-lipsync)
- [VOID Video Inpainting](https://spiral.ai/integrations/claude-code/void-video-inpainting)
- [VEED Fabric 1.0](https://spiral.ai/integrations/claude-code/veed-fabric-1-0)
- [Video Eraser Keypoints Video to Video](https://spiral.ai/integrations/claude-code/video-eraser-keypoints-video-to-video)

## Questions about VEED Video Background Removal in Claude Code

**Can Claude Code use VEED Video Background Removal?**

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

**How much does VEED Video Background Removal cost in Claude Code?**

$0.0195 per 30 frames ($0.0293 with refined edges). You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need a fal account to use VEED Video Background Removal in Claude Code?**

No. Spiral runs VEED Video Background Removal 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 in Claude Code?**

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

**Does Claude Code wait while VEED Video Background Removal runs?**

VEED Video Background Removal runs in the background. Claude Code 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.

