Nodes/ComfyUI-NynxzNodes/Region Denoise
ComfyUI Node

Region Denoise

How much of it Region Latent may rewrite

By Nynxz·Created 10 months ago·Updated a day ago· 0
Region Denoise
  • regions
  • regions
region1
denoise0.75

Gate your LoRAs to regions and you've solved which character LoRA fires where. Separate problem: when you're editing an existing image, how much of each region actually gets redrawn? A full rebuild of a character region is right when you're replacing the person entirely; it's catastrophic when you only meant to restyle their clothes and the model invents a new face anyway. Region Denoise from ComfyUI-NynxzNodes is a one-knob-per-region control for exactly that, and its entire job is to feed Region Latent.

Note the chain of custody, because it surprises people: Regions from Masks carries a denoise on the whole region set, and Region Denoise overrides it per region. Region Latent is the only node that reads any of it - it encodes your source image and turns the per-region denoise values into a graded mask that tells the sampler how freely each area may be rebuilt. Put this node anywhere after the region set exists; it stamps one region's number and returns the set.

What you set

  • region (default 1) - which region, numbered as the reports list them. First mask in the batch is 1; the order never changes once the set is built.
  • denoise (default 0.75) - the rewrite budget for that region. The tooltip is the best guide in the pack: 1 rebuilds from noise - pose and silhouette included, which is exactly what makes a straight swap look cut out and pasted in. 0.5–0.8 keeps the structure and changes the appearance. Below 0.3 the source shows through. So: swapping a character onto a new pose is ~1; re-outfitting them is ~0.6; barely nudging them is 0.2.

Chain several Region Denoise nodes to give different subjects different budgets - that's the normal pattern. Nothing here touches the LoRA gating; the LoRA side is Regions Apply's business, and this is purely the redraw policy for the sampler.

How it fits the wider graph

For image-edit work the canonical layout is: Regions from Masks → Region LoRAs/backdrop → Regions Apply (patched model) → Region Latent (encoded source with the graded mask attached as its noise mask) → KSampler. Region Denoise is the tuning knob between "the model rebuilt the whole scene" (everything at high denoise) and "nothing moved" (everything near 0). Keep the background region's denoise low and your characters' high, and you get the classic "background survives while the characters are rebuilt" edit.

Install & caveats

In Nynxz's Custom Nodes: ComfyUI Manager → search "NynxzNodes" (registry build preferred - hand clones need pnpm install && pnpm build since web/ is gitignored), or git clone https://github.com/Nynxz/ComfyUI-NynxzNodes. No pip dependencies, and the whole Regions group is Krea 2 only and experimental. The other real dependency hides downstream: a graded mask only means something if core's Differential Diffusion node is applied to the model before sampling - skip that and your careful denoise numbers do little more than a binary mask would.

CategoryNynxz/Regions

Inputs (3)

NameTypeDefaultDescription
regionsNYNXZ_REGIONS
regionINT11–64Which region, numbered as the reports list them (1 = first).
denoiseFLOAT0.750–11 rebuilds the region from noise — pose and silhouette included, which is what makes a swap look cut out. 0.5-0.8 keeps the structure and changes the appearance. Below 0.3 the source shows through.

Outputs (1)

NameTypeDescription
regionsNYNXZ_REGIONS