[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [VEED Video Background Removal](https://spiral.ai/integrations/grok/veed-video-background-removal)

# How to Use VEED Video Background Removal in Grok

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 Grok

- Use VEED Video Background Removal to isolate the presenter in this supplied 4K video. Return a transparent cutout for placement over a lesson.
- Use VEED Video Background Removal to isolate the product in this supplied video. Prepare the cutout for a separate edit against a plain background.
- Use VEED Video Background Removal on this supplied presenter clip. Return separate color and transparency-mask videos for compositing, with foreground edge refinement enabled.
- Estimate, then generate a 5-second 9:16 clip with VEED Video Background Removal: a paper boat drifting down a rainy street.
- 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 Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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: Grok finds VEED Video Background Removal on Spiral, shows the price and runs it.

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

## 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 Grok?

Prepare cutouts from recorded people or objects for tutorials, interviews, and product edits. Ask your chat agent to extract the subject and explain how the result fits your intended composition.

### 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 Grok guides](https://spiral.ai/integrations/grok)

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

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

## Questions about VEED Video Background Removal in Grok

**Can Grok use VEED Video Background Removal?**

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

**How much does VEED Video Background Removal cost in Grok?**

$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 Grok plan is separate.

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

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 Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while VEED Video Background Removal runs?**

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

