ComfyUI Node Runs on cloud

Image Blank

Make a solid-color image in ComfyUI

By WASasquatch·Created 3 years ago·Updated about a year ago· 1,812
Image Blank

      Sometimes you don't need a generated image, you need a flat rectangle of one color. A solid backdrop to composite onto. A white canvas to paste a crop into. A colored fill to blend against. Image Blank does exactly that and nothing else: pick a size, pick a color, out comes a solid image.

      It's the kind of node you don't think about until a workflow suddenly needs one, and then you're glad it exists. Core ComfyUI makes you jump through hoops to get a plain colored image; this hands it to you in one node.

      How it works

      There's no generation here - no model, no sampling, no noise. It allocates an image at the width and height you give it and fills every pixel with the color you specify. Instant, deterministic, free. Because the output is a standard IMAGE tensor, it drops straight into any node that takes an image: blend nodes, paste/composite nodes, mask operations, or just a preview so you can eyeball the color.

      The classic uses: a base layer for compositing something on top, a solid color to blend into an existing image (a tint or wash), a placeholder while you build a graph, or a clean canvas for the paste-crop family of nodes so a crop has somewhere to land.

      The inputs and outputs that matter

      You set the width and height for the dimensions, and the color as red/green/blue channel values. That's it - three things, and two of them are just "how big." The output is a single image at that size, filled with that color, ready to wire anywhere downstream.

      If you want the canvas to match an existing image's size, feed its dimensions in rather than typing numbers - WAS's Image Size to Number pulls width and height off an image so your blank always matches.

      How to install it

      Ships in WAS Node Suite. The painless way is ComfyUI Manager: search WAS Node Suite, install, restart. Manually:

      cd ComfyUI/custom_nodes
      git clone https://github.com/WASasquatch/was-node-suite-comfyui
      pip install -r was-node-suite-comfyui/requirements.txt
      

      then restart ComfyUI. On the Windows portable build use python_embeded\python.exe -s -m pip install -r ... (or the included install.bat) so the requirements install into ComfyUI's Python rather than your system one. Image Blank itself needs no models or extra libraries - it's about as lightweight as a node gets.

      Common issues & troubleshooting

      The color isn't what you expected. The color is set per RGB channel (0–255), so 0,0,0 is black, 255,255,255 is white, and mixing gives you everything between. If you get an unexpected shade, it's almost always a channel value typed wrong - double-check the three numbers before blaming the node.

      Size mismatch when compositing. Blend and paste nodes generally want the layers to line up. If your blank is 512×512 and the image you're pasting onto is 768×1024, expect trouble. Match the blank to the target - feed real dimensions in instead of hardcoding them, and it stays correct even when the upstream size changes.

      It's not the fastest way anymore. This node is fine and it works, but if you have a modern utility pack loaded (something like the newer image-primitive nodes), you may already have a solid-color generator that fits your graph with less clutter. No reason to install all of WAS just for this - but if the suite's already there, Image Blank is the obvious pick.

      The suite won't load at all. WAS Node Suite is a big, no-longer-maintained pack, and the recurring gotcha is an "Import Failed" after you update ComfyUI, caused by a dependency version clash (opencv especially). Reinstall the requirements against your ComfyUI Python and restart. The node is trivial; the suite's install is the only real risk.

      Categoryx

      Inputs (0)

      No inputs

      Outputs (0)

      No outputs