Skip to main content
AI Gen Studio applies rate limits by API key, user account, and IP address. It also applies capacity admission before reserving credits.

Create limits

A result is one requested output. For example, 5 source images with number_of_images: 2 creates 10 results.

Polling limits

Do not poll each result individually. Poll the job status endpoint and read all result statuses from the response.

Capacity backpressure

Background removal and Afri-backed tools have independent capacity groups. Each group limits queued results, active results, and the share one account may hold. A batch counts every requested result, so larger batches cannot bypass the per-account pending limit. When capacity is temporarily unavailable, the API returns one of:
These responses include Retry-After. No job is created and no credits are reserved. Retry the same request with the same Idempotency-Key after the indicated delay.

Too many requests

Rate limited responses use HTTP 429: