API Reference

Pricing

Read backend pricing configuration.

Endpoint

GET /api/pricing

Example Request

curl -X GET https://api.removebgvideo.com/api/pricing

Response Highlights

FieldDescription
model_pricing_credits_per_minuteCredits/min for original/light/pro/human
price_per_second_centsLegacy cent-based field
packagesStarter/Pro/Business package list

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

Pricing Cache Policy

  • Cache pricing responses briefly with TTL and refresh on deploy.
  • Display model-based pricing from API, not hardcoded frontend constants.
  • Log pricing version used for each processed job.