InjectNoiseToLatent (🚫Deprecated)(injectNoiseToLatent)
InjectNoiseToLatent (🚫Deprecated) node from ComfyUI-Easy-Use.
inject Noise To Latent
This node is a deprecated compatibility wrapper for injecting noise into a latent, placed in the EasyUse/🚫 Deprecated category. It remains available for legacy workflows, but new workflows should prefer current non-deprecated alternatives where possible.
Description
Injects a noise latent into a target latent with configurable strength, normalization, averaging, masking, and optional random-noise mixing. The output is a single LATENT with the noise applied.
Inputs
strength
- Type:
FLOAT, required - Default:
0.1 - Range:
0.0to200.0 - Step:
0.0001
Controls how strongly the noise is applied to the target latent. Higher values produce a more noticeable change; low values like 0.1 are useful for subtle variations.
normalize
- Type:
BOOLEAN, required - Default:
false
When enabled, normalizes the resulting latent values after noise injection. This can help keep the output latent in a stable, expected range.
average
- Type:
BOOLEAN, required - Default:
false
When enabled, the target latent and the injected noise are averaged together instead of simply adding scaled noise. This produces a more blended result and can reduce extreme value shifts.
pipe_to_noise
- Type:
PIPE_LINE, optional
An EasyUse pipeline input that can be used to supply the noise context or latent information. This is useful when converting existing EasyUse pipeline workflows that already carry latent data.
image_to_latent
- Type:
IMAGE, optional
An image input that can be used as the source for the latent receiving the injected noise. How the image is interpreted depends on the pipeline/VAE context available in the workflow.
latent
- Type:
LATENT, optional
The target latent into which noise will be injected. If this is not connected, the node may fall back on pipe_to_noise or image_to_latent for the starting latent.
noise
- Type:
LATENT, optional
The noise latent to inject. If this is not connected, the node may generate noise using mix_randn_amount and seed, or it may take noise from pipe_to_noise.
mask
- Type:
MASK, optional
An optional mask that limits noise injection to specific regions of the latent. Areas corresponding to inactive mask values remain closer to the original latent, while active mask areas receive the injected noise.
mix_randn_amount
- Type:
FLOAT, optional - Default:
0 - Range:
0.0to1000.0 - Step:
0.001
The amount of fresh standard-normal random noise to mix into the noise latent. Use this when you want additional stochastic detail on top of an existing noise latent, or when no explicit noise latent is supplied.
seed
- Type:
INT, optional - Default:
123 - Range:
0to18446744073709552000 - Step:
1
Seed used for random noise generation. This is particularly relevant when mix_randn_amount is greater than 0, or when no explicit noise latent is connected.
Outputs
LATENT— the resulting latent after noise injection, optional averaging/normalization, and optional mask application.
Usage Notes
- Keep
strengthlow for subtle changes, and increase it only when a more aggressive noise injection is intended. - Leave
normalizeandaveragedisabled unless the downstream nodes need a normalized or blended latent. - Use
maskwhen noise should only affect part of the latent. - Use
mix_randn_amountwith a fixedseedfor reproducible random noise detail. - This node is deprecated, so it is best to replace it with currently supported noise-injection nodes when updating old workflows.
Comments
Sign in with GitHub to join the discussion.