ComfyUI Node
Smart Batch Resize π
A ComfyUI node in CraftKit with 13 inputs and 2 outputs.
Smart Batch Resize π
- images
- count
βinput_folderβΊ
βlongest_side1024βΊ
βmultiple_of8βΊ
βinterpolationlanczosβΊ
βprefixβΊ
βuse_original_nametrueβΊ
βuse_counterfalseβΊ
βcounter_start1βΊ
βsuffix_resolutiontrueβΊ
βfolder_resolutionfalseβΊ
βfolder_customresizedβΊ
βskip_if_existstrueβΊ
βdelimiter_βΊ
CategoryCraftKit
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| input_folder | STRING | Folder containing images to resize. | |
| longest_side | INT | 102464β8192 | Longest side target in pixels. Aspect ratio is always preserved. |
| multiple_of | INT | 81β128 | Snap both dimensions to a multiple of this value. Use 8 for SD/Flux. |
| interpolation | COMBO | lanczos | Resampling method. Lanczos is sharpest for downscaling. |
| prefix | STRING | Label prepended to filename. E.g. 'headshot' β headshot_photo_001_1024.jpg | |
| use_original_name | BOOLEAN | true | Include the original filename in the output name. |
| use_counter | BOOLEAN | false | Add a sequential 3-digit counter to each filename (001, 002, ...). |
| counter_start | INT | 10β99999 | Starting number for the counter. Useful when processing multiple batches. |
| suffix_resolution | BOOLEAN | true | Append resolution to filename. E.g. photo_1024.png |
| folder_resolution | BOOLEAN | false | Append resolution to subfolder name. E.g. resized_1024 |
| folder_custom | STRING | resized | Subfolder name. Resolution is appended if 'Create resolution subfolder' is on. |
| skip_if_exists | BOOLEAN | true | Skip files that already exist in the output folder. |
| delimiter | STRING | _ | Separator between filename parts. E.g. _ or - |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | β |
| count | INT | β |