Nodes/ComfyUI_RaykoStudio/๐ŸฆŠ RS Image Selector
ComfyUI Node

๐ŸฆŠ RS Image Selector

Pick which batch images to keep, in a grid, before they hit the sampler

By RaykosanยทCreated about a year agoยทUpdated 5 days agoยท 79
๐ŸฆŠ RS Image Selector
  • images
  • selected_images

Batch workflows have an awkward middle: you generate 16 images and you only want to run the good 6 through the expensive second pass. Doing that usually means manually hunting through output folders and rebuilding the batch. ๐ŸฆŠ RS Image Selector (RS Image Selector) sits in the graph, shows you the whole batch in a responsive grid, and lets you click to select the keepers before anything continues. Only the ones you tick pass through to the next node.

How it works

Feed it a batched IMAGE tensor (any node that outputs several images at once), run the queue, and it pauses with a grid of every frame in the batch. Click thumbnails to select or deselect - there are SELECT ALL and DESELECT ALL buttons for the whole batch - then hit โœ”๏ธ ACCEPT. The node returns only your selected images as a fresh batched tensor for whatever comes next. โŒ CANCEL aborts the whole run.

A couple of under-the-hood details are worth knowing because they're the difference between this working and silently breaking:

  • Heartbeat system. The frontend and backend ping each other during the wait, so ComfyUI won't freeze or drop the session if the browser tab hiccups.
  • Auto-cleanup. Selector resources are released when you remove the node or close the workflow, so you don't accumulate zombie sessions in a long-lived server.

Inputs and output

  • images - an IMAGE tensor containing the batch you want to filter.
  • selected_images - output IMAGE, only the images you ticked, re-batched. Wire it into a KSampler, an upscaler, VAEEncode, or whatever processes the survivors.

There are no other inputs or widgets - this is deliberately a one-job node.

How to install

Part of ComfyUI_RaykoStudio:

cd ComfyUI/custom_nodes
git clone https://github.com/Raykosan/ComfyUI_RaykoStudio.git

Restart ComfyUI, or install via ComfyUI Manager by searching "ComfyUI_RaykoStudio". No model downloads, no extra Python packages beyond the pack's standard set.

Common issues

  • It waits forever. Reminder in the README: the generation pauses indefinitely until you click โœ”๏ธ ACCEPT, โŒ CANCEL, or close the workflow/page. If you forgot you had it in the graph, that's the "why is nothing happening" answer.
  • Nothing selected passes through. If you hit ACCEPT with zero selected, the downstream node gets an empty batch - select at least one first.
  • Grid too small to judge. The node auto-sizes based on image count, and you can resize it on canvas; it's a node, not a zooming viewer, so for fine judgment you might still want RS Image Compare.

The honest take: this is a quality-of-life node for a specific pain (curating between passes). If you never run batch-count > 1, it's useless to you. If you do, it beats every alternative of manually tracking which indices were good.

Category๐ŸฆŠ RaykoStudio

Inputs (1)

NameTypeDefaultDescription
imagesIMAGEโ€”

Outputs (1)

NameTypeDescription
selected_imagesIMAGEโ€”