get_image_task
Check an asynchronous image generation task's status (queued, in progress, failed, or succeeded) and optionally save the completed image. Does not resubmit the task.
Instructions
查询 NOT_START(排队)/IN_PROGRESS/FAILURE/SUCCESS;暂时性查询故障最多尝试3次。save=true 时成功图片自动落盘;false 仅查询。不重新提交。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| task_id | Yes | ||
| output_dir | No | 可选绝对输出目录;默认配置目录。异步任务查询默认沿用提交目录。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| note | No | ||
| files | No | ||
| group | No | ||
| usage | No | ||
| status | Yes | ||
| task_id | No | ||
| warning | No | ||
| progress | No | ||
| response | No | ||
| next_tool | No | ||
| output_dir | No | ||
| fail_reason | No | ||
| save_status | No | ||
| wait_timed_out | No | ||
| download_errors | No |