Nodes/ComfyUI-Buff-Nodes/Most Recent File Selector (Buff)
ComfyUI Node

Most Recent File Selector (Buff)

A ComfyUI node in utils with 6 inputs and 1 output.

By BuffMcBigHuge·Created about a year ago·Updated 2 months ago· 2
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)

    NameTypeDefaultDescription
    directory_pathSTRING/tmp/ComfyUI/inputPath to search for files. Can be absolute or relative path.
    file_typesSTRINGOptional comma-separated list of file extensions to filter by (e.g., 'png,jpg'). Leave empty for all files.
    create_init_image_if_not_foundBOOLEANfalseWhen True, creates a black image if no matching file is found.
    init_image_widthINT51264–4096Width of the black image to create if no file is found.
    init_image_heightINT51264–4096Height of the black image to create if no file is found.
    init_image_formatCOMBOpngFormat to save the black image in if no file is found.

    Outputs (1)

    NameTypeDescription
    file_pathSTRING