Stable Diffusion - Inpainting with Fooocus - Don't Regenerate, Fix!

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • Master Fooocus and Stable Diffusion for Creative Image Generation! 🎨 In this Stable Diffusion tutorial learn how to get started using inpainting in Fooocus to fix images (looking at you AI hands!), add objects, or add detail to things like face and hands. Ideal for digital artists and creators looking to fix those almost perfect images. Unlock your creativity with Fooocus and Stable Diffusion! #FooocusTutorial #StableDiffusion #DigitalArt #ImageManipulation #CreativeTools
    This is part of my ongoing series of videos on installing and using Fooocus for Stable Diffusion. Fooocus is a great interface for using Stable Diffusion and is very easy to get started. It also will run on systems with only 4GB VRAM.
    If you find the video useful and would like to tip, CZcams does have the Super Thanks option. Those are greatly appreciated so I can have my coffee!!
    ☕ BUY ME A COFFEE: ko-fi.com/kleebztech
    Download Fooocus: github.com/lllyasviel/Fooocus
    How to install Fooocus video: • Stable Diffusion - Dow...
    Fooocus Beginners Guide: • Super Easy Stable Diff...
    Fooocus Upscales and Variations: • Stable Diffusion - Foo...
    Checkpoints and LoRAs the Basics: • Stable Diffusion - Che...
    Fooocus Poses and FaceSwap - Image Prompts: • Stable Diffusion - Pos...
    Zoom with Outpainting: • Stable Diffusion - Zoo...
    00:00 Intro
    00:48 Introduction to inpainting
    04:10 Painting Mask
    09:40 Improve Details
    12:20 Modify Content and using Real Pictures
  • Věda a technologie

Komentáře • 76

  • @narbig7
    @narbig7 Před 4 dny +1

    Muchas gracias!!

    • @KLEEBZTECH
      @KLEEBZTECH  Před 4 dny

      If you haven't already I do suggest my other videos on inpainting. I have several that all touch on different aspects I have learned to really improve your inpainting. Like this one. czcams.com/video/rMQQx6LLGSo/video.html

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

    Wow, this is amazing! I learned a lot from this tutorial on how to use inpainting to fix or modify images generated by Stable Diffusion. The examples you showed were very impressive and inspiring. I especially liked how you improved the details of the face and hands. This is a very useful and creative tool for digital artists and creators. Thank you for sharing this video!

  • @webbie7503
    @webbie7503 Před měsícem +1

    thanks! i been using this program for hours and this helped fill in a lot of what i was missing for impainting

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

    Thanks, great content.

  • @fabiotgarcia2
    @fabiotgarcia2 Před 3 měsíci +1

    I´d love ro see a tutorial about how to do image for fashion advertising with beautiful places, beautiful models.

  • @blackfollowersshow
    @blackfollowersshow Před 4 měsíci +4

    make a video showing how to fix the hands, they always come out with defects, I love your videos, I really learned a lot with you. thanks.

    • @KLEEBZTECH
      @KLEEBZTECH  Před 4 měsíci +1

      Actually something I have on my list. 👍

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

      😢ס😮בב😮😮את את 😅😮😅😮סדק😊😅😊😅😅😊😅😅😅😅😊😅😅​

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

    Thanks. Can't I use image prompt(cpds,faceswap,pyracanny) and inpaint at the same time on foocus?

  • @lexaunculpt
    @lexaunculpt Před 4 měsíci +3

    This is great. Could use inpaint with a lora to replace a face?

    • @KLEEBZTECH
      @KLEEBZTECH  Před 4 měsíci +2

      You should be able to. I just double checked with one of my custom ones and was able to use the regular inpaint and then change the prompt with the trigger word for the lora and it worked.

  • @mariondroguet7944
    @mariondroguet7944 Před 3 měsíci +1

    Fantastic video!
    Already tested this and it IS amazing! One question - is there a way to use inpaint or other option there to insert a *specific item* to a photo?
    I mean to upload photo/s of a specific shirt, necklace, skirt and inpaint them to a target image?
    Great video, thanks a lot! ❤

    • @KLEEBZTECH
      @KLEEBZTECH  Před 3 měsíci +2

      Not really that I can think of. You could possibly get something similar by using the image prompts combined with inpainting. You do need to enable that option in the Developer Debug Mode. If you were using a LoRA with trained content that would probably be another way.

  • @harishgovekar3597
    @harishgovekar3597 Před 4 měsíci +1

    Awesome video!!!! It will be great if you make a video creating AI Influencers

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

    Does Fooocus or any other AI allow for uploading of a jpeg of an image and then you can utilize some type of inpainting function to edit/augment the reality of the uploaded image. I know that you can use "reference" image in some AIs, but I would want to alter an existing "analog" image. I'm having a hard time finding this as an option and it surprises me that it's not available somewhere. It would be highly marketable.

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

      You can inpaint real photos and it does a pretty good job of blending things. I will say some images it does much better than others.

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

    Can you inpaint and use a specific image (like face swap) to replace the area with that specific image? For example if i have a model wearing a jacket and an image of a new jacket i want to put on that model keeping all the details?

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

      No. You might be able to get close using image prompt set to high stop and weight but not going to get the same clothing.

  • @fabiotgarcia2
    @fabiotgarcia2 Před 4 měsíci +2

    Excellent. Is it possible to put a real dress or shoes in a model. Like take a photo of a real shoes and apply it to the feet’s model?

    • @KLEEBZTECH
      @KLEEBZTECH  Před 4 měsíci +1

      Not exactly. You could use the image prompt feature to influence that sort of thing. But to get the exact same, the only way I could think of is a clothing lora (which I have not messed with yet) or I suppose you could take the photo of a person in the real dress and inpaint the rest of the image.

  • @valentinacevenini8751
    @valentinacevenini8751 Před 4 měsíci +1

    Hi, thanks for your very useful videos, how did you manage to remove the girl's two braids and put just one? I can not make it. can you help me by giving me some suggestions? Thanks again !

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

      If you are talking about the two images near the start, those were just a couple images I generated to start with. I did not change them from two to one. But you could with inpainting if you were to change the prompt to specify one braid and mask both of them. Some things take multiple attempts. I made a quick video to show how and it took a few attempts and had to skip the first few generations but worked: czcams.com/video/zJ2LOGDqZeQ/video.html

  • @wernerblahota6055
    @wernerblahota6055 Před 4 měsíci +1

    👍👍👍👍

  • @bryanbrewer4272
    @bryanbrewer4272 Před 3 měsíci +1

    very moist

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

    I use foocus but I keep getting bad results. Like putting handles on kitchen door, they are all over the place, also always getting extra vertical rails. can you train the program to fix this?

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

      Much comes down to good prompts and some luck. You can also try different models. You can not really train Fooocus itself when it comes to those things. I do suggest when testing out different prompts also using the same seeds to see the impact the changes have.

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

    As a very new AI user (less than 2 weeks) I've been exploring Fooocus and noticed something at my end regarding character creation. I've been unable to render a person with a full body. At best I see the person from the waist up whether sitting or standing (and yes, they are clothed). Is this how Fooocus works or am I doing something wrong at my end? Thank you.

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

      That is one of the things you will learn as you get better. Give this video a go. Hopefully it will get you down the right path czcams.com/video/YODdFMlZz2Q/video.html

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

      @@KLEEBZTECH Thanks for replying and for the link. I"ll be reviewing it today.

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

    Ser... i have an issue.. i get connection error as soon as i upload an image to inpain sections or if i use a photo for face swap. when i press generate it crashes?? plez welp

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

      Are you running locally on your own computer or using it online with a service? Any error messages would be useful in determining the issue. If running locally you should get some sort of error in the CMD window for example.

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

    can you do a video about adding new people to a real image? would love that!

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

      Adding AI people and things to real photos? I can see doing a video on that probably. I have not added people but I have added other things like other animals to photos I have of my goat. 👍

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

    The problems I'm having is the white halo around the subject background

  • @Alphaai1997
    @Alphaai1997 Před 3 měsíci +1

    hello sir, i downloaded fooocus with the latest version but the ouput is always error

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

      What are you getting for an error in the CMD window?

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

      I had that too, then I found out my computer apparently doesn't have a beefy enough graphics card.

  • @alpenjager3986
    @alpenjager3986 Před 4 měsíci +1

    Can you please make a tutorial for fixing mutated hands with Fooocus?

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

      I do plan on making something about AI hands but there is no great fix. But there are some tips I will give when I make it to help reduce the number of inpainting attempts when trying to fix them. I am also open to any tips others have found.

    • @alpenjager3986
      @alpenjager3986 Před 4 měsíci +1

      @@KLEEBZTECH I think raising the topic of Fooocus Stable Diffusion will have a positive impact on the development of your channel, considering the lack of content creators who provide this information.

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

    As long as you aren’t making Disney characters or something obviously copyright you can sell these images right? Like for a book for example

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

      Yes usually. But I am not a lawyer. 😀 There is still a lot of legal things to be worked out with them.

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

    Is there a best checkpoint for inpainting?

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

      Should work fine with any.

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

      @@KLEEBZTECH currently only supports models that are SDXL. If you try to run one that isnt supported, the cmd window will say its not supported.

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

      Correct. You can use others as a refiner. But Fooocus is designed for SDXL. ​@@akuma2124

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

    i have troed over and over t get rid or earrings, just makes new ones each time, even with negative prompts... you have any idea how to do that ? i see yours changed earrings too

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

      I am going to try it and see. But having a hard time getting any women with earrings... lol.

    • @KLEEBZTECH
      @KLEEBZTECH  Před 3 měsíci +1

      Have you tried using heavier weights in the negative prompt? The negative prompt can be hit or miss with what it will impact but using higher weights might help. Maybe like this: (earrings:1.5), (jewelry:1.5)

    • @KLEEBZTECH
      @KLEEBZTECH  Před 3 měsíci +1

      I did finally get some by requesting earrings. Then I removed that from the prompt and just masked the lower part of the ear and the earring. Mine removed it every time... Just be sure you are using a random seed in case you may have unchecked that box.

    • @vrrevolution9183
      @vrrevolution9183 Před 3 měsíci +1

      nice if you get a chance shoot a video, i do so much better with visuals! @@KLEEBZTECH

    • @vrrevolution9183
      @vrrevolution9183 Před 3 měsíci +1

      your tuts are awesome thanks!

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

    Somthing is borked with the new focus model update, faces come out with the same stupid half smile and dont want todo different expressions.

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

      Checkpoint models were recently updated but you can use the previous ones.

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

    A video that goes into more depth would be great

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

      I do plan on combining all the tips and techniques for inpainting from all my videos into a more comprehensive one in the near future.

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

    HI! How are you? This video is also perfect as always. I'm trying to create and edit the photos myself as I follow you in your excellent step by step explanations. This way I remember better what does what. I tried to use a photo where the mouth is ajar. I used Inpaint>Improve Detail masking the mouth area and around it to give the Ai more room to maneuver as you say in the video. As a prompt in the Improve Detail box I put "detailed partly open mouth" (I did some tests, putting it as a general prompt + Improve Detail prompt doesn't change anything, the result is always the same), but the result is very fake: the texture of the mouth is different from that of the rest of the face (I also used 2x upscaling before using the impaint, as you suggested and in fact the results are better) and the shape of the mouth does not follow the features of the face. Do you have any advice on how to fix it?

    • @KLEEBZTECH
      @KLEEBZTECH  Před 3 měsíci +1

      For something like that I find doing the whole face works better.

    • @KLEEBZTECH
      @KLEEBZTECH  Před 3 měsíci +1

      Can also check off the developer debug mode and in the inpaint section adjust the denoise strength to fine tune things.

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

      @@KLEEBZTECH Will it not change the subject's face? because im trying to recreate the same face but with different expressions (with expressions i mean only mouth and eyes sometime)

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

      @@KLEEBZTECH i'll try with this, thanks!!!

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

      Another possible idea is to use FaceSwap with inpainting to redo the face...

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

    But you barely scratched the surface of inpainting here. Why you didn't talk (or maybe you are not aware of) about the advanced Tab > developer debug > Inpaint Tab - Here you can choose your denoise strength, inpaint latent or not, and so many more options that gives you full power on the inpainting!

    • @KLEEBZTECH
      @KLEEBZTECH  Před 4 měsíci +1

      As I mentioned this is just the basics and will be doing a video on more of the advance stuff soon. I could spend much longer covering everything but then it would be a very long video that most people would not watch or be interested in.

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

    Count how many times you say "actually" in this video.

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

      Actually it is about once per minute. 😉

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

      @@KLEEBZTECH I actually did not count, but I’m sure it’s actually quite a few. Your content is great, you could actually use fewer adverbs and it would actually be more concise 👍

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

      😂 Working on it. I did count though since it only took a few seconds to check the subtitles and it was about once a minute. 👍