Docs
Errors
Error shape
{
"error": {
"type": "invalid_request",
"message": "duration must be between 4 and 15 seconds.",
"param": "duration"
}
}Status codes
| Status | Type | Meaning |
|---|---|---|
| 400 | invalid_request | A parameter is missing or out of range. |
| 401 | authentication_error | Missing, invalid, or revoked API key. |
| 402 | insufficient_credits | Balance is below the price of the job. |
| 404 | not_found | No such video or character on your account. |
| 502 | upstream_error | A model provider failed. You were not charged. |
| 503 | server_error | The render pipeline is not configured. |
A video that fails after it was accepted ends with status: "failed" and a readable error. Its credits are refunded automatically.
Next