ComfyUI Node
K3NK Image Grab
A ComfyUI node in K3NK/loaders with 13 inputs and 6 outputs.
K3NK Image Grab
- vae
- image
- latent_batch
- anchor_frame
- filenames
- full_paths
- timestamp
◄directory_path►
◄num_images2►
◄frame_stride5►
◄reverse_orderfalse►
◄reverse_logicfalse►
◄max_batch_frames0►
◄batch_start_frame0►
◄batch_end_frame0►
◄anchor_from_startfalse►
◄anchor_frame_index0►
◄latent_frame_stridetrue►
◄file_extensionsjpg,jpeg,png,bmp,tiff,webp,latent►
CategoryK3NK/loaders
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| directory_path | STRING | — | |
| num_images | INT | 21–10000 | — |
| frame_stride | INT | 50–10000 | Number of frames to skip between selected files (applies to images AND latent files) |
| reverse_order | BOOLEAN | false | Reverse the order of selected files in output |
| reverse_logic | BOOLEAN | false | Reverse selection logic: start from oldest instead of newest |
| max_batch_frames | INT | 00–1000 | Max frames to output in latent_batch (0 = all frames) Note: WanVideoWrapper processes frames in groups of 4 (frame groups) |
| batch_start_frame | INT | 00–1000 | Starting FRAME GROUP index (0=first group, 1=second group, etc.) Each group contains 4 frames in WanVideoWrapper |
| batch_end_frame | INT | 00–1000 | FRAME GROUPS to remove from END (0=keep all, 1=remove last group, etc.) Each group contains 4 frames in WanVideoWrapper |
| anchor_from_start | BOOLEAN | false | True: first frame of lowest-number file False: last frame of highest-number file |
| anchor_frame_index | INT | 00–10000 | Frame index to use as anchor (0=first/last depending on anchor_from_start, 1=second/second-to-last, etc.) |
| latent_frame_stride | BOOLEAN | true | Apply frame_stride to latent files (skip frames inside .latent files) |
| file_extensionsopt | STRING | jpg,jpeg,png,bmp,tiff,webp,latent | — |
| vaeopt | VAE | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| latent_batch | LATENT | — |
| anchor_frame | LATENT | — |
| filenames | STRING | — |
| full_paths | STRING | — |
| timestamp | FLOAT | — |