Visit ComfyUI Online for ready-to-use ComfyUI environment
Blend images seamlessly with masks and offsets for artistic compositions.
The composite
node is designed to blend two images or latent representations together, allowing for creative and seamless integration of visual elements. This node is particularly useful for artists looking to overlay images with precision, using various compositing techniques to achieve the desired visual effect. By leveraging masks and offsets, the node provides flexibility in how images are combined, enabling the creation of complex and layered compositions. The primary goal of this node is to facilitate the merging of visual data in a way that maintains the integrity and aesthetic of the original images, while also allowing for artistic manipulation and enhancement.
The image_source
parameter represents the primary image that you want to overlay onto another image. It is crucial for defining the visual content that will be composited. This parameter accepts an image tensor and serves as the main element in the compositing process.
The image_dest
parameter is the target image onto which the image_source
will be composited. It acts as the background or base layer in the compositing operation. This parameter also accepts an image tensor and is essential for determining the final appearance of the composite image.
The mask_source
parameter is an optional mask that can be applied to the image_source
. It defines the transparency and blending areas of the source image, allowing for selective compositing. This parameter accepts a mask tensor and can significantly impact the visual outcome by controlling which parts of the source image are visible.
The mask_dest
parameter is an optional mask for the image_dest
. Similar to mask_source
, it controls the transparency and blending of the destination image. This parameter accepts a mask tensor and is useful for refining the compositing process by adjusting the visibility of the destination image.
The x_offset
parameter specifies the horizontal displacement of the image_source
relative to the image_dest
. It allows you to position the source image precisely on the destination image. The default value is 0, with a minimum and maximum value defined by the system's constraints.
The y_offset
parameter determines the vertical displacement of the image_source
relative to the image_dest
. Like x_offset
, it provides control over the positioning of the source image. The default value is 0, with a minimum and maximum value defined by the system's constraints.
The image_out
parameter is the resulting image after the compositing process. It represents the final visual output, combining the image_source
and image_dest
according to the specified masks and offsets. This output is crucial for evaluating the success of the compositing operation and serves as the basis for further artistic adjustments or final presentation.
mask_source
and mask_dest
configurations to achieve unique blending effects and enhance the visual depth of your compositions.x_offset
and y_offset
to creatively position elements within your composite, allowing for dynamic and engaging visual arrangements.x_offset
or y_offset
exceeds the allowable range, causing the source image to be positioned outside the destination image.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.