Getting Started
Authentication
Authentication model for legacy and public API endpoints.
Getting Started
Authentication model for legacy and public API endpoints.
Public API routes under /v1 require X-Api-Key and enforce per-key rate limit.
Legacy routes under /api/* are kept for backward compatibility and do not require X-Api-Key.
| Route Group | Header | Required |
|---|---|---|
| /v1/* | X-Api-Key | Yes |
| /api/* | None | No (legacy compatibility) |
| HTTP | Code | Meaning |
|---|---|---|
| 401 | missing_api_key | X-Api-Key header missing |
| 401 | invalid_api_key | Key not recognized |
| 404 | Job not found | Job id is invalid or not owned by this key |
Authentication belongs to the Getting Started section and covers authentication model for legacy and public api endpoints.
The page is written for developers and operators who need predictable video background removal behavior in production, not just a one-off demo request.
Before you promote this workflow, test it with at least one short clip, one longer clip, and one visually difficult clip from your actual product or customer segment.
For support and debugging, persist the original input reference, selected model, output format, credit usage, and final job status alongside your internal user or project id.
| Question | Answer |
|---|---|
| Is Authentication required for every integration? | Use it when the topic affects your setup, quality target, or operational workflow. |
| What should I test before going live? | Verify success, failure, timeout, retry, and insufficient-credit paths with realistic video files and the same output format you plan to ship. |
| How does this connect to the rest of the API? | Most workflows connect upload or source URL handling, job creation, status polling, output retrieval, usage tracking, and operational logging. |