lquesada / ComfyUI-Inpaint-CropAndStitch

ComfyUI nodes to crop before sampling and stitch back after sampling that speed up inpainting
GNU General Public License v3.0
398 stars 23 forks source link

Preservation of inpainted area? #4

Closed metamountain closed 6 months ago

metamountain commented 6 months ago

How can i weaken the inpaint by using a noise factor so the original is preserved more? So normally there is a denoise factor for inpainting...

lquesada commented 6 months ago

Hi,

Instead of VAE encode for impainting, use a standard "VAE encode" node, then pass the latent through a "set latent noise mask" noise, and then you can set denoise in the sampler as you wish.

On Sat, 18 May 2024, 13:22 metamountain, @.***> wrote:

How can i weaken the inpaint by using a noise factor so the original is preserved more? So normally there is a denoise factor for inpainting...

— Reply to this email directly, view it on GitHub https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCKTXMW6F42EB6ZD75E253ZC42XPAVCNFSM6AAAAABH5MKKY6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYDIMBTGU2DEMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

metamountain commented 6 months ago

grafik

metamountain commented 6 months ago

What worked best for me was the inpaintmodel conditioning node !!! Thanks for your great support !!!!

lquesada commented 6 months ago

Great!

lquesada commented 6 months ago

Thanks!! That's useful! :)