Nodes/ComfyUI-NynxzNodes/Region Backdrop
ComfyUI Node

Region Backdrop

Everything the other regions don't cover

By Nynxz·Created 10 months ago·Updated a day ago· 0
Region Backdrop
  • regions
  • regions
coverbackground
shrink8
denoise0.05
feather8

Segment a person out of a scene, bind a LoRA to that region, and you still have a problem: everything else. A character LoRA gated to the person's region only fires on the person, which is the goal - but the rest of the frame is unclaimed territory, with no region, no LoRA, no denoise policy. You could hand-build an inverted mask as a "background" region, and the author's point with Region Backdrop from ComfyUI-NynxzNodes is that you shouldn't have to: it adds exactly that region for you. It's the "everything the others don't cover" region, or the whole frame if you ask for it, and you chain it last in the Regions pipeline, right before Regions Apply.

What you set

  • cover - background (default) makes the region the inverse of every region already on the wire: the scene, not the subjects. everything makes it the whole frame - the place to put a global style LoRA that should still ride the commit schedule a stock LoraLoader can't.
  • denoise (default 0.05) - how much of this area Region Latent may rewrite. Low on purpose: a backdrop is the part you're keeping. Adding a backdrop claims the area, which matters - Region Latent's own background setting no longer applies to it once this region exists. Raise this if you want the scene regenerated around the subjects.
  • shrink (default 8px) - pulls the background region back from the subjects, leaving a gap. A backdrop that meets a character exactly puts two LoRAs in contact along the whole silhouette; the gap gives the boundary somewhere to resolve. Ignored by everything.
  • feather (default 8px) - softens the resulting edge so the handover between backdrop and subject is gradual.

Output is the completed regions set. If you're running multiple subjects, backdrop sits after every binding node, so it sees the union of all claimed regions and correctly becomes "everything none of them own."

Why a background region at all

Two reasons. First, denoise policy: without a region claiming the scene, Region Latent falls back to its own background denoise for unclaimed pixels, and once you start tweaking per-region denoise you want the scene to be a first-class region with an explicit number, not an afterthought. Second, a LoRA on everything is the sanctioned way to run a global look alongside regional characters while still letting Regions Apply's timing machinery (the preheat/commit schedule) treat it like any other branch.

Install & caveats

Part of Nynxz's Custom Nodes: ComfyUI Manager → search "NynxzNodes" (registry build preferred; hand clones need pnpm install && pnpm build, since the UI's web/ is gitignored), or git clone https://github.com/Nynxz/ComfyUI-NynxzNodes. No pip dependencies. The Regions group is Krea 2 only and experimental - Regions Apply fails loudly on any other architecture. And the easy trap: chain Backdrop before your other bindings and it gets computed from an incomplete region set, so its "everything else" will be wrong. Last in the chain is the whole job.

CategoryNynxz/Regions

Inputs (5)

NameTypeDefaultDescription
regionsNYNXZ_REGIONSEverything built so far. Chain this node LAST.
coverCOMBObackgroundbackground: the inverse of every region already on the wire — the scene, not the subjects. everything: the whole frame, for a global look LoRA that should still ride the commit schedule.
shrinkINT80–256Pull the background back from the subjects, in pixels of the working frame. A backdrop that meets a character exactly puts two LoRAs in contact along the whole silhouette; a gap gives the boundary somewhere to resolve. Ignored by `everything`.
denoiseFLOAT0.050–1How much of this area Region Latent may rewrite. LOW on purpose: a backdrop is the part you are keeping. Note that adding a backdrop CLAIMS the area, so Region Latent's own `background` no longer applies to it — this number takes over. Raise it to regenerate the scene around the subjects.
featherINT80–256Soften the resulting edge, in pixels of the working frame.

Outputs (1)

NameTypeDescription
regionsNYNXZ_REGIONS