Visit ComfyUI Online for ready-to-use ComfyUI environment
Introduce noise to latent representations for AI artists to enhance image variability and creativity.
The InjectNoiseToLatent
node is designed to introduce noise into latent representations, which can be particularly useful for AI artists looking to add variability and randomness to their generated images. This node allows you to blend noise with latent samples, control the strength of the noise, normalize the output, and even apply a mask to selectively inject noise into specific regions. By using this node, you can achieve more diverse and creative outputs, enhancing the artistic quality of your AI-generated content.
This parameter represents the latent samples to which noise will be injected. It is a dictionary containing the key "samples"
which holds the actual latent data. The shape of this data must match the shape of the noise parameter.
This parameter controls the intensity of the noise being injected into the latent samples. A higher value results in stronger noise influence. The default value is not specified, but it typically ranges from 0.0 to 1.0.
This parameter represents the noise samples to be injected into the latent samples. It is a dictionary containing the key "samples"
which holds the actual noise data. The shape of this data must match the shape of the latents parameter.
A boolean parameter that, when set to True
, normalizes the noised latent samples to have a standard deviation of 1. This can help in maintaining consistent output quality.
A boolean parameter that, when set to True
, averages the latent samples and noise instead of adding them. This can create a more subtle noise effect.
This parameter controls the amount of random noise to mix with the injected noise. It ranges from 0.0 to 1.0, with 0.0 meaning no random noise is added and 1.0 meaning only random noise is used. The default value is 0.
An optional parameter that sets the seed for random noise generation. This ensures reproducibility of the noise pattern when the same seed is used.
An optional parameter that allows you to apply a mask to the latent samples. The mask determines which parts of the latent samples will be affected by the noise. The mask is resized to match the dimensions of the latent samples.
This output parameter is a dictionary containing the key "samples"
which holds the latent samples with the injected noise. The shape and type of this data match the input latent samples, but with the added noise effects.
average
parameter to True
and use a low strength
value.normalize
parameter to maintain consistent output quality, especially when working with high noise strengths.mix_randn_amount
values to blend structured noise with random noise for unique results.latents
and noise
parameters have the same shape before passing them to the node.© Copyright 2024 RunComfy. All Rights Reserved.