ComfyUI Inpaint Anything workflow

Поділитися
Вставка
  • Опубліковано 6 сер 2024
  • Comfy-UI Workflow for Inpainting Anything
    This workflow is adapted to change very small parts of the image, and still get good results in terms of the details and the composite of the new pixels in the existing image
    Here is used:
    ControlNet
    Segment Anything
    IP-Adapter
    Image Composite masked
    masks
    and more..
    #comfyui #stablediffusion #ipadapter #mask #controlnet #segment
    follow me @ / pixeleasel
    workflow
    drive.google.com/file/d/1-hd4...
    Segment anything
    github.com/storyicon/comfyui_...
    was-node-suite-comfyui
    github.com/WASasquatch/was-no...
    juggernaut model
    civitai.com/models/133005/jug...
    IP-Adapter GitHub
    github.com/cubiq/ComfyUI_IPAd...

КОМЕНТАРІ • 71

  • @weirdscix
    @weirdscix 3 місяці тому +1

    Excellent video, and thanks for sharing the workflow

    • @PixelEasel
      @PixelEasel  3 місяці тому +1

      thanks! excellent comment 😉

  • @adamjenkins3065
    @adamjenkins3065 3 місяці тому

    wonderfully explained. nice

    • @PixelEasel
      @PixelEasel  3 місяці тому

      thanks! wonderful comment!

  • @aliyilmaz852
    @aliyilmaz852 3 місяці тому +1

    thanks for the explanation and the method. I always had problem with changing small areas beautifully, hope now I can do something better.

    • @PixelEasel
      @PixelEasel  3 місяці тому +1

      you welcome! I'll be glad to see the results

  • @user-ip4my7yi9l
    @user-ip4my7yi9l 23 дні тому

    very well explained, awesome workflow. 10/10 video. extra points for sharing the workflow for free so i dont need to pause a billion times to recreate it myself and can just look at the workflow myself to learn it.

  • @mattc3510
    @mattc3510 2 місяці тому +1

    Thank you great video 👌

  • @knightride9635
    @knightride9635 3 місяці тому +2

    Thanks a lot, very useful.

  • @MilesBellas
    @MilesBellas Місяць тому

    Great ! 😊

  • @sudabadri7051
    @sudabadri7051 3 місяці тому

    incredible work mate

  • @Ai-dl2ut
    @Ai-dl2ut 3 місяці тому +1

    Thanks bro... subscribed :)

  • @lindalion873
    @lindalion873 3 місяці тому +1

    nice :))

  • @Sam-tz7fo
    @Sam-tz7fo 3 місяці тому

    Thank you for the workflow and tutorial, I'm new to comfy. Since u're going back to the basics, would love to learn about masks and segments and how it relates to each other. Also would really appreciate a way to automatically mask a face and only apply changes to that. Thank you again for all the content:)

    • @PixelEasel
      @PixelEasel  3 місяці тому +1

      thanks for commenting! I will cover those topics soon

  • @ameet21
    @ameet21 3 місяці тому +1

    They should give an option where we can select that part of the area just by dragging the cursor the way we do cropping in Photoshop so that particular selected part only gets changes

    • @PixelEasel
      @PixelEasel  3 місяці тому +3

      this is the "problem" with open source programs. There's no such thing 'they'

  • @christianblinde
    @christianblinde 3 місяці тому +1

    Wow the best is, that it keeps the original image size. Thats the first solution i found like this. Would be great if you build a solution for outpainting like this. I know that i can use it almost for outpainting. Enlarge image and mask the new part etc. But a real outpaintingsotion where i can set expand to the right xy pixel without the need for IP Adapter manual input would be great. One step further would be to incrementally expand if the aera is to big for a certain pixel limit, since systems and models limit are exeedet.
    Just an idea. Keep going!

    • @PixelEasel
      @PixelEasel  3 місяці тому +1

      Thanks! I'm working on an outpainting workflow... I hope I'll finish it soon

  • @AhKaj-jw8of
    @AhKaj-jw8of 3 місяці тому +3

    I was thrilled to finally find someone combining control net with differential diffusion, as no one else seemed to have covered it! However, despite spending hours trying to modify your node to blend character to the scenery, I couldn't get it to work due to my lack of knowledge. Is there a way to mask an existing background photo and seamlessly integrate a character into it using openpose and differential diffusion?

    • @PixelEasel
      @PixelEasel  3 місяці тому +1

      thanks! if I understood correctly, I think u can use this workflow ua-cam.com/video/k76f8aVgS4c/v-deo.htmlsi=QNEtQSwoo5okPtuw
      to achieve what u are looking for

  • @rbbdzz
    @rbbdzz 3 місяці тому +1

    Thanks! Have you tried SEGS nodes from Impact Pack? You can inpaint only masked area less complicated way (MASK to SEGS node)

    • @PixelEasel
      @PixelEasel  3 місяці тому

      thanks! I will check it out..

  • @yiiiliu
    @yiiiliu 2 місяці тому +1

    Thanks for your wonderful work, can I ask where you downloaded the safetensor of the clip vision model used in your ipadapter advanced node?

    • @PixelEasel
      @PixelEasel  2 місяці тому

      thanks! from the ip adapter repo. the link un the description

  • @MusicViralWave
    @MusicViralWave 3 місяці тому +2

    can you make a tutorial for control net inpainting on video to video??

    • @PixelEasel
      @PixelEasel  3 місяці тому +1

      thanks! yes i will do one on vfx

  • @mr.entezaee
    @mr.entezaee 3 місяці тому +1

    I have a few photos that I just want to put a smile on your face. But if it looks real, it means that the reaction of the face should change in such a way that the face does not change. Is it possible to make a tutorial about this?

    • @PixelEasel
      @PixelEasel  3 місяці тому +1

      check this one ua-cam.com/video/VwEcGIBwsyw/v-deo.html

  • @AmandaFessler
    @AmandaFessler 3 місяці тому +1

    Hello! I've downloaded the workflow, and (tried) to install the models. The blip image captioning and the two prompt generators don't seem to be working correctly. First they wouldn't install through git, so I downloaded them manually and uploaded them to my GDrive (I use colab). But now it keeps saying it can't detect __init__.py. Also the Derfuu_ComfyUI_ModdedNodes doesn't want to install either. I'm unfortunately not well versed at all in python and git so I don't know what to do... Thank you again for your help!

    • @PixelEasel
      @PixelEasel  3 місяці тому

      hi. the prompt nodes are just a simple input text, you can use any input text node instead

  • @woolenwoods665
    @woolenwoods665 18 днів тому

    amazing tutorial, however , it is a little bit unfriendly to beginners who haven't used the nodes you mentioned in the video. is it possible to deconstruct this complex workflow with short episode ?
    still thanks for your video.

    • @PixelEasel
      @PixelEasel  15 днів тому

      thanks! ill do my best to make it clearer next vid

  • @jasondulin7376
    @jasondulin7376 2 місяці тому

    I want to use this workflow so badly but Derfuu doesnt load up, even though it has been installed. I'm using the Comfyui Mobile version. Is that the issue?

  • @wangc2669
    @wangc2669 Місяць тому +1

    Hi,Derfuu_Comfyui_ModdedNodes can not be opened at present. It can be used before. But it is not work at these days. Can you please help to resolve the problem. Thanks.:)

    • @PixelEasel
      @PixelEasel  Місяць тому

      i think you can replace it with any other input text

  • @yougoume7584
    @yougoume7584 3 місяці тому

    Thanks for the great workflow!
    I want to try it as soon as possible too, but I get the following error and can't try it, please help!
    When loading the graph, the following node types were not found:.
    Derfuu_ComfyUI_ModdedNodes 🔗.
    Nodes that have failed to load will show as red on the graph.

    • @PixelEasel
      @PixelEasel  3 місяці тому

      thanks! try to update comfy... and if it still doesn't work for you , write to me, and we'll think of another solution

    • @watchlater8755
      @watchlater8755 3 місяці тому

      @@PixelEasel im getting the same thing too. please help

  • @suyashchougule2522
    @suyashchougule2522 2 місяці тому

    thanks for the tutorial, I am getting this error
    Error occurred when executing KSamplerAdvanced:
    'ModuleList' object has no attribute '1'
    tried with different settings and even checked in community

  • @crk7126
    @crk7126 День тому

    Hey, I loaded your workflow and install everything but two notes are missing, first „text“ and „ShowTextForGPT“ can u help me where can I finde these? Both are part of the first group, called group in your workflow

    • @PixelEasel
      @PixelEasel  День тому

      for the text, you can use any input text node. and the same for the show text, u can try pythongosssss

  • @EdwardKing-nu7ug
    @EdwardKing-nu7ug 2 місяці тому

    Thanks for sharing!but.how to resolve ……out of memory?🙏 my video card is rtx 4060

    • @PixelEasel
      @PixelEasel  2 місяці тому +1

      sounds weird . Check if you haven't set the resolution too high

    • @EdwardKing-nu7ug
      @EdwardKing-nu7ug 2 місяці тому

      thanks.If I set the mask area resolution 768 768,instead of 1024 1024,can resolve this problem?

  • @divye.ruhela
    @divye.ruhela 12 днів тому

    I get
    Error occurred when executing ImageResize+:
    'bool' object has no attribute 'startswith'

    • @PixelEasel
      @PixelEasel  День тому

      try to delete it and reload.

  • @kick851
    @kick851 2 місяці тому

    I'm getting ugly and low quality face, i'm using pony is there a way to fix the face quality ?

    • @PixelEasel
      @PixelEasel  2 місяці тому

      u can always use reactor, but u shouldn't get distorted images

  • @onlyvibhor
    @onlyvibhor 2 місяці тому

    do you create workflows on request?

    • @PixelEasel
      @PixelEasel  2 місяці тому

      yes. you can send me an email to gophoto101@gmail.com

    • @onlyvibhor
      @onlyvibhor 2 місяці тому

      @@PixelEasel I've sent you an email

  • @alexk1072
    @alexk1072 2 місяці тому

    The author (Derfuu) deleted the file?

    • @PixelEasel
      @PixelEasel  2 місяці тому

      which one?

    • @alexk1072
      @alexk1072 2 місяці тому +1

      ​@@PixelEasel Thanks! Already solved the problem.
      The reason was the package 'Derfuu_ComfyUI_ModdedNodes' in the
      ComfyUI-Windows-11-Portable, I could not update this package. But in ComfyUI-MX-Linux everything worked. I've been looking for a good build for INPAINT-SDXL for a long time, and I found it! You have!

    • @jasondulin7376
      @jasondulin7376 2 місяці тому

      @@alexk1072 Derfuu isn't working for me in Portable. Are you saying you have to use a different installation of Comfy?

    • @alexk1072
      @alexk1072 2 місяці тому

      @@jasondulin7376 Yes. In MX Linux, for example, install ComfyUI according to Git instructions/ I just mechanically moved the Derfuu_ComfyUI_ModdedNodes folders from ComfyUI-Linux to ComfyUI-Windows-Portable and everything worked, although mixlab keeps offering to help.)) Perhaps mixlab is to blame. Also FaceSwap and comfyui-reactor-node don't work in ComfyUI-Windows-Portable, but they work fine from ComfyUI-Linux)))

  • @saberkz
    @saberkz 3 місяці тому +1

    Hello pixel , i have a problem in my custom workflow i need your help for a task job . Please sent me contact info

    • @PixelEasel
      @PixelEasel  3 місяці тому +1

      I hope i can help... gophoto101@gmail.com

    • @saberkz
      @saberkz 3 місяці тому

      @@PixelEasel done i have already emailed

  • @philippeheritier9364
    @philippeheritier9364 2 місяці тому

    Big thanks to share your knowledge but for me it's strange the masked area stay's empty, The main subject doesn't show.
    Sorry, my bad... i didn't put the good controlnet model. control-lora-depth-rank256.safetensors