Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate blank images with specified dimensions and color for image data structures or placeholder images in AI art projects.
The EmptyImage node is designed to generate blank images of specified dimensions and color. This can be particularly useful for initializing image data structures or creating placeholder images in your AI art projects. By allowing you to specify the width, height, batch size, and color, this node provides flexibility in creating images that meet your specific needs. Whether you need a single image or a batch of images, the EmptyImage node can efficiently generate them on your chosen device, making it a versatile tool in your image processing workflow.
The width parameter specifies the width of the generated image in pixels. It accepts integer values with a default of 512, a minimum of 1, and a maximum defined by MAX_RESOLUTION. Adjusting this parameter will change the horizontal size of the output image.
The height parameter defines the height of the generated image in pixels. Similar to the width parameter, it accepts integer values with a default of 512, a minimum of 1, and a maximum defined by MAX_RESOLUTION. Modifying this parameter will alter the vertical size of the output image.
The batch_size parameter determines the number of images to generate in a single batch. It accepts integer values with a default of 1, a minimum of 1, and a maximum of 4096. This parameter is useful when you need to create multiple images simultaneously.
The color parameter sets the color of the generated image using an integer value representing the RGB color code. It accepts values ranging from 0 to 0xFFFFFF, with a default of 0 (black). This parameter allows you to customize the color of the blank image.
The IMAGE output parameter returns the generated image(s) as a tensor. This tensor contains the pixel data for the image(s) created based on the specified input parameters. The output can be used directly in subsequent image processing or AI art generation tasks.
color parameter to 0xFFFFFF.batch_size parameter to generate multiple images at once, which can be useful for batch processing tasks.width and height parameters to match the dimensions required for your specific project or workflow.width or height parameter is set outside the allowed range.width and height values are within the specified minimum and maximum limits.batch_size parameter is set to a value greater than 4096. - Solution: Reduce the batch_size value to 4096 or less.color parameter is set to a value outside the range of 0 to 0xFFFFFF.color parameter to a valid RGB color code within the specified range.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.