run_image_batch
Executes up to 20 paid image generation or edit tasks synchronously with bounded concurrency, stable task IDs for deduplication, and SHA-256 replay checks to prevent duplicate charges.
Instructions
同步执行1–20项收费生成/编辑,默认并发5,完成并校验落盘后返回。稳定三元组防重;重放验证文件SHA-256,不重复收费;超时/未知结果禁止重发。
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": "run_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 |