Visit ComfyUI Online for ready-to-use ComfyUI environment
Blend two sets of embeddings with specified strength parameter for nuanced AI art combinations, allowing control over influence and optional normalization.
The Linear_Combine_IP_Embeds
node is designed to blend two sets of embeddings, a_embeds
and b_embeds
, using a specified strength parameter. This node is particularly useful for AI artists who want to create nuanced and balanced combinations of different embedding vectors, which can be essential in generating more refined and controlled outputs in AI art projects. By adjusting the a_strength
parameter, you can control the influence of each embedding set in the final combined output. Additionally, the node offers an optional normalization feature to ensure the combined embeddings maintain a consistent norm, which can be crucial for certain applications where the magnitude of the embeddings needs to be controlled.
This parameter represents the first set of embeddings to be combined. It is a required input and is expected to be of type EMBEDS
. The embeddings provided here will be weighted according to the a_strength
parameter.
This parameter represents the second set of embeddings to be combined. It is also a required input and is expected to be of type EMBEDS
. The embeddings provided here will be weighted inversely to the a_strength
parameter.
This is a floating-point parameter that determines the weight of a_embeds
in the final combination. The value ranges from 0.0 to 1.0, with a default value of 0.5. A value of 0.0 means that only b_embeds
will be used, while a value of 1.0 means that only a_embeds
will be used. Intermediate values will blend the two sets of embeddings proportionally.
This optional floating-point parameter allows you to specify a target norm for the combined embeddings. The default value is -1.0, which means no normalization will be applied. If a positive value is provided, the combined embeddings will be re-normalized to this target norm.
The output parameter embeds
is the result of the linear combination of a_embeds
and b_embeds
based on the a_strength
parameter. If optional_target_norm
is specified and positive, the output embeddings will also be normalized to this target norm. This output is of type EMBEDS
and can be used in subsequent nodes or processes that require embedding vectors.
a_strength
value of 0.5 and adjust as needed based on the desired influence of each embedding set.optional_target_norm
parameter to ensure the combined embeddings have a consistent magnitude, which can be important for maintaining the quality and consistency of the generated outputs.a_strength
to understand how the blending affects your specific use case, especially in creative applications where subtle differences can have a significant impact.num_style_components
parameter is set to a value less than or equal to the number of available style images.optional_target_norm
parameter is set to a non-positive value.optional_target_norm
parameter to a positive value if you want to apply normalization. If normalization is not needed, you can leave it at the default value of -1.0.a_embeds
and b_embeds
do not match.a_embeds
and b_embeds
have the same dimensions before passing them to the node.© Copyright 2024 RunComfy. All Rights Reserved.