Nodes/ComfyUI LC MaskMaker Nodes/LC Detailer For Each (BETA) 🩹
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.

By lonecatone23·Created about a month ago·Updated about 10 hours ago· 9
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)

NameTypeDefaultDescription
sam3_maskLC_SAM3_MASKSWhat to redraw: one output of LC Detail Sorter (one character), or LC Detail Finder's sam3_masks (all of them).
growFLOAT4.0-64–256Pixels to grow (positive) or shrink (negative) the mask before inpainting. Growing a little covers the edges.
featherFLOAT8.00–128Softness of the mask edge in pixels, so the redrawn area blends into the rest. 0 = hard edge.
paddingINT640–1024Pixels of the surrounding image included with each crop, so the model sees the context.
inpaint_resolutionINT1024256–4096Each crop is redrawn at about this many pixels squared (1024 = 1 megapixel), whatever its shape. Higher = more detail, slower.
sampler_nameCOMBOSampler. With a pipe wired, the pipe's value is used unless something is plugged in here.
schedulerCOMBOScheduler. With a pipe wired, the pipe's value is used unless something is plugged in here.
stepsINT201–150Sampling steps. With a pipe wired, the pipe's value is used unless something is plugged in here.
cfgFLOAT1.01–30CFG 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.
denoiseFLOAT0.300–1How much is redrawn. Low keeps the shape and fixes details, high redraws from scratch.
seedINT00–18446744073709550000Seed for the redraw. With a pipe wired, the pipe's value is used unless something is plugged in here.
pipeoptLC_PIPEOptional LC pipe: model, VAE, positive, negative and picture come from here unless wired on this node. Chain the detailers through it.
imageoptIMAGEThe picture. Empty = the pipe's picture.
modeloptMODELOptional. Wire a model here to use it instead of the pipe's (with LoRAs on it, or a different model).
vaeoptVAEOptional. Wire a VAE here to use it instead of the pipe's.
positiveoptCONDITIONINGThe 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_positiveoptCONDITIONINGOptional. 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.
negativeoptCONDITIONINGOptional. Leave empty for cfg 1 models; wire it for SDXL and other models that use a negative.
tone_matchoptBOOLEANtrueOn: 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)

NameTypeDescription
pipeLC_PIPE—
imageIMAGE—
maskMASK—