get_image_task
Check the status and retrieve results of an image generation task by request_id. Returns result URLs and image links, with built-in polling that waits before re-querying.
Instructions
Query a task created by TopMediAi-MCP using its request_id. After a successful status query, wait poll_after_seconds (normally 20 seconds) before querying this task again. Earlier or concurrent calls return cached:true with saved state and the remaining wait, without another backend request. Different tasks run independently without holding the store lock during network requests. Stop normal polling on completed or failed. Returns result URLs and image resource links. When images are available use preview_image_task and include clickable original links. Does not submit or charge for another generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | Stable caller-generated ID. Reuse it for retries of the same submission. | |
| refresh_result | No | Re-query the original owned image task even if completed, to attempt recovery of expired result links. No generation or paid retry; the backend may still return the same link. |