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

# API Reference | Video Background Remover

> Complete introduction to VideoBGRemover API v1.6.0. Learn authentication, rate limits, error handling, versioning, and AI-powered video background removal.

# API Reference

The VideoBGRemover API provides programmatic access to our video background removal service. This section contains the complete API reference with interactive examples.

## Base URL

```
https://api.videobgremover.com/v1
```

## Versioning

The VideoBGRemover API uses semantic versioning. The current version is **v1.6.0**.

* **URL versioning**: All endpoints use `/v1/` in the path
* **Header versioning**: All responses include `X-API-Version: 1.6.0` header

<Note>
  Version headers are automatically included in all API responses to help you track which version you're using.
</Note>

## Authentication

All API requests require an API key in the `X-Api-Key` header:

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

<Card title="Get Your API Key" icon="key" href="https://videobgremover.com/api-management">
  Generate your API key in the dashboard
</Card>

## Interactive Playground

Each endpoint below includes an interactive playground where you can test API calls directly from this documentation. The playground uses your API key to make real requests to our servers.

## Response Examples

For detailed examples of API responses in different states, see the [API Responses](/api-reference/responses) page.

## Rate Limits & File Limits

* **File Size**: Maximum 1GB per video
* **Supported Formats**: MP4, MOV, WebM, AVI, MKV, M4V
* **Credits**: Credit usage based on video duration (see [Models](/video-background-removal/models))

## Error Handling

The API uses standard HTTP status codes:

| Code  | Description                             |
| ----- | --------------------------------------- |
| `200` | Success                                 |
| `400` | Bad Request - Invalid parameters        |
| `401` | Unauthorized - Invalid API key          |
| `402` | Payment Required - Insufficient credits |
| `413` | Payload Too Large - File exceeds 1GB    |
| `500` | Internal Server Error                   |
