Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates blending latent images with conditional masking for AI art generation tasks.
The easy latentCompositeMaskedWithCond
node is designed to facilitate the composite operation on latent images with conditional masking. This node allows you to blend two latent images by specifying a source and a destination, along with optional masking and resizing capabilities. The primary goal of this node is to provide a flexible and efficient way to combine latent images, which can be particularly useful in various AI art generation tasks where conditional blending is required. By leveraging this node, you can achieve more complex and nuanced image compositions, enhancing the creative possibilities in your AI art projects.
The destination
parameter represents the latent image that will serve as the base or background for the composite operation. This is the image onto which the source image will be blended. It is of type LATENT
.
The source
parameter is the latent image that will be blended onto the destination image. This image will be placed on top of the destination image at the specified coordinates. It is of type LATENT
.
The x
parameter specifies the horizontal coordinate where the top-left corner of the source image will be placed on the destination image. It is an integer value with a default of 0, a minimum of 0, and a maximum defined by MAX_RESOLUTION
, with a step of 8.
The y
parameter specifies the vertical coordinate where the top-left corner of the source image will be placed on the destination image. It is an integer value with a default of 0, a minimum of 0, and a maximum defined by MAX_RESOLUTION
, with a step of 8.
The resize_source
parameter is a boolean that determines whether the source image should be resized to fit within the destination image. If set to True
, the source image will be resized; otherwise, it will retain its original dimensions. The default value is False
.
The mask
parameter is optional and represents a mask that can be used to control the blending of the source image onto the destination image. The mask is of type MASK
, where the value 1 indicates areas to keep and 0 indicates areas to discard.
The output of the easy latentCompositeMaskedWithCond
node is a latent image that results from the composite operation. This output retains the structure of the destination image but includes the blended source image according to the specified parameters and mask. The output is of type LATENT
.
x
and y
coordinates.resize_source
parameter to ensure the source image fits within the destination image if the dimensions differ significantly.MASK
.MASK
type.LATENT
.x
or y
coordinates are outside the allowable range.x
and y
coordinates to be within the valid range defined by MAX_RESOLUTION
.© Copyright 2024 RunComfy. All Rights Reserved.