get_image
Retrieve a generated image from ComfyUI using its filename (obtained via get_history) and return it inline.
Instructions
Fetch a generated image from ComfyUI and return it as an inline image. Works with remote ComfyUI instances — does not require COMFYUI_PATH. Use get_history first to obtain the filename.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Output image filename, e.g. PulID_Klein_00001_.png | |
| type | No | Image directory: output (default), input, or temp | output |
| subfolder | No | Subfolder within the directory, if any | |
| save_dir | No | Local directory to save the image file. Defaults to /tmp/comfyui-images/. |