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).
Edit Lock Restore π
- image
- edit_lock
- image
- edit_mask
- report
βfeather16βΊ
βremove_tinttrueβΊ
Categoryπ AusBoss/Image
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The edited picture, straight from the VAE decode. | |
| edit_lock | AUSBOSS_EDIT_LOCK | From Edit Lock π. | |
| feather | INT | 160β256 | How softly your original fades into the edit, in pixels. The fade stays outside the edit. |
| remove_tintopt | BOOLEAN | true | Takes 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)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The edit with your original pixels in the untouched parts. |
| edit_mask | MASK | White where the edit changed the picture. |
| report | STRING | How much of the picture was kept. Plug it into Show Text π to read it. |