ComfyUI_InstantID icon indicating copy to clipboard operation
ComfyUI_InstantID copied to clipboard

InstantID masking is not properly applied when used alongside differential diffusion

Open Mithrillion opened this issue 11 months ago • 2 comments

Screenshot: image

Issue description: When using masking in both InstantID and masked differential diffusion, the noisy diffusion output from regions outside of masked areas appear to be pasted over the original image.

Expected behaviour: Regions outside of masked areas should not be altered

Observed behaviour: In the last 1-2 steps of sampling (see the advanced ksampler example above), the entire unmasked region is altered

Notes: InstantID appears to work fine with regular inpainting without the differential diffusion node. It also still works if the mask is disconnected from InstantID node - this results in similar output and can be a workaround for now.

Mithrillion avatar Mar 10 '24 09:03 Mithrillion