query_task
Check the status and retrieve results of an image generation task using its task ID. Monitor task progress and get image URLs upon completion.
Instructions
Query the status and results of a previously submitted task. Use the taskId returned by text_to_image. Status values: QUEUED (waiting), RUNNING (processing), SUCCESS (completed, results available), FAILED (error occurred). When SUCCESS, results contains image URLs in the 'url' field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task ID returned by text_to_image |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||