Get background image result
get_image_resultCollect a background image generation job’s result by job ID: returns status while running, then text and image outputs when complete.
Instructions
Collect the result of a generate_image call started with background: true. When the job is done it returns the same text and images as a normal call (images only the first time; later calls return the text and file paths). While it runs it returns its status. Finished jobs are kept for 1 hour and are lost if the MCP server restarts.
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": {
"job_id": "<job_id>"
},
"name": "get_image_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job id returned by generate_image with background: true. | |
| wait_seconds | No | Wait up to this many seconds; returns as soon as the job finishes. 0 returns the current status immediately. |