Skip to main content
The API reports problems in two ways:
  • HTTP errors mean the request was rejected before a job was created. You are not charged.
  • Failed jobs mean a job was created and later failed. The job has status: "failed", and the charge is refunded.
Every response includes an X-Request-Id header. Include it when you contact support.

HTTP errors

Branch on code. The message is for humans and can change.

Failed jobs

A failed job has an error object with a code and message:
Failed jobs can be returned directly by POST /videos/generation with HTTP 202 when the provider rejects the job at submission time. Always check status on the returned job.