ComfyUI 08 Inpainting

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • Link to my workflows: drive.google.com/drive/folder...
    It's super easy to do inpainting in the Stable Diffusion ComfyUI image generator. First we create a mask on a pixel image, then encode it into a latent image and let the sampler do its work on only the masked area.
  • Jak na to + styl

Komentáře • 50

  • @ScottRossi
    @ScottRossi Před 7 měsíci +2

    Thanks for this tutorial. I noticed in your workflow the Latent Upscale node at the top of the 3rd column is disconnected in your source workflow. When I connect it as shown in your video, using any value above 1 ruins the output. Was this originally intended to increase resolution of the inpainted region or something else? Does this node serve any purpose now, or is unnecessary?

    • @rudyshobbychannel
      @rudyshobbychannel  Před 4 měsíci

      Please have a look at the latest videos in the playlist, they contain a link to a new set of more standardized workflows. The latent upscaler can serve a purpose, the sampler needs a denoise between 0.5 - 0.6, I use 0.54.

  • @VincenzoRomeo
    @VincenzoRomeo Před 6 měsíci

    Where do I find the model for the upscale?

  • @JayWarshavsky
    @JayWarshavsky Před 6 měsíci

    can you help me with trying to take images i took of shoes and paint them into male legs?

  • @hikmetmertdincer6816
    @hikmetmertdincer6816 Před 20 dny +1

    can you give exactly same workflow link? I downloaded inpainting ver but totally different

    • @rudyshobbychannel
      @rudyshobbychannel  Před 20 dny

      There's a new video on inpainting: czcams.com/video/q9wQe248lc4/video.html
      The workflow is in the download folder.

  • @debevecc
    @debevecc Před 4 měsíci

    Thank you, That works so easy once I got it going. Where would the open lora node go in on your workflow?

    • @rudyshobbychannel
      @rudyshobbychannel  Před 3 měsíci

      There is no entry for a LoRA node, they are already built in ... 3 in the loader and one in the sampler, so there are 4 Lora slots in total.

  • @avi3dfx1210
    @avi3dfx1210 Před 5 měsíci

    thanks :) great explanation :)

  • @tengma8497
    @tengma8497 Před 7 měsíci

    good toturial, thx. Can I ask how to do with uploading a black-white mask instead of drawing the mask

    • @rudyshobbychannel
      @rudyshobbychannel  Před 7 měsíci

      Not with this workflow, but there is a range of custom nodes available that deal with mask manipulation, possibly a mask upload is available too.

  • @svenhaheim
    @svenhaheim Před měsícem

    A lot of stuff not in my comfy UI there like whatever the style you have selected there is, any list of downloads or even better a place to get your workflow file ?

    • @rudyshobbychannel
      @rudyshobbychannel  Před měsícem

      Here's a new download folder: drive.google.com/drive/folders/1C4hnb__HQB2Pkig9pH7NWxQ05LJYBd7D?usp=drive_link
      Inside there's a Readme file that contains a list of the custom nodes I have installed.
      This weekend the plan is to upload a new Inpainting video to render better results, keep an eye open for that.

    • @svenhaheim
      @svenhaheim Před měsícem

      @@rudyshobbychannel Thank you :)

  • @lyetton
    @lyetton Před 4 měsíci

    Using Latent mask and vae encode did not work for me. What worked for me was Vae encode for inpainting alone

  • @withzhizhi
    @withzhizhi Před 3 měsíci

    After installing all the missing custom nodes and loading everything correctly, I'm getting the Loop (176,178) - not submitting workflow error, don't know what's going on. Any ideas? Thx

    • @rudyshobbychannel
      @rudyshobbychannel  Před 3 měsíci

      I don't know that error, hard to tell from a distance what's happening. Maybe you can have a look at the later inpainting video, czcams.com/video/B3aPQjll3nw/video.html ,and download the new workflows from there.

  • @MONKEY-vi7hx
    @MONKEY-vi7hx Před 5 měsíci +2

    Lots of workflow JSON files on your link. Which one relates to this video. THANKS.

  • @theshinkuakuma
    @theshinkuakuma Před 5 měsíci +1

    hmmm, it prompts:
    Prompt outputs failed validation
    Image scale to side:
    - Required input is missing: image
    CLIPTextEncode:
    - Required input is missing: text
    I can't seem to figure out what is missing... 🤔

    • @rudyshobbychannel
      @rudyshobbychannel  Před 5 měsíci +1

      Hard to tell from a distance what goes wrong and why ... the text suggests that some links are missing, but I bet you checked and double checked that?

  • @abdellahla6159
    @abdellahla6159 Před 6 měsíci

    thank you for the tutorial. please update download link

  • @jhPampoo
    @jhPampoo Před 2 měsíci

    is there any tutorial for inpainting whole image sir?
    my idea is using inpainting that use the mask, but it can disturb the mask as needed for smoothly blending

    • @rudyshobbychannel
      @rudyshobbychannel  Před 2 měsíci +1

      I'm afraid I don't understand what you mean by 'inpainting whole image" ... isn't that similar to just generating a whole new image?

    • @jhPampoo
      @jhPampoo Před 2 měsíci

      @@rudyshobbychannel i mean that is there a way to get result that the mask area and the rest blend smoothly (the generated area can be blended into the unmask area if it needs, not just stop at the edge of the mask)
      my English is bad, hope you get the idea
      thanks

    • @rudyshobbychannel
      @rudyshobbychannel  Před 2 měsíci +1

      Ah, I see. There is a newer inpainting video here: czcams.com/video/B3aPQjll3nw/video.html
      Maybe it shows what you are looking for. I use a second sampler stage to get rid of any troubles / seams the inpainting may have caused. Also there is a mask blur node available in some node suite packs, this is one: github.com/cubiq/ComfyUI_essentials

    • @jhPampoo
      @jhPampoo Před 2 měsíci

      @@rudyshobbychannel thank you so much, i'm going to check it now

  • @zachshukan108
    @zachshukan108 Před 2 měsíci

    You need to get a pop filter for your microphone for all those out there with misophonia

  • @toshobg
    @toshobg Před 7 měsíci

    Where is that Resize Feed from?

    • @rudyshobbychannel
      @rudyshobbychannel  Před 7 měsíci

      What Resize Feed do you mean?

    • @Jmdee
      @Jmdee Před 6 měsíci

      @@rudyshobbychannel On the left of the screen there is a panel with the words "Resize Feed" at the top. When the blonde image is generated, it pops into this feed.

    • @rudyshobbychannel
      @rudyshobbychannel  Před 6 měsíci

      @@Jmdee Ah, I see what you mean now. That is the image browser. See this video: czcams.com/video/E5Np3Hvcj58/video.html

  • @AjSmit1
    @AjSmit1 Před 4 měsíci

    not relevant to the content but i like the lilt of your narration, it's whimsical :)

  • @relaxandlearn7996
    @relaxandlearn7996 Před 21 dnem

    optional_vae on the sampler dont exist anymore so the whole tutorial isnt working

    • @rudyshobbychannel
      @rudyshobbychannel  Před 21 dnem

      In the mean time there's a newer inpainting video: czcams.com/video/q9wQe248lc4/video.html

  • @liaesttonami
    @liaesttonami Před 28 dny

    Doesn't work.

    • @rudyshobbychannel
      @rudyshobbychannel  Před 28 dny

      What seems to be the problem? By the way, there's a newer inpainting video here: czcams.com/video/q9wQe248lc4/video.html Maybe that works for you?

  • @aimedaddy
    @aimedaddy Před 6 měsíci +3

    no workflow , skip delete trash

    • @rudyshobbychannel
      @rudyshobbychannel  Před 6 měsíci

      Thanks for letting me know. The link is renewed in the text.

  • @abd-elrahmanmahmoud3167
    @abd-elrahmanmahmoud3167 Před 5 měsíci +1

    Your workflows doesnt work man

  • @gkoogz9877
    @gkoogz9877 Před 4 měsíci

    It's a poor tutorial for a lot of reasons. You say "we will start from scratch" but then you connect things from existing nodes off screen? Really? You link a massive google drive with multiple inpainting workflows, all of which contain nodes not found in the standard repo. I recommend redoing this tutorial.

    • @rudyshobbychannel
      @rudyshobbychannel  Před 4 měsíci

      Yes, three inpainting workflows. Almost any workflow contains nodes that are not in the standard repo. The ComfyUI manager, which you can install following this video: czcams.com/video/5AHBRVaJf9k/video.htmlsi=prKzMBHvhPQjgWd0 (install starts around minute 5) is the tool to help you out. Also see the new video on inpainting, with more streamlined workflows (yes, again multiple :) czcams.com/video/B3aPQjll3nw/video.htmlsi=rsvmPt2NlDakxuUq

  • @ZozoOriginal
    @ZozoOriginal Před 7 měsíci +2

    Really confusing, I thought as you said in the beginning you were going to show how to build all of this... thumb'd down.

    • @llj9665
      @llj9665 Před 6 měsíci +1

      if it helps, the workflow file is named ''310 Inpaint Lat Img.json' in his shared google drive folder.

    • @rudyshobbychannel
      @rudyshobbychannel  Před 6 měsíci +1

      @@llj9665 The link to all workflows is restored in the text.

    • @nicholasjela1405
      @nicholasjela1405 Před 5 měsíci

      POint out the workflow rather than post millions useless drive link, thumb down @@rudyshobbychannel