Check a painted picture
get_generationA picture started with generate_background, by its id: its status, and when done the link to give the user. Needs the same API key. Waits up to wait seconds for it to finish. Example: {"id": "3f9a2c…"}
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": {
"id": "<id>"
},
"name": "get_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The job id from generate_background. | |
| wait | No | Seconds to wait for the picture before answering (0 to 55, default 30). Most take 20 to 60 seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | ||
| next | Yes |