Submit Image Tasks
submit_image_tasksRegister up to 20 background image generation or edit tasks and return immediately without waiting for results. Use it for batch e-commerce image jobs, then query status and fetch saved files later.
Instructions
批量登记1–20个后台图像任务并立即返回,不等待绘图/下载(会在后台收费)。
每项task_id在checkpointer/thread_id内唯一且稳定,同内容复用;任何冲突全批不新增。 每项可选model/api_format(auto)/endpoint(auto);变体按显式resolution路由。 Flash-lite仅Gemini/Chat;nano-banana-pro仅DALL·E;gemini-nano仅DALL·E Generations/Gemini/Chat。 查询get_image_tasks;queued/preparing/running是正常状态,unknown不能盲目重交。 MCP进程关闭时未发送任务可在重启后继续,已可能发送任务不自动重试。
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_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| thread_id | Yes | ||
| checkpointer | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| thread_id | Yes | ||
| next_cursor | No | ||
| checkpointer | Yes |