Getting started

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

StatusMeaning
400Validation — bad/missing param, unsupported model or image.
401Missing / invalid / revoked key (code 1001).
403Account not entitled to the API, or insufficient credits.
404Asset / collection not found or not owned by you.
429Rate limit exceeded (code 10003).