Visit ComfyUI Online for ready-to-use ComfyUI environment
Perform element-wise addition on latent representations for blending in AI models.
The LatentAdd
node is designed to perform element-wise addition on two latent representations, which are essentially multi-dimensional arrays used in AI models to encode information. This node is particularly useful in advanced latent space manipulations, allowing you to combine features from two different latent samples. By adding these latent samples together, you can create new, blended representations that can be used for various creative and technical purposes, such as generating new images or enhancing existing ones. The primary goal of this node is to facilitate the seamless integration of two latent spaces, making it easier to experiment with and explore the latent dimensions of your AI models.
samples1
is the first latent sample that you want to add. This parameter represents a multi-dimensional array containing encoded information. The shape and content of this latent sample will significantly impact the resulting output when combined with samples2
.
samples2
is the second latent sample that you want to add to samples1
. Similar to samples1
, this parameter is a multi-dimensional array containing encoded information. The node will automatically reshape samples2
to match the shape of samples1
if they are not already the same, ensuring a smooth addition process.
The output parameter is a single latent sample, represented as a multi-dimensional array. This output is the result of the element-wise addition of samples1
and samples2
. The combined latent sample can be used for further processing or directly in your AI models to generate new outputs.
samples1
and samples2
are valid latent samples with compatible dimensions to avoid errors during the addition process.samples1
and samples2
are not compatible for addition.samples1
and samples2
are correctly formatted latent samples before using them in the node.© Copyright 2024 RunComfy. All Rights Reserved.