Poll a generate_image task
get_generation_statusReturns the status of one render task: processing, completed (with the image link) or failed. For an isolate job, the result carries the cutout as isolatedReference.
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": {
"task_id": "<task_id>"
},
"name": "get_generation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | Yes | ||
| receipt | No | A signed receipt for the finished image. | |
| task_id | Yes | ||
| image_url | No | ||
| generation_id | No | ||
| credits_remaining | No | ||
| isolatedReference | No | For an isolate_reference_item job: the cutout as a reference. Pass its ref or url to generate_image, or its generation_id or url to save_reference_to_library. |