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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | The diffusion model (Flux 2 Klein by default, with your LoRAs). | |
| clip | CLIP | The text encoder that matches the model. | |
| vae | VAE | The VAE that matches the model. | |
| image | STRING | Crop to diffuse, in ComfyUI's input folder. | |
| mask | STRING | Grey mask of the same crop: white = the shape to change. | |
| prompt | STRING | What the area should become (empty = no text guidance). | |
| mode | COMBO | rediffuse | rediffuse = the shape and its edge band, edges = only the band around it. |
| denoise | FLOAT | 0.600–1 | How much changes: 0 = nothing, 1 = painted from scratch inside the mask. |
| steps | INT | 41–100 | Sampling steps (4 suits distilled models such as Flux 2 Klein). |
| seed | INT | 00–18446744073709550000 | Random seed; another seed gives another variant. |
| megapixels | FLOAT | 1.000.1–4 | Size the crop is diffused at, in megapixels (the result keeps that size). |
| band_px | INT | 160–512 | Edge band around the shape (crop pixels). |
| reference | BOOLEAN | true | The crop as reference latent (keeps layout and colours). |
| request | STRING | Id the window matches the answer with. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The diffused crop (also written for the window as a new layer). |