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.
PSN Random Image Selector
- file_names
- selected_indices
- selected_file_names
- file_paths
- reason
◄folder_path►
◄num_images3►
◄seed0►
CategoryParametric/Image
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | Folder path. | |
| num_images | INT | 31–10000 | Num images. From 1 to 10000. Default 3. |
| seedopt | INT | 0-2147483648–2147483647 | Random seed: the same seed repeats the same result. From -2.14748e+09 to 2.14748e+09. Default 0. |
| file_namesopt | LIST[STRING] | File names. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| selected_indices | LIST[INT] | — |
| selected_file_names | LIST[STRING] | — |
| file_paths | LIST[STRING] | — |
| reason | STRING | — |