submit_image_batch
Submits up to 20 image generation or edit tasks for asynchronous processing, returns task IDs immediately, and saves completed images in the background with concurrency control.
Instructions
一次提交1–20项收费异步生成/编辑,默认并发5、最多20。收到编号即返回,后台每90秒查询并落盘。同一(checkpointer,thread_id,task_id)及参数复用,冲突拒绝;不确定提交永不自动重发。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"checkpointer": "<checkpointer>",
"thread_id": "<thread_id>",
"tasks": "<tasks>"
},
"name": "submit_image_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| thread_id | Yes | 稳定的本地检查点命名空间/会话键,1–128字符。 | |
| checkpointer | Yes | 稳定的本地检查点命名空间/会话键,1–128字符。 | |
| max_concurrency | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| tasks | Yes | ||
| status | Yes | ||
| next_tool | Yes | ||
| thread_id | Yes | ||
| checkpointer | Yes |