ComfyUI Node

Fresco Apply

Puts a Fresco scene on the model: each layer's LoRAs and prompt act only where the layer is. Gives the sampler its model, positive and latent. Wire a source image and a VAE to edit an image instead of generating one. Krea 2 only.

By Nynxz·Created 11 months ago·Updated 2 days ago· 5
Fresco Apply
  • model
  • fresco
  • image
  • vae
  • model
  • positive
  • latent
  • regions
  • negative
◄layout_lock0.00►
◄lora_warmup0.35►
◄commit_at0.30►
◄track0.00►
◄release0.15►
◄isolation0.0►
◄layout_isolation2.0►
◄layout_start0.00►
◄edit_imagetrue►
◄look_sourcetrue►
CategoryNynxz/Regions/Fresco

Inputs (14)

NameTypeDefaultDescription
modelMODELA Krea 2 model.
frescoNYNXZ_FRESCO—
layout_lockFLOAT0.000–1Fraction of the steps whose layout comes from the model without the layers' LoRAs (see Regions Apply). 0 is off.
lora_warmupFLOAT0.350–1LoRA strength before `commit_at` (Regions Apply's preheat). 1 = full strength from the first step; lower keeps the LoRAs from pushing the composition around while it forms.
commit_atFLOAT0.300–1Fraction of the steps after which the LoRAs ramp to full and the layer map stops moving.
trackFLOAT0.000–1How far a layer may follow its subject off the drawn shape. 0 (default) keeps it exactly where you drew it — in Fresco the boxes are the layout. Raise it for an edit whose subjects don't sit exactly in the boxes.
releaseFLOAT0.150–1How far a layer's LoRAs reach past its edge after the commit, so subjects don't look cut out. 0 keeps the edge hard.
isolationFLOAT0.00–8Keep each layer's tokens from attending the others' (see Regions Apply). Costs shared lighting; keep it low.
layout_isolationFLOAT2.00–8How strongly the layers are kept apart while the layout forms, so each one follows its own prompt instead of the picture averaging them. In force until commit_at, then eases to `isolation` so lighting and edges can blend. 0 = off. Raise it if layers ignore their prompts; lower it if the result looks like a collage.
layout_startFLOAT0.000–0.6Start from a blurred picture of the layout instead of pure noise, so the image follows the boxes: each layer's first reference in its box (or a soft shape), over the background's. The share of the run that holds to it — 0.15-0.25 steers placement, higher starts to keep its colours. Needs the VAE. 0 = off. Ignored when editing an image.
edit_imageBOOLEANtrueEdit the photo wired into Fresco (or into this node). Off: generate a new image, using Fresco's photo only to trace and segment over.
look_sourceBOOLEANtrueWith layers that read their references by look, also show the model the photo being edited as clean tokens everyone reads — the source half of the in-context edit recipe (e.g. the Krea 2 Identity Edit LoRA). Only when editing a photo.
imageoptIMAGEA source image to edit. The latent becomes this image, with each layer's denoise as how much of it may change — sample it with the SoftPaint Sampler, or with Differential Diffusion on the model. Shown under Fresco's canvas after a run.
vaeoptVAEEncodes the source image or the layout start. Not needed when Fresco Inputs carries one.

Outputs (5)

NameTypeDescription
modelMODEL—
positiveCONDITIONINGThe scene prompt.
latentLATENTEmpty at the canvas size, or the source image with its noise mask.
regionsNYNXZ_REGIONSThe layers as regions, for Regions Preview or Region Latent.
negativeCONDITIONINGThe empty prompt — read with the photo, carrying the same reference tokens, when the photo is read by look (the edit recipe's unconditional). For CFG above 1.