ComfyUI  >  Nodes  >  ComfyUI Easy Use >  LatentCompositeMaskedWithCond

ComfyUI Node: LatentCompositeMaskedWithCond

Class Name

easy latentCompositeMaskedWithCond

Category
EasyUse/Latent
Author
yolain (Account age: 1341 days)
Extension
ComfyUI Easy Use
Latest Updated
6/25/2024
Github Stars
0.5K

How to Install ComfyUI Easy Use

Install this extension via the ComfyUI Manager by searching for  ComfyUI Easy Use
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Easy Use in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

LatentCompositeMaskedWithCond Description

Facilitates blending latent images with conditional masking for AI art generation tasks.

LatentCompositeMaskedWithCond:

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.

LatentCompositeMaskedWithCond Input Parameters:

destination

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.

source

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.

x

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.

y

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.

resize_source

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.

mask

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.

LatentCompositeMaskedWithCond Output Parameters:

LATENT

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.

LatentCompositeMaskedWithCond Usage Tips:

  • To achieve precise placement of the source image on the destination image, carefully adjust the x and y coordinates.
  • Use the resize_source parameter to ensure the source image fits within the destination image if the dimensions differ significantly.
  • Apply a mask to control the blending areas, allowing for more complex and creative compositions.

LatentCompositeMaskedWithCond Common Errors and Solutions:

"Invalid mask type"

  • Explanation: The provided mask is not of the correct type MASK.
  • Solution: Ensure that the mask parameter is correctly specified as a MASK type.

"Source or destination not provided"

  • Explanation: Either the source or destination latent image is missing.
  • Solution: Verify that both the source and destination parameters are correctly provided and are of type LATENT.

"Coordinates out of bounds"

  • Explanation: The specified x or y coordinates are outside the allowable range.
  • Solution: Adjust the x and y coordinates to be within the valid range defined by MAX_RESOLUTION.

LatentCompositeMaskedWithCond Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Easy Use
RunComfy

© 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.