ComfyUI Node
LC Detailer For Each (BETA) 🩹
Redraws what it is given (one character from LC Detail Sorter, or everything from LC Detail Finder) with that character's model (its LoRA branch), their own conditioned prompt and their own seed. Works on its own, or on an LC pipe: a wired pipe fills in the model, VAE, prompts and picture, and anything wired here wins. Same engine as LC Smart Detailer.
LC Detailer For Each (BETA) 🩹
- sam3_mask
- pipe
- image
- model
- vae
- positive
- inpaint_positive
- negative
- pipe
- image
- mask
◄grow4.0►
◄feather8.0►
◄padding64►
◄inpaint_resolution1024►
◄sampler_name▾►
◄scheduler▾►
◄steps20►
◄cfg1.0►
◄denoise0.30►
◄seed0►
◄tone_matchtrue►
CategoryLC MaskMaker/detailer
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| sam3_mask | LC_SAM3_MASKS | What to redraw: one output of LC Detail Sorter (one character), or LC Detail Finder's sam3_masks (all of them). | |
| grow | FLOAT | 4.0-64–256 | Pixels to grow (positive) or shrink (negative) the mask before inpainting. Growing a little covers the edges. |
| feather | FLOAT | 8.00–128 | Softness of the mask edge in pixels, so the redrawn area blends into the rest. 0 = hard edge. |
| padding | INT | 640–1024 | Pixels of the surrounding image included with each crop, so the model sees the context. |
| inpaint_resolution | INT | 1024256–4096 | Each crop is redrawn at about this many pixels squared (1024 = 1 megapixel), whatever its shape. Higher = more detail, slower. |
| sampler_name | COMBO | Sampler. With a pipe wired, the pipe's value is used unless something is plugged in here. | |
| scheduler | COMBO | Scheduler. With a pipe wired, the pipe's value is used unless something is plugged in here. | |
| steps | INT | 201–150 | Sampling steps. With a pipe wired, the pipe's value is used unless something is plugged in here. |
| cfg | FLOAT | 1.01–30 | CFG for the redraw. 1 works for Krea 2, Flux, Z-Image, Anima and, at detailer denoise (up to about 0.4), SDXL too (tested: SDXL looked the same at cfg 1 to 7). Never goes below 1: below 1 the redraw comes out speckled. |
| denoise | FLOAT | 0.300–1 | How much is redrawn. Low keeps the shape and fixes details, high redraws from scratch. |
| seed | INT | 00–18446744073709550000 | Seed for the redraw. With a pipe wired, the pipe's value is used unless something is plugged in here. |
| pipeopt | LC_PIPE | Optional LC pipe: model, VAE, positive, negative and picture come from here unless wired on this node. Chain the detailers through it. | |
| imageopt | IMAGE | The picture. Empty = the pipe's picture. | |
| modelopt | MODEL | Optional. Wire a model here to use it instead of the pipe's (with LoRAs on it, or a different model). | |
| vaeopt | VAE | Optional. Wire a VAE here to use it instead of the pipe's. | |
| positiveopt | CONDITIONING | The image's prompt. A prompt describing the whole scene can get drawn into every crop at denoise 0.3 and up (a whole tiny scene in the face): wire inpaint_positive to prevent that. | |
| inpaint_positiveopt | CONDITIONING | Optional. A prompt for the crops only, e.g. 'close-up of a woman's face, natural skin'. Used instead of positive for the redraw. Recommended whenever positive describes the whole scene. | |
| negativeopt | CONDITIONING | Optional. Leave empty for cfg 1 models; wire it for SDXL and other models that use a negative. | |
| tone_matchopt | BOOLEAN | true | On: the redraw gets the original's brightness, contrast and colour back where it is pasted, keeping the new detail. A light redraw comes back a little flat and dull without it. Turn off when the redraw is meant to change colours (a new shirt colour, a different object). |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| pipe | LC_PIPE | — |
| image | IMAGE | — |
| mask | MASK | — |