Nodes/ComfyUI-AusBoss/Keep Detail πŸ†Ž
ComfyUI Node

Keep Detail πŸ†Ž

Puts the original picture's fine detail (skin, fabric, grain) back on an edited version of it. Use it after an edit or a relight that came out too smooth. The edit keeps its shapes, light and colour; only the detail smaller than Detail size comes from the original. The two pictures must line up. Light only brings back brightness detail, so the edit's colours never shift; color + light brings the detail's colour too.

By ausbossΒ·Created 4 months agoΒ·Updated about 5 hours agoΒ· 163
Keep Detail πŸ†Ž
  • image
  • detail_from
  • mask
  • image
β—„detail_size4.0β–Ί
β—„strength1.00β–Ί
β—„color_detailfalseβ–Ί
β—„edge_safetrueβ–Ί
β—„previewtrueβ–Ί
CategoryπŸ†Ž AusBoss/Image

Inputs (8)

NameTypeDefaultDescription
imageIMAGEThe edited picture that lost its detail.
detail_fromIMAGEThe original picture, lined up with the edit. A different size is resized to the edit's.
detail_sizeFLOAT4.01–64Detail smaller than this many pixels comes from the original; anything bigger stays the edit's. 2-6 for skin and fabric.
strengthFLOAT1.000–20 leaves the edit as it is, 1 puts the original's detail on it, above 1 makes the detail stronger.
color_detailBOOLEANfalseOff: light only, so the edit's colours never shift. On: the detail brings its colour too, such as freckles.
edge_safeBOOLEANtrueOn: strong edges are left alone, so no light or dark rim appears along them. Off: a plain blur, a little softer.
maskoptMASKOptional. Detail goes back only where the mask is white.
previewoptBOOLEANtrueShow this node's result on its face. Off skips writing the preview file to ComfyUI's temp folder.

Outputs (1)

NameTypeDescription
imageIMAGEThe edit with the original's detail, at the edit's size.