Visit ComfyUI Online for ready-to-use ComfyUI environment
Customizable image container for AI artists with specified dimensions and color properties, ideal for base image generation.
The ImageContainer
node is designed to create a customizable image container with specified dimensions and color properties. This node is particularly useful for AI artists who need to generate a base image with specific width, height, and color attributes, which can then be used as a canvas for further image processing or compositing tasks. By allowing you to define the size and color (including transparency) of the container, this node provides a flexible foundation for various creative workflows, ensuring that the generated image meets your exact specifications.
The width
parameter specifies the width of the image container in pixels. It determines how wide the resulting image will be. The minimum value is 1, and the default value is 512. Adjusting this parameter allows you to control the horizontal size of your image container.
The height
parameter specifies the height of the image container in pixels. It determines how tall the resulting image will be. The minimum value is 1, and the default value is 512. Adjusting this parameter allows you to control the vertical size of your image container.
The red
parameter sets the red component of the background color for the image container. It ranges from 0 to 255, with a default value of 255. This parameter allows you to adjust the intensity of the red color in the background.
The green
parameter sets the green component of the background color for the image container. It ranges from 0 to 255, with a default value of 255. This parameter allows you to adjust the intensity of the green color in the background.
The blue
parameter sets the blue component of the background color for the image container. It ranges from 0 to 255, with a default value of 255. This parameter allows you to adjust the intensity of the blue color in the background.
The alpha
parameter controls the transparency of the background color for the image container. It ranges from 0.0 (completely transparent) to 1.0 (completely opaque), with a default value of 0.0. This parameter allows you to set the level of transparency for the background color.
The IMAGE
output parameter provides the generated image container as a tensor. This tensor represents the image with the specified width, height, and color properties, and can be used as a base for further image processing or compositing tasks. The output is a single image tensor that can be easily integrated into your creative workflow.
alpha
parameter to 1.0 and adjust the red
, green
, and blue
parameters to your desired color values.alpha
parameter to 0.0. This is useful for overlaying the container on other images without obscuring them.width
and height
values to create image containers of various sizes, suitable for different aspects of your projects.width
and height
parameters are set to values that are equal to or larger than the dimensions of the images you intend to use within the container.container_size_type
is provided.container_size_type
such as "sum", "sum_width", or "sum_height" when configuring the node.© Copyright 2024 RunComfy. All Rights Reserved.