Solid Color Batched:
The SolidColorBatched node is designed to generate a batch of solid color images, which can be particularly useful in various AI art and image processing tasks. This node allows you to create images of a specified size and color, defined by RGB values, in batches. The primary purpose of this node is to provide a simple and efficient way to produce uniform color backgrounds or overlays that can be used in compositing, masking, or as a base layer for further artistic manipulation. By enabling batch processing, it supports workflows that require multiple images to be generated simultaneously, thus enhancing productivity and consistency in projects that involve repetitive tasks or require uniformity across multiple images.
Solid Color Batched Input Parameters:
batch_size
The batch_size parameter determines the number of solid color images to generate in one execution. It allows you to specify how many images you need, which is particularly useful when working with batch processing in AI art projects. The minimum value is 1, ensuring at least one image is created, and it defaults to 1.
height
The height parameter specifies the vertical dimension of each generated image in pixels. This parameter allows you to control the size of the image, ensuring it fits the intended use case, whether for a background, overlay, or other purposes. The minimum value is 1 pixel, and it defaults to 720 pixels.
width
The width parameter defines the horizontal dimension of each generated image in pixels. Similar to the height, this parameter ensures the image meets the required specifications for your project. The minimum value is 1 pixel, and it defaults to 1280 pixels.
red
The red parameter sets the intensity of the red channel in the RGB color model for the generated images. It allows you to adjust the red component of the color, ranging from 0 (no red) to 255 (full red intensity). The default value is 0.
green
The green parameter controls the intensity of the green channel in the RGB color model. This parameter lets you modify the green component of the color, with values ranging from 0 to 255. The default value is 255, resulting in a fully green image if other channels are set to 0.
blue
The blue parameter adjusts the intensity of the blue channel in the RGB color model. It allows you to set the blue component of the color, with a range from 0 to 255. The default value is 0.
Solid Color Batched Output Parameters:
solid
The solid output parameter provides the generated batch of solid color images. Each image in the batch is created according to the specified dimensions and RGB color values. This output is crucial for tasks that require consistent color backgrounds or overlays, as it ensures that each image in the batch is identical in color and size, facilitating uniformity in subsequent processing or compositing tasks.
Solid Color Batched Usage Tips:
- To create a uniform background for a series of images, set the
batch_sizeto match the number of images you need and adjust theheightandwidthto fit your project requirements. - Experiment with different RGB values to achieve the desired color effect, keeping in mind that the default setting produces a green image.
Solid Color Batched Common Errors and Solutions:
Invalid batch size
- Explanation: The
batch_sizeparameter is set to a value less than 1. - Solution: Ensure that thebatch_sizeis set to at least 1 to generate images.
Image dimensions too small
- Explanation: The
heightorwidthparameters are set to values less than 1. - Solution: Adjust theheightandwidthparameters to be at least 1 pixel to create valid images.
RGB value out of range
- Explanation: The
red,green, orblueparameters are set outside the range of 0 to 255. - Solution: Ensure that all RGB values are within the 0 to 255 range to produce valid colors.
