> ## 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.

# 批量提交

用 `POST /tasks/batch` 集中提交创作任务。请求体是 JSON 数组，返回的任务也按请求顺序排列。

* 普通批次支持 `ImageGenV2`、`VideoGenV2`、`VideoCreationV1`，上限 100 项。
* 批次包含 `DeepRecreationV1`、`StoryboardRecreationV1` 或 `ElementReplacementV1` 时，上限为 20 项。
* 每项必须有独立的 `quoteId`，并与当前账户、工作流和计价参数一致。预估或单个报价无法用于整批提交。

先为每项申请报价，再按相同计价参数提交数组。保存每条任务的 ID，[分别查询状态](https://docs.lululab.ai/cn/task-results.md)。网络故障导致提交结果不明时，使用同一组报价重试原请求。遇到 `409` 时检查报价是否过期、是否已用于其他提交，以及计价参数是否变化。`402` 表示积分不足，批次无法受理。

```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.