Skip to main content

API Response Reference

This page provides detailed examples of API responses to help you understand what to expect when integrating with the VideoBGRemover API.

Job Status Responses

The /v1/jobs/{id}/status endpoint returns different response formats depending on the job’s current state.

Created Status

When a job is first created but processing hasn’t started:

Processing Status

When the video is being analyzed and processed:

Completed Status (Default Green Screen)

When processing is complete with default settings:

Completed Status (Transparent WebM)

When processing is complete with transparent background:

Failed Status

When processing encounters an error:

Error Responses

400 Bad Request

Invalid request parameters or malformed data:

401 Unauthorized

Invalid or missing API key:

413 Payload Too Large

File exceeds the 1GB size limit:

402 Payment Required

Insufficient credits for processing:

404 Not Found

Job ID doesn’t exist:

Credit Balance Response

The /v1/credits endpoint returns:

Response Field Explanations

Important Notes

Signed URLs Expire: All *_url fields contain signed URLs that expire after 1 hour. Download files immediately or call the status endpoint again to get fresh URLs.
Polling Frequency: When monitoring job status, poll every 5-10 seconds. Faster polling may result in rate limiting.
Error Handling: Always check the status field first. If it’s failed, check the message field for error details.