Bulk Processing

Efficiently process multiple files while respecting rate limits.

Concurrency Limits

The API enforces a limit on the number of concurrent tasks. By default, authenticated users can have up to 5 tasks processing simultaneously.

Implementation Strategy

When you have a large batch of files to process (e.g., 100 images):

  1. Do not upload all 100 files at once.
  2. Implement a worker queue in your application.
  3. Upload up to your concurrency limit (e.g., 5 files).
  4. As tasks complete, upload the next files in the queue.
  5. Ensure you respect the requests per minute rate limit when creating tasks.