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
Versioning
The VideoBGRemover API uses semantic versioning. The current version is v1.2.0.- URL versioning: All endpoints use
/v1/
in the path - Header versioning: All responses include
X-API-Version: 1.2.0
header
Version headers are automatically included in all API responses to help you track which version you’re using.
Authentication
All API requests require an API key in theX-Api-Key
header:
Get Your API Key
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 page.Rate Limits & File Limits
- File Size: Maximum 1GB per video
- Supported Formats: MP4, MOV, WebM, AVI, MKV, M4V
- Credits: 1 credit per second of video duration
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 |