Comment on page
Status Code and Throttling
Status Code | Description |
200 | Successful. |
201 | The resource has been created. |
202 | Accepted. Your image generation request has been accepted for processing. |
400 | Check your request, it is invalid. |
401 | Not authorized. Make sure the provided API key is correct. |
404 | The resource is not found. |
405 | Method not allowed. Ensure you're using the correct HTTP verb for the endpoint. |
429 | |
500 | Something is wrong with our server. Let us know! |
Throttle rate is set at 10 requests per 10 seconds. You request will return with
429
status if your request has been throttled.The following headers will also be sent,
Header | Descripton |
X-RATELIMIT-LIMIT | Current limit |
X-RATELIMIT-REMAINING | Remaining request that can be sent within limit |
X-RATELIMIT-RESET | Epoch time (seconds) for when the limit is reset |
Last modified 2yr ago