API Reference

Public API v1 Jobs

Authenticated jobs API for external customers.

Endpoints

EndpointMethodDescription
/v1/jobsPOSTCreate job (supports auto_start)
/v1/jobs/{job_id}/startPOSTStart pending job
/v1/jobs/{job_id}GETGet job details
/v1/jobsGETList jobs (limit/offset/status)

Create Job

curl -X POST https://api.removebgvideo.com/v1/jobs \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video_url": "https://cdn.example.com/input.mp4",
    "model": "original",
    "bg_type": "green",
    "output_format": "webm",
    "auto_start": true
  }'

Get Job

curl -X GET https://api.removebgvideo.com/v1/jobs/{job_id} \
  -H "X-Api-Key: YOUR_API_KEY"

Job Response Fields

FieldDescription
idJob identifier
statuscreated | processing | completed | failed
output_urlOutput URL when completed
webhook_urlConfigured callback URL
webhook_eventsPer-event delivery state (sent/failed)

List Jobs

curl -X GET "https://api.removebgvideo.com/v1/jobs?limit=20&offset=0" \
  -H "X-Api-Key: YOUR_API_KEY"

Access Control

  • Each API key can only access jobs created by that same key.
  • Cross-key job access returns not_found behavior.

API Contract Notes

  • All clients should handle non-2xx responses as structured error payloads.
  • Use explicit JSON schema validation for request payloads on your side.
  • Treat output_url as an asynchronous artifact and not an immediate response contract.
  • Persist job lifecycle state transitions for auditing and support.

Integration Verification

CheckHow to Verify
AuthenticationCall endpoint with valid and invalid key, confirm 200 vs 401
Rate limitsBurst test and confirm 429 handling with backoff
IdempotencyRetry same request and verify no duplicate side effects
ObservabilityConfirm request_id/job_id appears in logs and dashboards

Jobs Contract Examples

OperationMinimal Required Fields
Createvideo_url + model/output defaults
Startjob_id + model/background/composition override
Get/ListX-Api-Key + job identifier/filter params

When to Use Public API v1 Jobs

Public API v1 Jobs belongs to the API Reference section and covers authenticated jobs api for external customers.

The page is written for developers and operators who need predictable video background removal behavior in production, not just a one-off demo request.

  • Validate the exact Public API v1 Jobs contract before wiring it into backend workers or customer-facing flows.
  • Use the field tables and examples to create request/response tests in staging.
  • Capture job_id, request_id, model, output_format, and user context whenever this endpoint participates in a production workflow.

Implementation Notes

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.

  • Do not assume a processing request returns a finished video immediately; completed output is asynchronous.
  • Do not discard failed-job payloads before logging the error code and request context.
  • Do not let polling loops run without timeout, backoff, or terminal-state handling.

FAQ

QuestionAnswer
Is Public API v1 Jobs required for every integration?Use it when your integration calls this endpoint directly; otherwise review it to understand the contract behind SDK helpers.
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.