> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lululab.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch submission

Use `POST /tasks/batch` to submit related creative tasks together. The request body is a JSON array. The response is an array in the same order.

* Standard batches support `ImageGenV2`, `VideoGenV2` and `VideoCreationV1`, up to 100 items.
* A batch containing `DeepRecreationV1`, `StoryboardRecreationV1` or `ElementReplacementV1` supports up to 20 items.
* Each item requires its own `quoteId` for the same account, workflow and pricing inputs. A single estimate or quote cannot cover the whole batch.

Get a quote for each item, then submit the array with the same pricing inputs. Save the returned task IDs and [poll each task](https://docs.lululab.ai/task-results.md). If a network error leaves the submission uncertain, retry the same array with the same quotes. If you get `409`, check whether a quote expired, came from another submission or no longer matches the pricing inputs. `402` means there were insufficient credits to admit the batch.

```bash theme={null}
curl -X POST https://customer.lululab.ai/tasks/batch \
  -H "Authorization: $LULULAB_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @quoted-tasks.json
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.