Nodes/Parametric Studio/PSN Random Image Selector
ComfyUI Node

PSN Random Image Selector

Selects random image files from a folder (listed by extension) or from a supplied name list; returns names and paths only, loads no image.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
PSN Random Image Selector
  • file_names
  • selected_indices
  • selected_file_names
  • file_paths
  • reason
◄folder_path►
◄num_images3►
◄seed0►
CategoryParametric/Image

Inputs (4)

NameTypeDefaultDescription
folder_pathSTRINGFolder path.
num_imagesINT31–10000Num images. From 1 to 10000. Default 3.
seedoptINT0-2147483648–2147483647Random seed: the same seed repeats the same result. From -2.14748e+09 to 2.14748e+09. Default 0.
file_namesoptLIST[STRING]File names.

Outputs (4)

NameTypeDescription
selected_indicesLIST[INT]—
selected_file_namesLIST[STRING]—
file_pathsLIST[STRING]—
reasonSTRING—