Wait Image Tasks
wait_image_tasksWaits for 1–100 existing image tasks to reach a terminal state and returns their results without resubmitting or regenerating images.
Instructions
等待1–100个已有任务,不提交、不重新出图;所有指定任务终态后返回结果。
task_ids必填且不重复;不存在或错误命名空间报错。 等待时限默认600秒,严格整数1–1200;到期isError=true、wait_timed_out=true, 保留当前状态和已完成图片,后台继续。客户端取消只停止本次等待。 终态failed/unknown/cancelled是isError;查询get_image_tasks不等待。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_ids | Yes | ||
| thread_id | Yes | ||
| checkpointer | Yes | ||
| wait_timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| thread_id | Yes | ||
| next_cursor | No | ||
| checkpointer | Yes | ||
| wait_timed_out | No |