Errors
Failures use standard HTTP status codes and a consistent envelope.
error response
{ "success": false, "error": { "code": 1001, "message": "Missing API key.", "httpStatus": 401 } }Status codes
| Status | Meaning |
|---|---|
400 | Validation — bad/missing param, unsupported model or image. |
401 | Missing / invalid / revoked key (code 1001). |
403 | Account not entitled to the API, or insufficient credits. |
404 | Asset / collection not found or not owned by you. |
429 | Rate limit exceeded (code 10003). |