Get Image Result
get_resultRetrieve file paths for images queued by generate_image or edit_image, waiting up to 50 seconds and polling again until all jobs finish.
Instructions
Wait for images queued by generate_image or edit_image and return their file paths. Waits up to wait_seconds (max 50). Each result has a status: completed (images ready), running, queued, error, or not_found. If done is false, some jobs are still generating: call get_result again with the same prompt_ids and keep calling until done is true. Slow machines can need several calls.
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": {
"prompt_ids": "<prompt_ids>"
},
"name": "get_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_ids | Yes | prompt_ids returned by generate_image or edit_image | |
| wait_seconds | No | Max seconds to wait before reporting pending jobs (0-50) |