ComfyUI Node
NoisyLatentLike
Allows generating noise (and optionally adding it) based on a reference latent. Note: For img2img workflows, you will generally want to enable add_to_latent as well as connecting the model and sigmas inputs.
NoisyLatentLike
- latent
- custom_noise_opt
- mul_by_sigmas_opt
- model_opt
- LATENT
◄noise_typegaussian►
◄seed0►
◄multiplier1.000►
◄add_to_latentfalse►
◄repeat_batch1►
◄cpu_noisetrue►
◄normalizetrue►
Categorylatent/noise
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| noise_type | COMBO | gaussian | Sets the type of noise to generate. Has no effect when the custom_noise_opt input is connected. |
| seed | INT | 00–18446744073709550000 | Seed to use for generated noise |
| latent | LATENT | Latent used as a reference for generating noise. | |
| multiplier | FLOAT | 1.000-10000–10000 | Multiplier for the strength of the generated noise. Performed after mul_by_sigmas_opt. |
| add_to_latent | BOOLEAN | false | Add the generated noise to the reference latent rather than adding it to an empty latent. Generally should be enabled for img2img workflows. |
| repeat_batch | INT | 11–10000 | Repeats the noise generation the specified number of times. For example, if set to two and your reference latent is also batch two you will get a batch of four as output. |
| cpu_noise | BOOLEAN | true | Controls whether noise will be generated on GPU or CPU. Only affects noise types that support GPU generation (maybe only Brownian). |
| normalize | BOOLEAN | true | Controls whether the generated noise is normalized to 1.0 strength before scaling. Generally should be left enabled. |
| custom_noise_optopt | SONAR_CUSTOM_NOISE,OCS_NOISE | Allows connecting a custom noise chain. The following input types are supported: SONAR_CUSTOM_NOISE, OCS_NOISE | |
| mul_by_sigmas_optopt | SIGMAS | When connected, will scale the generated noise by the first sigma. Must also connect model_opt to enable. | |
| model_optopt | MODEL | Used when mul_by_sigmas_opt is connected, no effect otherwise. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LATENT | LATENT | The noisy latent image. |