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

Ғылым және технология

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, KZread 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

Пікірлер: 82

  • @xainudin108
    @xainudin1086 ай бұрын

    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!

  • @serviodiaz4425
    @serviodiaz44254 ай бұрын

    Thanks, great content.

  • @KLEEBZTECH

    @KLEEBZTECH

    4 ай бұрын

    Welcome.

  • @narbig7
    @narbig72 ай бұрын

    Muchas gracias!!

  • @KLEEBZTECH

    @KLEEBZTECH

    2 ай бұрын

    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. kzread.info/dash/bejne/pIGFs9pvfK-tg9I.html

  • @ibrahim__alsayed
    @ibrahim__alsayedАй бұрын

    thanks

  • @KLEEBZTECH

    @KLEEBZTECH

    Ай бұрын

    You're welcome!

  • @blackfollowersshow
    @blackfollowersshow6 ай бұрын

    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

    6 ай бұрын

    Actually something I have on my list. 👍

  • @shacharperl5217

    @shacharperl5217

    6 ай бұрын

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

  • @fabiotgarcia2
    @fabiotgarcia25 ай бұрын

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

  • @harishgovekar3597
    @harishgovekar35976 ай бұрын

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

  • @KLEEBZTECH

    @KLEEBZTECH

    6 ай бұрын

    Noted!

  • @lexaunculpt
    @lexaunculpt6 ай бұрын

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

  • @KLEEBZTECH

    @KLEEBZTECH

    6 ай бұрын

    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
    @mariondroguet79446 ай бұрын

    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

    6 ай бұрын

    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.

  • @wernerblahota6055
    @wernerblahota60556 ай бұрын

    👍👍👍👍

  • @lilillllii246
    @lilillllii2464 ай бұрын

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

  • @bryanbrewer4272
    @bryanbrewer42725 ай бұрын

    very moist

  • @cmdr_talikarni
    @cmdr_talikarni14 күн бұрын

    There is also LORAs for better eyes, faces, expressions, and hands to get better results off the start.

  • @KLEEBZTECH

    @KLEEBZTECH

    14 күн бұрын

    Yes but I have not found those to work very well. Especially the hands.

  • @BM-mg6ku
    @BM-mg6ku25 күн бұрын

    Thank you, what is the best setup to get realistic image?

  • @KLEEBZTECH

    @KLEEBZTECH

    23 күн бұрын

    That is such a difficult question to answer since everyone's view of realistic is different. But start by looking at some different realistic checkpoints on places like CivitAI. I don't use a specific one since they all have their benefits. Also play with some of the photo styles and try adding things like RAW photo to the prompt which can help for some models.

  • @fabiotgarcia2
    @fabiotgarcia26 ай бұрын

    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

    6 ай бұрын

    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
    @valentinacevenini87516 ай бұрын

    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

    6 ай бұрын

    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: kzread.info/dash/bejne/rH5mrrGAdNTAlbQ.html

  • @jamespogg
    @jamespogg5 ай бұрын

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

  • @KLEEBZTECH

    @KLEEBZTECH

    5 ай бұрын

    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. 👍

  • @waynescholar4998
    @waynescholar49986 ай бұрын

    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

    6 ай бұрын

    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.

  • @jkashj1994
    @jkashj19945 ай бұрын

    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

    5 ай бұрын

    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.

  • @keepitshort4208
    @keepitshort42086 ай бұрын

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

  • @meikmeiker2615
    @meikmeiker26155 ай бұрын

    A video that goes into more depth would be great

  • @KLEEBZTECH

    @KLEEBZTECH

    5 ай бұрын

    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.

  • @dpgedward5947
    @dpgedward59476 ай бұрын

    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

    6 ай бұрын

    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.

  • @alpenjager3986
    @alpenjager39866 ай бұрын

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

  • @KLEEBZTECH

    @KLEEBZTECH

    6 ай бұрын

    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

    6 ай бұрын

    @@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.

  • @prohabitat
    @prohabitat5 ай бұрын

    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

    5 ай бұрын

    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.

  • @mysticgatekeeper
    @mysticgatekeeper4 ай бұрын

    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

    4 ай бұрын

    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 kzread.info/dash/bejne/i4N4xqiGnL3gYrQ.html

  • @mysticgatekeeper

    @mysticgatekeeper

    4 ай бұрын

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

  • @LEGIT134
    @LEGIT1346 ай бұрын

    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

    6 ай бұрын

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

  • @Alphaai1997
    @Alphaai19975 ай бұрын

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

  • @KLEEBZTECH

    @KLEEBZTECH

    5 ай бұрын

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

  • @oscargortez

    @oscargortez

    5 ай бұрын

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

  • @kenmasters734
    @kenmasters7346 ай бұрын

    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

    6 ай бұрын

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

  • @tradehut2782
    @tradehut27825 ай бұрын

    Is there a best checkpoint for inpainting?

  • @KLEEBZTECH

    @KLEEBZTECH

    5 ай бұрын

    Should work fine with any.

  • @akuma2124

    @akuma2124

    4 ай бұрын

    @@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

    4 ай бұрын

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

  • @vrrevolution9183
    @vrrevolution91835 ай бұрын

    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

    5 ай бұрын

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

  • @KLEEBZTECH

    @KLEEBZTECH

    5 ай бұрын

    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

    5 ай бұрын

    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

    5 ай бұрын

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

  • @vrrevolution9183

    @vrrevolution9183

    5 ай бұрын

    your tuts are awesome thanks!

  • @Bamigaru
    @Bamigaru6 ай бұрын

    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

    6 ай бұрын

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

  • @KLEEBZTECH

    @KLEEBZTECH

    6 ай бұрын

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

  • @Bamigaru

    @Bamigaru

    6 ай бұрын

    @@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

    6 ай бұрын

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

  • @KLEEBZTECH

    @KLEEBZTECH

    6 ай бұрын

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

  • @cyril1111
    @cyril11116 ай бұрын

    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

    6 ай бұрын

    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
    @pedro30004 ай бұрын

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

  • @KLEEBZTECH

    @KLEEBZTECH

    4 ай бұрын

    Actually it is about once per minute. 😉

  • @pedro3000

    @pedro3000

    4 ай бұрын

    @@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

    4 ай бұрын

    😂 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. 👍

  • @fulldivemedia
    @fulldivemedia21 күн бұрын

    thanks

  • @KLEEBZTECH

    @KLEEBZTECH

    20 күн бұрын

    You're welcome!

Келесі