Rate limits
Limits are per account, not per key: five keys do not give five limits. The numbers below are defaults; the service may change them without a new API version.
Requests per minute
| Group | Operations | Limit |
|---|---|---|
| Read | GET /account, /models, /models/{id}, /generations, /generations/{id} | 120 |
| Price | POST /estimate | 60 |
| Launch | POST /generations | 6 |
| Upload | POST /references | 20 |
Over the limit · 429 rate_limit_exceeded with a Retry-After header.
Concurrent generations
How many generations of one type may run at once:
| Type | At once |
|---|---|
image | 4 |
video | 3 |
music | 2 |
voice | 2 |
3d | 1 |
All unfinished generations of the account of that type count, including ones started on the site. Over the limit · 429 concurrency_limit: wait for one to finish.
Money per key
| Limit | Default |
|---|---|
| Daily key limit | 300 credits, resets at 00:00 UTC; change it in the console |
| Daily limit ceiling | 5000 credits |
| Ceiling of one launch | 2000 credits |
max_credits in a request | your cap for that launch |
Daily limit used up · 429 daily_limit_exceeded. POST /estimate answers exceeds_daily_limit: true in advance when a launch will not fit into what is left. Current daily_limit and daily_spent are in GET /account.
Request size
- A JSON request body is up to 2 MB by default.
POST /referenceshas its own ceiling per file type.- Over it ·
422 upload_too_large, the ceiling is indetails.max_mb.
Keys
- Up to 5 keys per account.
- Failed sign-in attempts are limited per IP: after a series of
401from one address the answer becomes429.