Visit ComfyUI Online for ready-to-use ComfyUI environment
Manipulate latent representations by blending inputs with power functions for visual transformations.
The LatentPhaseMagnitudePower
node is designed to manipulate the phase and magnitude components of latent representations in a sophisticated manner. This node allows you to blend two latent inputs by adjusting their phase and magnitude using power functions, which can significantly alter the visual characteristics of the generated output. By controlling the phase and magnitude, you can achieve a wide range of artistic effects, from subtle adjustments to dramatic transformations. This node is particularly useful for AI artists looking to explore creative possibilities in latent space, offering a powerful tool to fine-tune the balance between different latent features and achieve desired visual outcomes.
This parameter represents the first batch of latent inputs that you want to blend. It serves as one of the primary sources for the phase and magnitude manipulation. The latent data is typically a multi-dimensional array that encodes the features of an image or other data type.
This parameter represents the second batch of latent inputs. Similar to latent_0_batch
, it provides another set of latent features to be blended with the first batch. The combination of these two inputs allows for a rich interplay of features, enabling complex transformations.
This float parameter controls the power applied to the phase blending process. By adjusting this value, you can influence the dominance of phase features from either latent input. The default value is 1.0, with a range from -10000.0 to 10000.0, allowing for both subtle and extreme phase adjustments.
This float parameter determines the power applied to the magnitude blending process. It functions similarly to phase_mix_power
, but affects the magnitude component of the latent inputs. The default value is 1.0, with a range from -10000.0 to 10000.0, providing flexibility in how the magnitude features are combined.
This parameter adjusts the luminosity of the phase component. It allows you to brighten or darken the phase features, with a default value of 0.0 and a range from -10000.0 to 10000.0. This can be used to enhance or subdue certain visual elements in the output.
This parameter modifies the cyan-red balance in the phase component. By tweaking this value, you can shift the color balance towards cyan or red, affecting the overall color tone of the phase features. The default is 0.0, with a wide range from -10000.0 to 10000.0.
This parameter adjusts the lime-purple balance in the phase component, similar to phase_cyan_red
. It allows for color shifts between lime and purple, influencing the color dynamics of the phase features. The default is 0.0, with a range from -10000.0 to 10000.0.
This parameter influences the structural patterns within the phase component. By altering this value, you can emphasize or diminish certain patterns, affecting the texture and detail of the phase features. The default is 0.0, with a range from -10000.0 to 10000.0.
This parameter controls the luminosity of the magnitude component, similar to phase_luminosity
. It allows for adjustments in brightness or darkness of the magnitude features, with a default of 0.0 and a range from -10000.0 to 10000.0.
This parameter modifies the cyan-red balance in the magnitude component, affecting the color tone of the magnitude features. The default is 0.0, with a range from -10000.0 to 10000.0, allowing for color balance adjustments.
This parameter adjusts the lime-purple balance in the magnitude component, similar to magnitude_cyan_red
. It influences the color dynamics of the magnitude features, with a default of 0.0 and a range from -10000.0 to 10000.0.
This parameter affects the structural patterns within the magnitude component, similar to phase_pattern_structure
. It allows for the enhancement or reduction of patterns, impacting the texture and detail of the magnitude features. The default is 0.0, with a range from -10000.0 to 10000.0.
This boolean parameter indicates whether the first latent input should be normalized. Normalization can help in stabilizing the blending process and ensuring consistent results. The default value is True.
This boolean parameter indicates whether the second latent input should be normalized. Similar to latent_0_normal
, it helps in maintaining stability and consistency during blending. The default value is True.
This boolean parameter determines whether the output latent should be normalized. Normalizing the output can ensure that the resulting latent representation is within a desired range, facilitating further processing or visualization. The default value is True.
The output of this node is a latent representation that has undergone phase and magnitude blending. This output encapsulates the combined features of the input latents, modified according to the specified power and adjustment parameters. The resulting latent can be used for further processing or directly visualized to observe the effects of the blending operation.
phase_mix_power
and magnitude_mix_power
values to achieve unique visual effects. Higher values can lead to more pronounced feature dominance from one of the inputs.phase_cyan_red
, phase_lime_purple
, etc.) to fine-tune the color dynamics of your output, creating harmonious or contrasting color schemes.latent_0_batch
and latent_1_batch
have compatible shapes and dimensions before feeding them into the node.latent_0_normal
, latent_1_normal
, latent_out_normal
) are set appropriately.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.