Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate constant color images using HSV model for AI art projects, offering precise control over color output.
The ImageConstantHSV
node is designed to generate images with a constant color defined by the HSV (Hue, Saturation, Value) color model. This node is particularly useful for creating uniform backgrounds or overlays in your AI art projects. By specifying the hue, saturation, and value, you can precisely control the color output, making it a versatile tool for various artistic needs. The node allows you to generate images of specified dimensions and batch sizes, ensuring that you can create consistent and repeatable color patterns across multiple images.
The width
parameter defines 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 specifies 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
. This parameter controls the vertical size of the output image.
The batch_size
parameter determines the number of images to generate in one batch. It accepts integer values with a default of 1, a minimum of 1, and a maximum of 4096. This is useful for generating multiple images with the same settings in a single operation.
The hue
parameter sets the hue component of the HSV color model. It accepts floating-point values ranging from 0.0 to 1.0, with a default of 0.0. The hue determines the color type, such as red, green, or blue, and is represented as a position on the color wheel.
The saturation
parameter controls the saturation level of the color. It accepts floating-point values from 0.0 to 1.0, with a default of 0.0. Saturation defines the intensity or purity of the color, where 0.0 is grayscale and 1.0 is the most vivid color.
The value
parameter sets the brightness of the color. It accepts floating-point values from 0.0 to 1.0, with a default of 0.0. The value component determines how light or dark the color appears, with 0.0 being completely black and 1.0 being the brightest possible color.
The IMAGE
output parameter provides the generated image(s) with the specified HSV color. The output is a tensor containing the image data, which can be used directly in further processing or as a final output in your AI art projects. The image will have the dimensions and batch size specified in the input parameters.
width
and height
to match your canvas size and adjust the hue
, saturation
, and value
to achieve the desired color.batch_size
parameter to generate multiple images with the same color settings, which can be useful for creating consistent elements across different parts of your project.<new_shape>
and <orig_shape>
width
, height
, and batch_size
parameters accordingly.batch_size
parameter is set correctly and matches the expected input size for the operation. Adjust the batch size if necessary to ensure consistency.© Copyright 2024 RunComfy. All Rights Reserved.