Load Image (Soze)
The stock loader, plus the filename data ComfyUI won't give you
- Image
- Mask
- Image_Filename_Path
- Image_Filename
- Image_Filename_No_Ext
- Image_Changed
- status
ComfyUI already ships a built-in Load Image node, so why would you install a pack for another one? Because the stock version gives you an image and a mask and nothing else - no filename, no way to tell whether the selected file actually changed since last run. Load Image (Soze) is a drop-in replacement with the extra outputs people building automated or metadata-aware workflows keep needing.
How it works
Functionally it's the same interaction as the core node: pick an image from ComfyUI's input directory via the dropdown, and it loads it. The difference is entirely in what comes back out - alongside the image and mask, you get the filename in three forms and a boolean flag for whether the image selection changed since the last run, which is genuinely useful if you're caching something downstream and only want to reprocess when the input actually differs.
The inputs and outputs that matter
image- required, a dropdown populated from ComfyUI's input directory (same selection mechanism as the stock loader).- Output:
Image- the loaded image. - Output:
Mask- the associated mask, same as the stock node. - Output:
Image_Filename_Path,Image_Filename,Image_Filename_No_Ext- the filename in three forms: full path, filename with extension, filename without. Wire one of these into a save node or a text overlay if you want your output filenames to trace back to the input. - Output:
Image_Changed- a BOOL. True if this run's selected image differs from the previous run's. Useful for gating expensive downstream work behind "only if the input actually changed." - Output:
status- a status string for the load.
How to install it
Via ComfyUI Manager: search "Quality of Life Nodes for ComfyUI" or "Soze." Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/SozeInc/ComfyUI_Soze.git
pip install -r ComfyUI_Soze/requirements.txt
then restart ComfyUI - the node should now show up alongside (not replacing) the stock Load Image node. No models or heavy dependencies here.
Common issues & troubleshooting
You've got two "Load Image" nodes now and it's confusing. That's expected - this pack adds its own version rather than overriding ComfyUI's built-in one. Look for "(Soze)" in the node's title or search box to tell them apart when adding a node to your graph.
Image_Changed is always true, or always false. This depends on the node correctly persisting state between runs - if you're running the workflow via the API rather than the UI queue, or resetting the workflow between runs some other way, that state may not carry over the way it would in a normal interactive session. If you need reliable change-detection in an automated pipeline, verify this behavior with a couple of test runs before depending on it.
Filename outputs are empty. If the dropdown is pointed at a file that no longer exists in the input directory (moved, renamed, deleted since the workflow was saved), you'll get load errors rather than empty filenames - check the dropdown's current selection is still valid first.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| image | COMBO | 1 options: example.png |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| Image | IMAGE | — |
| Mask | MASK | — |
| Image_Filename_Path | STRING | — |
| Image_Filename | STRING | — |
| Image_Filename_No_Ext | STRING | — |
| Image_Changed | BOOL | — |
| status | STRING | — |