Nodes/Image Misc/Create Empty Image
ComfyUI Node

Create Empty Image

Create a solid-color image. If the optional image is provides uses its shape.

By set-soft·Created about a year ago·Updated 7 months ago· 2
Create Empty Image
  • reference
  • image
width1024
height1024
batch_size1
color#000000
Categoryimage/generation

Inputs (5)

NameTypeDefaultDescription
widthINT10241–8192The width of the new image in pixels. This value is ignored if a `reference` is provided.
heightINT10241–8192The height of the new image in pixels. This value is ignored if a `reference` is provided.
batch_sizeINT11–64The number of images to create in the batch. This value is ignored if a `reference` is provided.
colorSTRING#000000Color for fill. Can be an hexadecimal (#RRGGBB). Can comma separated RGB values in [0-255] or [0-1.0] range.
referenceoptIMAGEIf an image is connected here, its dimensions (batch size, height, and width) will be used for the new image, overriding the manual width, height, and batch_size inputs.

Outputs (1)

NameTypeDescription
imageIMAGE