> ## Documentation Index
> Fetch the complete documentation index at: https://docs.videobgremover.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Video Background Removal | Remove Video Background with AI

> Professional AI-powered video background removal service. Remove backgrounds from videos with transparent output for creators, marketers, and developers.

## What is Video Background Removal?

Video background removal uses advanced AI models to identify and remove backgrounds from your videos, leaving you with transparent videos that can be composited with custom backgrounds.

> [card] 🤖 AI-Powered
>
> State-of-the-art models identify subjects and remove backgrounds frame by frame

> [card] ☁️ Cloud Processing
>
> Processing happens on our servers - no local GPU required

> [card] 💳 Credit-Based Pricing
>
> Pay per minute of video processed

> [card] 🎬 Professional Quality
>
> High-quality results suitable for professional workflows

## How It Works

**1. Upload or provide video URL**

Videos are processed on our servers using advanced AI models

**2. AI processes your video**

Our models identify subjects and remove backgrounds frame by frame

**3. Download transparent video**

Get back a video with transparent background in your preferred format

## Two Ways to Use Background Removal

### 1. Direct API Calls

Perfect for simple background removal when you just need the transparent video:

```bash cURL theme={"dark"}
# Create job from URL
curl -X POST https://api.videobgremover.com/v1/jobs \
  -H "X-Api-Key: vbr_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"video_url": "https://example.com/video.mp4"}'

# Start processing
curl -X POST https://api.videobgremover.com/v1/jobs/JOB_ID/start \
  -H "X-Api-Key: vbr_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{}'
```

```javascript Node.js theme={"dark"}
// Using fetch directly
const response = await fetch('https://api.videobgremover.com/v1/jobs', {
  method: 'POST',
  headers: {
    'X-Api-Key': 'vbr_your_api_key',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ video_url: 'https://example.com/video.mp4' })
})
```

```python Python theme={"dark"}
import requests

# Using requests directly
response = requests.post(
    'https://api.videobgremover.com/v1/jobs',
    headers={'X-Api-Key': 'vbr_your_api_key'},
    json={'video_url': 'https://example.com/video.mp4'}
)
```

### 2. SDK Approach (Recommended)

Perfect for complete workflows including video composition:

```typescript Node.js theme={"dark"}
import { VideoBGRemoverClient, Video } from '@videobgremover/sdk'

const client = new VideoBGRemoverClient('vbr_your_api_key')
const video = Video.open('https://example.com/video.mp4')

// Remove background (API call)
const transparent = await video.removeBackground({ client })

// Now you can use transparent for composition
```

```python Python theme={"dark"}
from videobgremover import VideoBGRemoverClient, Video

client = VideoBGRemoverClient('vbr_your_api_key')
video = Video.open('https://example.com/video.mp4')

# Remove background (API call)
transparent = video.remove_background(client)

# Now you can use transparent for composition
```

## Output Formats

Choose the format that works best for your workflow:

| Format | Best For | File Size | Compatibility |
| - | - | - | - |
| **WebM VP9** | Web apps, APIs | Small | Good |
| **MOV ProRes** | Professional editing | Large | Excellent |
| **Stacked Video** | Universal compatibility | Medium | Universal |
| **Pro Bundle** | Advanced workflows | Medium | Universal |
| **PNG Sequence** | Frame-by-frame work | Large | Universal |

## Cost & Credits

* **Processing cost**: Credit usage depends on duration, model, frame rate, and optional turbo processing (see [Models](https://docs.videobgremover.com/video-background-removal/models.md))
* **Processing time**: Varies with video length, frame rate, resolution, selected model, output format, and current capacity
* **Failed jobs**: Processing failures trigger a credit refund
* **Credit check**: Always check your balance before processing

```bash cURL theme={"dark"}
curl -X GET https://api.videobgremover.com/v1/credits \
  -H "X-Api-Key: vbr_your_api_key"
```

```typescript Node.js theme={"dark"}
const client = new VideoBGRemoverClient('vbr_your_api_key')
const credits = await client.credits()
console.log(`Remaining: ${credits.remainingCredits}`)
```

```python Python theme={"dark"}
client = VideoBGRemoverClient('vbr_your_api_key')
credits = client.credits()
print(f"Remaining: {credits.remaining_credits}")
```

## What Happens Next?

After background removal, you have a **transparent video** that you can:

> [card] 📥 Download & Use
>
> Download the transparent video and use it in your video editor

> [card] [🎨 Add Custom Backgrounds](https://docs.videobgremover.com/video-composition/backgrounds.md)
>
> Use our composition tools to add colors, images, or video backgrounds

> [card] [🔧 Build Workflows](https://docs.videobgremover.com/examples.md)
>
> Integrate into your application or automation pipeline

## Ready to Start?

> [card] [Background Removal Guide](https://docs.videobgremover.com/video-background-removal/guide.md)
>
> Complete guide to removing backgrounds

> [card] [Complete Workflow](https://docs.videobgremover.com/examples.md)
>
> See end-to-end examples with composition


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.