Extensions/ComfyUI-SB-Visual-Review-Save-Images
ComfyUI Extension

ComfyUI-SB-Visual-Review-Save-Images

A ComfyUI extension with 1 custom node.

By smithsun00·Created 5 months ago·Updated 5 months ago· 2
smithsun00/ComfyUI-SB-Visual-Review-Save-Images
Nodes1
On cloudLocal install
CategoryVisualReview
Stars2
Updated5 months ago
Readme

ComfyUI Visual Save

A ComfyUI custom node for visually reviewing, selecting, and saving generated images — with an interactive gallery, a persistent session library, and direct folder navigation.


Nodes

VisualSaveNode — Visual Review & Save

Category: VisualReview

An output node that embeds a full interactive UI inside the node itself.

What it does

  • Displays all images in the current batch in a scrollable thumbnail gallery
  • Clicking a thumbnail loads it in a full-size review panel
  • Selected images can be saved to disk at a chosen path with a configurable filename prefix and star rating suffix
  • Images can be pinned to a Session Library for cross-run curation and later output
  • The Session Library persists across runs and can be used to select images for downstream processing (e.g. upscaling) without re-generating

Inputs

| Input | Type | Description | | -------------------------------- | ------ | ------------------------------------------------------------ | | images | IMAGE | Batch of images from upstream | | root_path | STRING | Root folder for saving | | selected_folder | STRING | Subfolder (navigable via built-in folder tree) | | filename_prefix | STRING | Save filename template, e.g. Image_{index} | | star_char | STRING | Character used for star rating suffix | | star_number | INT | Number of star characters in the suffix | | file_format | ENUM | png, jpg, or webp | | output_indices (optional) | STRING | Comma-separated gallery selection indices | | session_filenames (optional) | STRING | Pipe-separated session library filenames (managed by the UI) |

Outputs

| Output | Type | Description | | ----------------- | ------------ | --------------------------------------------- | | filtered_images | IMAGE (list) | Selected images, one per downstream execution | | width | INT | Width of the output image(s) | | height | INT | Height of the output image(s) |

filtered_images uses OUTPUT_IS_LIST=True — downstream nodes run once per selected image (fan-out behavior), which is required for multi-image session output to work correctly with any downstream node.

UI Features

  • Folder tree — navigate directly to any folder on disk; collapses/expands
  • Review gallery — click to preview, keyboard navigation (← →)
  • Save Selected — saves the currently previewed image with configurable name
  • Session Library — pin any image, select/deselect for output, remove individually or clear all; persists between workflow runs
  • Canvas pass-through — middle-mouse pan, scroll wheel zoom, and left-button drag all work over the node UI as expected

Installation

Drop the folder into ComfyUI/custom_nodes/. No extra packages required — all dependencies (Pillow, torch, numpy) are included in a standard ComfyUI installation.


Notes

  • Session library images are stored in ComfyUI/output/visual_review_session/
  • Multiple instances of the node maintain separate session libraries
  • If nothing is selected, a blank dummy image is passed downstream to avoid blocking the queue