ComfyUI Node

Empty Images

Auto-generated placeholder images for pipeline testing

By M1kep·Created 3 years ago·Updated 2 years ago· 56
Empty Images
    • Image
    num_images
    splits
    batch_size1

    Empty Images exists to hand you a list of solid-color placeholder images without any input at all. You tell it how many images you want and it produces them - 512×512 solid-color tensors, color-cycled so you can tell them apart, arranged into a list. It's not a "real" node in the generation sense; it's scaffolding. You use it to test the shape of a workflow before you spend GPU time on actual content.

    The three inputs are all optional: num_images (how many images total), splits (how to group them into chunks), and batch_size (images per tensor, default 1). The output is Image, a list of IMAGE tensors. It's also an output node, so whatever it generates gets saved to ComfyUI's output folder like any finished render.

    The interesting part is how num_images and splits interact, because the node will do math for you either way. Give it only num_images and you get that many images in one chunk. Give it only splits and num_images becomes the sum. Give it both and a single splits value gets repeated until it fills the count - so num_images = 8, splits = 2 becomes [2, 2, 2, 2]. But give it both with multiple splits and the sums disagree (num_images = 8, splits = [3, 2]), and it throws an error rather than guessing. The color cycle is deterministic: each split gets a different base color, and within a batch each image shades a step toward white so adjacent placeholders stay distinguishable.

    Honest review: this is the most niche node in the pack. It doesn't feed a sampler - it feeds your debugging. If you're building a grid pipeline and want to confirm the split math and grid assembly work before real generation, this gives you a fast, free batch to run through the machinery. It's also the closest thing the pack has to a "test card." For actual placeholder work with a color you care about, Kep_VariableImageBuilder is the more controllable option; this one is for when you just want N images now.

    Where people stumble: leaving both num_images and splits empty errors out (it has to know some count), and the mismatch error above if you try to be clever with both at once. Set one, let it derive the other, and it behaves.

    Install is the pack-wide standard - no pip dependencies, no model downloads:

    cd ComfyUI/custom_nodes
    git clone https://github.com/M1kep/Comfy_KepListStuff
    

    Restart ComfyUI, or grab Comfy_KepListStuff from Manager, and it's under List Stuff. Point it at a number and let the rainbow placeholder factory do its thing.

    CategoryList Stuff

    Inputs (3)

    NameTypeDefaultDescription
    num_imagesoptINT
    splitsoptINT
    batch_sizeoptINT1

    Outputs (1)

    NameTypeDescription
    ImageIMAGE