Stable Diffusion - Background Replacement with Fooocus Inpainting
ฝัง
- เผยแพร่เมื่อ 2 มิ.ย. 2024
- Master Fooocus and Stable Diffusion for Creative Image Generation! 🎨 In this Stable Diffusion tutorial learn how to replace and change the background of images using the inpainting feature in Fooocus. 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, TH-cam 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...
Inpainting with Fooocus - Don't Regenerate, Fix!: • Stable Diffusion - Inp...
00:00 Intro
00:45 Introduction to Background Replacement
03:55 Inpaint Denoising Strength
08:36 Using a Real Photo Example - วิทยาศาสตร์และเทคโนโลยี
Your tutorials are just a treasure trove, thanx!
You are very welcome and thanks for the complement.
Wondeful video. Thanks
The best Fooocus tutorials! Thank you Sir!
You're very welcome!
Wow... No kidding. I did not know how the denoising strength effected the generation...
You can also mask the whole image you want to keep. then click invert mask. and generate that way. just have to figure out the tweaks for the edges. and after you invert mask. if you turn the Mask Erode or Dilate down to a -5 its pretty much perfect.
Hello Sir, you could probably use the invert mask , select object and change the background, this way should caffect less the subject
I find it depends on the image. But really it comes down to taking your time masking and if you want Fooocus to fill in the edges of the background or the subject.
👍👍👍👍
Hey these are amazing tuts. Would love to know your pc config. Thanks :)
Thanks! i5-10600KF, 32GB RAM and NVIDIA 3070 is what I am using at the moment.
Hey Rodney, I have a figure on a white background, or green for example and I want to replace it with a specific image background...like a greenscreen effectively keying out the background on the figure. I'm new to fooocus. Any ideas?
If you were trying to replace the background with a generated background you could do that. But for what you're trying to do a traditional image editing software would be better. No real way of doing that in fooocus.
@@KLEEBZTECHHmmm I could img2img the background right? so that the lighting on the figure would be better than any compositing in Photoshop
Random Stormtrooper photobombing...
😂 Yup. One of my desktop backgrounds.
Hi, do you know if it's possible to take a picture at random, one of me for example (made with the phone) and just improve the overall resolution without changing anything else?
Yes and no. You can upscale with many things including Fooocus using the fast upscale and it will not change the picture but it also will not really add much for details. But the other two options in Fooocus would change the picture since it does.
@@KLEEBZTECH do you have any idea why all of a sudden Fooocus crashes with each attempt of generating a pic? It worked just fine until it didn't. I reinstalled it and nothing changed. My pc seems to not ventilate as much as it did when the app worked. It's from the app or the PC? What do u think?
Did you do a complete reboot? Any error messages in the CMD window?
@@KLEEBZTECH no errors, no nothing, it just crashes. Imagine it like this, when Fooocus worked, my pc was sounding like a plane engine and now he is calm; it's like he doesn't even struggle anymore. The only things I did was to reinstall Fooocus and clean windows C. I thought that something might be broken with the GPU or CPU idk, but I opened a game and it works just fine; only Fooocus is problematic
The CMD window crashes and closes? Or whole computer? I ask just to make sure it is not just stuck doing something.
Is img batch processing available? More like for a 24fps image processing
If you are talking about batch processing with the image prompts, the last I knew there were no plans for that yet with the UI. But not sure if something that could be done with the Fooocus APIs. I have not really explored much in that case myself.
@@KLEEBZTECH thank you so much bro , ur explanation and videos are so nice and easily understanding one , once again thank you so much for the time effort and replying
Thanks. how can I change the background to a photo background file of my choice instead of changing the background with a prompt?
Not something that Fooocus could do that I can think of....
People do that kind of things with image editors like PS, Affinity, GIMP etc.
But if you're not confident in those, and want to use AI to better blend your subject with the background, roughly paste your subject on your desired background using any external image editor, then use img2img/inpainting with a low denoising strength. That should help you make it believable.
@@rohitanshu Thanks, do you have a video of this?
@@lilillllii246 I don't. Sorry.
how can i do this with A1111?
Honestly I don't know what the best way would be. I use A1111 but for most things I use Fooocus. I just find it easier to have them both installed and use what I know best and what is easiest.
How to delete fooocus history log?
You can delete the log.html file in the output folders manually.
what sussy things did you do? 👀
concerned
sus