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

> Introduction to the VideoBGRemover API. Learn authentication, request paths, error handling, 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
```

## API Path Version

The current public endpoints use `/v1/` in the request path. Integrations should use the documented path for each endpoint rather than relying on an undocumented response-version header.

## 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] [Get Your API Key](https://videobgremover.com/api-management)
>
> Generate your API key in the dashboard

## 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](https://docs.videobgremover.com/api-reference/responses.md) page.

## Rate Limits & File Limits

* **File Size**: Maximum 1GB per video
* **Supported Formats**: MP4, MOV, WebM, AVI, MKV, M4V
* **Credits**: Usage depends on duration, model, frame rate, and optional turbo processing (see [Models](https://docs.videobgremover.com/video-background-removal/models.md))

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


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