ComfyUI simple Inpainting image to image
ฝัง
- เผยแพร่เมื่อ 12 ก.พ. 2024
- ComfyUI simple Inpainting workflow
using latent noise mask to change specific areas of the image
#comfyui #stablediffusion #inpainting #img2img
follow me @ / pixeleasel
workflow:
drive.google.com/file/d/1Y_53...
Thanks for providing the workflow! Massive Like
thx for providing the comment 😇
@@PixelEasel your a truee G ninja you got discord?
subbed for the free work flow.....nice video too!!
thanks! good to know!
Having experimented with various ways of using inpainting in Comfyui I have to admit this tutorial was the better one with great results, I'm only new to this platform and I do struggle with custom nodes. Glad to have found this channel though.
thanks for the comment! glad to hear!
I feel like there are a ton of ways to do inpainting in comfy, its just more or less what you prefer, and I assume they all give pretty good results
Thanks. Simple and easy.
thanks!
wow, finally someone willing to share their knowledge. very rare. thank you sir you earned a new subscriber
Welcome aboard!
its free software and there are so many resources if you LOOK.
Well done!
thanks!
thanks 😊!
thx
At 1:00 maybe change "VAE Encode" to "VAE Encode (for inpainting)" and ALSO attach the mask output from the "Load Image" to the "VAE Encode (for inpainting)"
You will now have 2 wires coming out of Load Image "MASK".
Otherwise it may not make changes or make almost no changes, as in my situation.
The problem with this though, is that if I do less than 1.00 it sees the mask as being gray and I get a gray mouth or gray whatever.
you should use only one of them
Great video. @pixeleasel Is it possible to automatically the load image in the second workflow to automatically pick up the first image generated/changed without copying and pasting clipspace like in your video?
I want the OUTPUT of the FIRST flow to become the INPUT of the SECOND flow.
(excuse the caps, it's there to make it easier to read/understand) :)
simple. just connect the output directly to the vae encode
Thank you for the quick answer. Always easy when you know how!! Keep up the great work
Thanks for the tutorial! I had no idea I could inpaint in ComfyUI! Does this work with highres pics/Pony XL? I just wanted to adjust a character's face but I keep getting something that looks lowres... Kind of reminds me of what happens when you inpaint on a1111 without selecting "only masked". Idunno....
thanks for commenting! Maybe this workflow will suit you better th-cam.com/video/_LuPU5woth0/w-d-xo.html
@@PixelEasel Just went through the tutorial, and I'll admit it looks pretty daunting. I've only been on CUI for less than a week. That said, from the way you explained the problem there, it definitely sounds like just what I need. I'll try to implement it. I hope you don't mind if I ask follow-up questions (perhaps on the new tutorial?). Thanks for directing me there!
you more than welcome!
This is a very easy to understand guide. Thank you. But to make it really easy and repeatable you had to add models in VAE and checkpoints because 1st run of your workflow shows a lot of errors. And for some reason 1st run made some plate out of nowhere which is pretty much confused me.
thanks. I will update the workflow
Plzz make a video about "How to install comfy ui With "chackpoint & lora"
will make one soon!!!
Is it possible to run the second KSampler node only for the img2img part and not the first one. This workflow is not practical if the first KSampler node generates multiple images. I just recently started ComfyUI and been using A1111 web ui.
yep. you can do the second pass only for the img2img
@@PixelEasel Got it! I just learned about CTRL+M to activate/deactivate node
Can you add a lora to the bottom workflow or does it interfere with the inpaint
Aaah never mind I see the copy paste already makes the lora connections!
this workflow is good only for small changes, i'm working on another one for large areas
What if I just want to use a previous generated image? Just load it and inpaint directly, I dont want to generate a new image
you can upload any image
In the 'load image' node you can select whatever you want. PixelEasel simply edited out that part for privacy's sake maybe.
I got bad results, maybe try to update the guide
this workflow is good for small changes. I'm working on an inpainting workflow for bigger changes, I'll upload it in the near future
How do I download your load checkpoint?
you can find it on civitai
@@PixelEasel how to install in comfyui for colab?
Really good video. Unfortunate that your AI voice is so bad.
thx. working on it... I think it's getting better in the last videos! I'll try to make it better and better
how to get rid of this error?
Error occurred when executing VAEEncode:
Could not allocate tensor with 2147483648 bytes. There is not enough GPU video memory available!
I would try different vae... but it seems you don't have enough memory
@@PixelEasel yes, this is a strange problem 'cause having 8 GB VRAM I can see only 1024 MB in the CMD of ComfyUi. And that's not my only case but a common problem VRAM.
horrible voice generator
sorry to hear! still working on it
getting "- Value not in list: lora_name: 'pytorch_lora_weights_SD.safetensors' not in []" error is there a link to aquire this currently useing picx model
it the name of lcm lora. if u didnt install the model yet you can find it here
huggingface.co/latent-consistency/lcm-lora-sdv1-5/tree/main