Fetch images from a ChatGPT conversation
fetch_imagesDownloads generated images from an existing ChatGPT conversation link without sending anything, so you can recover images after a timed-out job or save images from an earlier chat.
Instructions
Download the generated images of the latest answer in an existing ChatGPT conversation (by its link) without sending anything. Use it when a job timed out or failed after ChatGPT had started, but the chat finished later, or to save images from an earlier chat. Like generate_image it returns within wait_seconds (default 45); if it says STILL RUNNING or QUEUED, keep calling job_status with its job_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | Optional folder to also copy the image(s) into (absolute path preferred). | |
| aspect_ratio | No | Optional W:H (between 1:4 and 4:1, e.g. 16:9) to crop the downloaded images to, from the centre; the full images are kept too. For the result of a generate_image job, pass its aspect_ratio again. | |
| wait_seconds | No | Return within this many seconds. The default 45 keeps each call under the 60-second tool limit some clients have. If the job has not finished by then, the result says STILL RUNNING or QUEUED: call job_status with its job_id again. | |
| include_preview | No | Attach a downscaled preview. | |
| conversation_url | Yes | ChatGPT conversation link (https://chatgpt.com/…/c/…). |