Nodes/ComfyUI-AusBoss/Edit Lock Restore πŸ†Ž
ComfyUI Node

Edit Lock Restore πŸ†Ž

Puts your picture's own pixels back in every part the edit did not change. Use it right after the VAE decode, with the edit_lock output of Edit Lock πŸ†Ž. The untouched parts then match your original pixel for pixel; only the edit is new. It also takes out the faint pink tint some edit models add to the whole picture, which matters most when the lock stepped aside (a new hair color, background or weather).

By ausbossΒ·Created 4 months agoΒ·Updated about 5 hours agoΒ· 163
Edit Lock Restore πŸ†Ž
  • image
  • edit_lock
  • image
  • edit_mask
  • report
β—„feather16β–Ί
β—„remove_tinttrueβ–Ί
CategoryπŸ†Ž AusBoss/Image

Inputs (4)

NameTypeDefaultDescription
imageIMAGEThe edited picture, straight from the VAE decode.
edit_lockAUSBOSS_EDIT_LOCKFrom Edit Lock πŸ†Ž.
featherINT160–256How softly your original fades into the edit, in pixels. The fade stays outside the edit.
remove_tintoptBOOLEANtrueTakes out the faint pink tint the edit model adds to the whole picture. Edits meant to recolor everything, like golden hour, are left alone.

Outputs (3)

NameTypeDescription
imageIMAGEThe edit with your original pixels in the untouched parts.
edit_maskMASKWhite where the edit changed the picture.
reportSTRINGHow much of the picture was kept. Plug it into Show Text πŸ†Ž to read it.