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):
- Do not upload all 100 files at once.
- Implement a worker queue in your application.
- Upload up to your concurrency limit (e.g., 5 files).
- As tasks complete, upload the next files in the queue.
- Ensure you respect the
requests per minuterate limit when creating tasks.