Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates seamless merging of two images with background control for precise AI image composition.
The ImageComposite_BG_Zho
node is designed to facilitate the seamless combination of two images into a single composite image, with the added flexibility of specifying a background image. This node is particularly useful for AI artists looking to merge images with precision, allowing for control over the positioning and transparency of each image. By leveraging this node, you can create complex image compositions that blend elements from different sources, enhancing your creative projects with layered visual effects. The node supports various methods for image combination, ensuring that you can achieve the desired artistic outcome with ease.
This parameter represents the first set of images to be composited. It is essential for defining the primary image layer in the composition process. The images should be provided in a compatible format that the node can process.
This parameter represents the second set of images to be composited. It serves as the secondary image layer that will be combined with the primary images. The images should be provided in a compatible format that the node can process.
This parameter controls the transparency level of the first set of images (images_a
). The value ranges from 0.0 (completely transparent) to 1.0 (completely opaque), with a default value of 1.0. Adjusting this parameter allows you to blend the primary images with the background and secondary images.
This parameter controls the transparency level of the second set of images (images_b
). The value ranges from 0.0 (completely transparent) to 1.0 (completely opaque), with a default value of 1.0. Adjusting this parameter allows you to blend the secondary images with the background and primary images.
This parameter specifies the horizontal offset for the first set of images (images_a
) as a percentage of the container width. The value ranges from 0.0 to 1.0, with a default value of 0.0. It allows you to position the primary images precisely within the composite.
This parameter specifies the vertical offset for the first set of images (images_a
) as a percentage of the container height. The value ranges from 0.0 to 1.0, with a default value of 0.0. It allows you to position the primary images precisely within the composite.
This parameter specifies the horizontal offset for the second set of images (images_b
) as a percentage of the container width. The value ranges from 0.0 to 1.0, with a default value of 0.0. It allows you to position the secondary images precisely within the composite.
This parameter specifies the vertical offset for the second set of images (images_b
) as a percentage of the container height. The value ranges from 0.0 to 1.0, with a default value of 0.0. It allows you to position the secondary images precisely within the composite.
This parameter determines which set of images will be used as the background layer in the composite. The options are images_a
or images_b
. Selecting the appropriate background ensures that the desired image set forms the base layer of the composition.
This parameter defines the method used for combining the images. The options are pair
or matrix
. The pair
method combines images in pairs, while the matrix
method arranges images in a grid-like structure. Choosing the right method depends on the desired layout and complexity of the composite.
The output of this node is a single composite image that combines the specified sets of images (images_a
and images_b
) according to the defined parameters. The resulting image reflects the applied offsets, transparency levels, and background selection, providing a cohesive visual output that integrates elements from both image sets.
alpha_a
and alpha_b
parameters to find the optimal transparency levels.images_a_x
, images_a_y
, images_b_x
, and images_b_y
parameters to fine-tune the positioning of each image set within the composite, ensuring that key elements are aligned as desired.background
option to determine which image set will serve as the base layer, providing a foundation for the composite.method
parameter based on the complexity of your composition. The pair
method is ideal for simple combinations, while the matrix
method is better suited for more intricate layouts.method
parameter.method
parameter is set to either pair
or matrix
. Double-check the parameter value and correct it if needed.© Copyright 2024 RunComfy. All Rights Reserved.
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.