ComfyUI Node
Most Recent File Selector (Buff)
A ComfyUI node in utils with 6 inputs and 1 output.
Most Recent File Selector (Buff)
- file_path
◄directory_path/tmp/ComfyUI/input►
◄file_types►
◄create_init_image_if_not_foundfalse►
◄init_image_width512►
◄init_image_height512►
◄init_image_formatpng►
Categoryutils
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| directory_path | STRING | /tmp/ComfyUI/input | Path to search for files. Can be absolute or relative path. |
| file_types | STRING | Optional comma-separated list of file extensions to filter by (e.g., 'png,jpg'). Leave empty for all files. | |
| create_init_image_if_not_found | BOOLEAN | false | When True, creates a black image if no matching file is found. |
| init_image_width | INT | 51264–4096 | Width of the black image to create if no file is found. |
| init_image_height | INT | 51264–4096 | Height of the black image to create if no file is found. |
| init_image_format | COMBO | png | Format to save the black image in if no file is found. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| file_path | STRING | — |