Skip to main content
Status CodeDescriptionResponse Format
401Invalid API key or unauthorizedError object
404Model not found or unavailableError object
429Insufficient creditError object
500Internal server errorError object
503Service temporarily unavailableError object

Common Solutions

  • 401 (Unauthorized): Verify your API key is valid and properly included in the Authorization header
  • 404 (Not Found): Check that you’re using a valid model ID
  • 429 (Rate Limit): Review your available credit
  • 500 (Server Error): If persistent, contact support with details about your request
  • 503 (Service Unavailable): Retry your request after a short delay, using exponential backoff

Error Response Format

{
  "error": {
    "message": "Error message describing what went wrong",
    "type": "<an error type>",
    "param": "<optional, additional details about the error>",
    "code": "<a specific error code>"
  }
}

Contact Support

If you encounter any of these errors and need further assistance, please Contact Support.
I