Nodes/ComfyUI_KubaNodes/kubakub director diffuse
ComfyUI Node

kubakub director diffuse

Repaints one area for the director window, which builds and queues this node itself (not meant for hand-built graphs). Re-diffuses a crop inside a mask (Flux 2 Klein by default, your LoRAs on the model) and writes the result into input/kuba_director, where the window picks it up as a new layer. The window builds and queues this graph itself.

By kubakubkub·Created 15 days ago·Updated 3 days ago· 9
kubakub director diffuse
  • model
  • clip
  • vae
  • image
◄image►
◄mask►
◄prompt►
◄moderediffuse►
◄denoise0.60►
◄steps4►
◄seed0►
◄megapixels1.00►
◄band_px16►
◄referencetrue►
◄request►
Categorykubakub/2d/director

Inputs (14)

NameTypeDefaultDescription
modelMODELThe diffusion model (Flux 2 Klein by default, with your LoRAs).
clipCLIPThe text encoder that matches the model.
vaeVAEThe VAE that matches the model.
imageSTRINGCrop to diffuse, in ComfyUI's input folder.
maskSTRINGGrey mask of the same crop: white = the shape to change.
promptSTRINGWhat the area should become (empty = no text guidance).
modeCOMBOrediffuserediffuse = the shape and its edge band, edges = only the band around it.
denoiseFLOAT0.600–1How much changes: 0 = nothing, 1 = painted from scratch inside the mask.
stepsINT41–100Sampling steps (4 suits distilled models such as Flux 2 Klein).
seedINT00–18446744073709550000Random seed; another seed gives another variant.
megapixelsFLOAT1.000.1–4Size the crop is diffused at, in megapixels (the result keeps that size).
band_pxINT160–512Edge band around the shape (crop pixels).
referenceBOOLEANtrueThe crop as reference latent (keeps layout and colours).
requestSTRINGId the window matches the answer with.

Outputs (1)

NameTypeDescription
imageIMAGEThe diffused crop (also written for the window as a new layer).