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!
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.
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. ruclips.net/video/rMQQx6LLGSo/видео.html
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! ❤
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.
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.
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.
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 !
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: ruclips.net/video/zJ2LOGDqZeQ/видео.html
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. 👍
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?
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.
@@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.
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.
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.
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 ruclips.net/video/YODdFMlZz2Q/видео.html
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?
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.
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
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.
Inpainting is still its own thing. The enhance feature makes use of inpainting to automatically enhance the images. Inpainting the regular way is going to usually be the better option but using the enhance can reduce the need sometimes in my opinion. But the way I do images I rarely use enhance.
@@KLEEBZTECH If I have an image that is missing feet at the end of the legs, would inpainting help with that? I tried masking the area where the feet should be, but it's adding weird feet with completely different lighting...
Yes that would be the way. You want to make sure using the default inpainting and not one of the other options usually. And keep your prompt for the full image since it is going to generate based on that. It sounds like you may be using one of the other inpainting options.
Not usually. And if you do use the modify you do not want the full prompt left since it uses that as well for that small area. Just use the default and usually that should work since it usually should put feet on people. If you want to help you could add something about the feet in the regular prompt.
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 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)
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
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)
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.
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!
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.
@@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 👍
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!
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.
Actually something I have on my list. 👍
😢ס😮בב😮😮את את 😅😮😅😮סדק😊😅😊😅😅😊😅😅😅😅😊😅😅
Thanks, great content.
Welcome.
I´d love ro see a tutorial about how to do image for fashion advertising with beautiful places, beautiful models.
This is great. Could use inpaint with a lora to replace a face?
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.
Muchas gracias!!
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. ruclips.net/video/rMQQx6LLGSo/видео.html
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! ❤
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.
Awesome video!!!! It will be great if you make a video creating AI Influencers
Noted!
thanks
You're welcome!
Thank you, what is the best setup to get realistic image?
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.
hello sir, i downloaded fooocus with the latest version but the ouput is always error
What are you getting for an error in the CMD window?
I had that too, then I found out my computer apparently doesn't have a beefy enough graphics card.
Thanks. Can't I use image prompt(cpds,faceswap,pyracanny) and inpaint at the same time on foocus?
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?
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.
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 !
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: ruclips.net/video/zJ2LOGDqZeQ/видео.html
There is also LORAs for better eyes, faces, expressions, and hands to get better results off the start.
Yes but I have not found those to work very well. Especially the hands.
can you do a video about adding new people to a real image? would love that!
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. 👍
👍👍👍👍
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?
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.
very moist
Can you please make a tutorial for fixing mutated hands with Fooocus?
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.
@@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.
what are your specs u keep mentioning its not great and thank you i have learned so much from you
At the time was a 3070 with 8gb vram.
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.
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.
A video that goes into more depth would be great
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.
The problems I'm having is the white halo around the subject background
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.
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 ruclips.net/video/YODdFMlZz2Q/видео.html
@@KLEEBZTECH Thanks for replying and for the link. I"ll be reviewing it today.
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?
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.
Is there a best checkpoint for inpainting?
Should work fine with any.
@@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.
Correct. You can use others as a refiner. But Fooocus is designed for SDXL. @@akuma2124
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
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.
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
Yes usually. But I am not a lawyer. 😀 There is still a lot of legal things to be worked out with them.
How does this method differ from the new Enhance check box and Enhance tab they added?
Inpainting is still its own thing. The enhance feature makes use of inpainting to automatically enhance the images. Inpainting the regular way is going to usually be the better option but using the enhance can reduce the need sometimes in my opinion. But the way I do images I rarely use enhance.
@@KLEEBZTECH If I have an image that is missing feet at the end of the legs, would inpainting help with that? I tried masking the area where the feet should be, but it's adding weird feet with completely different lighting...
Yes that would be the way. You want to make sure using the default inpainting and not one of the other options usually. And keep your prompt for the full image since it is going to generate based on that. It sounds like you may be using one of the other inpainting options.
@@KLEEBZTECH I was using the modify option so that I could input an additional prompt like "add feet" but wasn't sure if that was the best way.
Not usually. And if you do use the modify you do not want the full prompt left since it uses that as well for that small area. Just use the default and usually that should work since it usually should put feet on people. If you want to help you could add something about the feet in the regular prompt.
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?
For something like that I find doing the whole face works better.
Can also check off the developer debug mode and in the inpaint section adjust the denoise strength to fine tune things.
@@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)
@@KLEEBZTECH i'll try with this, thanks!!!
Another possible idea is to use FaceSwap with inpainting to redo the face...
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
I am going to try it and see. But having a hard time getting any women with earrings... lol.
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)
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.
nice if you get a chance shoot a video, i do so much better with visuals! @@KLEEBZTECH
your tuts are awesome thanks!
Somthing is borked with the new focus model update, faces come out with the same stupid half smile and dont want todo different expressions.
Checkpoint models were recently updated but you can use the previous ones.
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!
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.
Count how many times you say "actually" in this video.
Actually it is about once per minute. 😉
@@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 👍
😂 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. 👍
thanks
You're welcome!