Nodes/ComfyUI-Apt_Preset/latent_chx_noise
ComfyUI Node

latent_chx_noise

An image noise generator, despite living in the 'latent' folder

By cardenluo·Created 2 years ago·Updated 21 days ago· 309
latent_chx_noise
  • images
  • IMAGE
strength0.50
monochromatic
invert
channels

The name and the folder it lives in (chx_tool/latent) both suggest this works on LATENT data. It doesn't - every input and the output are plain IMAGE. Worth flagging up front, because it's the kind of thing that'll cost you a confused minute the first time you go looking for a LATENT socket on it and there isn't one.

What it actually does

Given an image, it generates a noise effect over it with a handful of controls: strength sets how much noise gets mixed in, channels restricts which color channels the noise touches (you can pick full RGB or RGBA, any pair like rg/gb/ra, or a single channel like just red or just alpha - twelve combinations total), monochromatic switches the noise itself between colored (RGB) grain and flat gray grain, and invert flips the noise pattern. Think of it as a texture/grain tool - the kind of thing you'd reach for to add film-grain-style noise to an output, build a noise texture for compositing, or generate a rough starting canvas for further processing, rather than anything that touches the diffusion sampling process directly.

Inputs and outputs

  • images (required, IMAGE) - the source image(s) the noise is generated against.
  • strength - how much noise to mix in.
  • monochromatic - colored noise (false) vs. grayscale noise (true).
  • invert - flips the noise pattern.
  • channels - which color channels carry the noise (rgb, rgba, any pair, or a single channel).

One output: IMAGE.

How to install it

ComfyUI Manager → search ComfyUI-Apt_Preset, install, restart. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/cardenluo/ComfyUI-Apt_Preset.git

then run install.bat for dependencies (Windows-only - on Linux/macOS run its pip install lines by hand) and restart ComfyUI.

Common issues & troubleshooting

Looking for a LATENT input and not finding one. This is the recurring point of confusion with this node - despite the category path and the "latent" in its own name, it's a pure image-space effect. If you actually need to turn an image into something that behaves like sampler noise (rather than a visual grain effect), this pack's separate latent_Image2Noise node is the one built specifically for that, with controls for noise size, color bleed, and an optional mask.

Noise looks flat or barely visible. Check strength isn't sitting near zero, and if you expected colored grain, confirm monochromatic isn't set to true - that alone will make otherwise-identical settings look completely different.

IMPORT FAILED on startup. This pack has at least one reported import failure in the wild on a stock install, generally traced to skipping install.bat's dependency step - which has to be run manually off Windows. Check the console for the actual missing package before reinstalling.

CategoryApt_Preset/chx_tool/latent

Inputs (5)

NameTypeDefaultDescription
imagesIMAGE
strengthFLOAT0.50
monochromaticCOMBO2 options: false, true
invertCOMBO2 options: false, true
channelsCOMBO12 options: rgb, rgba, rg, rb, ra, gb, +6

Outputs (1)

NameTypeDescription
IMAGEIMAGE