> ## 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.

<CardGroup cols={2}>
  <Card title="🤖 AI-Powered" icon="brain">
    State-of-the-art models identify subjects and remove backgrounds frame by frame
  </Card>

  <Card title="☁️ Cloud Processing" icon="cloud">
    Processing happens on our servers - no local GPU required
  </Card>

  <Card title="💳 Credit-Based Pricing" icon="credit-card">
    Pay per minute of video processed
  </Card>

  <Card title="🎬 Professional Quality" icon="sparkles">
    High-quality results suitable for professional workflows
  </Card>
</CardGroup>

## How It Works

<Steps>
  <Step title="Upload or provide video URL">
    Videos are processed on our servers using advanced AI models
  </Step>

  <Step title="AI processes your video">
    Our models identify subjects and remove backgrounds frame by frame
  </Step>

  <Step title="Download transparent video">
    Get back a video with transparent background in your preferred format
  </Step>
</Steps>

## Two Ways to Use Background Removal

### 1. Direct API Calls

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

<CodeGroup>
  ```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" \
    -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" \
    -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' },
    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'}
  )
  ```
</CodeGroup>

### 2. SDK Approach (Recommended)

Perfect for complete workflows including video composition:

<CodeGroup>
  ```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
  ```
</CodeGroup>

## 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**: Credits per minute based on video duration (see [Models](/video-background-removal/models) for pricing)
* **Processing time**: 1-3 minutes depending on video length
* **Failed jobs**: Don't consume credits
* **Credit check**: Always check your balance before processing

<CodeGroup>
  ```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}")
  ```
</CodeGroup>

## What Happens Next?

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

<CardGroup cols={3}>
  <Card title="📥 Download & Use" icon="download">
    Download the transparent video and use it in your video editor
  </Card>

  <Card title="🎨 Add Custom Backgrounds" icon="palette" href="/video-composition/backgrounds">
    Use our composition tools to add colors, images, or video backgrounds
  </Card>

  <Card title="🔧 Build Workflows" icon="cog" href="/examples">
    Integrate into your application or automation pipeline
  </Card>
</CardGroup>

## Ready to Start?

<CardGroup cols={2}>
  <Card title="Background Removal Guide" icon="play" href="/video-background-removal/guide">
    Complete guide to removing backgrounds
  </Card>

  <Card title="Complete Workflow" icon="rocket" href="/examples">
    See end-to-end examples with composition
  </Card>
</CardGroup>
