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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 38

  • @maxgreatcat7138
    @maxgreatcat7138 หลายเดือนก่อน +2

    Your tutorials are just a treasure trove, thanx!

    • @KLEEBZTECH
      @KLEEBZTECH  หลายเดือนก่อน

      You are very welcome and thanks for the complement.

  • @LoveisHell85
    @LoveisHell85 3 หลายเดือนก่อน +1

    Wondeful video. Thanks

  • @peterlundqvist5069
    @peterlundqvist5069 4 หลายเดือนก่อน +3

    The best Fooocus tutorials! Thank you Sir!

    • @KLEEBZTECH
      @KLEEBZTECH  4 หลายเดือนก่อน

      You're very welcome!

  • @Dalin_B
    @Dalin_B 4 หลายเดือนก่อน +2

    Wow... No kidding. I did not know how the denoising strength effected the generation...

  • @RPGs
    @RPGs 4 หลายเดือนก่อน

    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.

  • @easymad1918
    @easymad1918 3 หลายเดือนก่อน +1

    Hello Sir, you could probably use the invert mask , select object and change the background, this way should caffect less the subject

    • @KLEEBZTECH
      @KLEEBZTECH  3 หลายเดือนก่อน

      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.

  • @wernerblahota6055
    @wernerblahota6055 3 หลายเดือนก่อน +1

    👍👍👍👍

  • @onlyfamss
    @onlyfamss 4 หลายเดือนก่อน +1

    Hey these are amazing tuts. Would love to know your pc config. Thanks :)

    • @KLEEBZTECH
      @KLEEBZTECH  4 หลายเดือนก่อน +1

      Thanks! i5-10600KF, 32GB RAM and NVIDIA 3070 is what I am using at the moment.

  • @nikgrid
    @nikgrid 2 หลายเดือนก่อน

    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?

    • @KLEEBZTECH
      @KLEEBZTECH  2 หลายเดือนก่อน

      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.

    • @nikgrid
      @nikgrid 2 หลายเดือนก่อน

      @@KLEEBZTECHHmmm I could img2img the background right? so that the lighting on the figure would be better than any compositing in Photoshop

  • @vspolley
    @vspolley 4 หลายเดือนก่อน +3

    Random Stormtrooper photobombing...

    • @KLEEBZTECH
      @KLEEBZTECH  4 หลายเดือนก่อน +1

      😂 Yup. One of my desktop backgrounds.

  • @andreiturcu3256
    @andreiturcu3256 2 หลายเดือนก่อน

    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?

    • @KLEEBZTECH
      @KLEEBZTECH  2 หลายเดือนก่อน

      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.

    • @andreiturcu3256
      @andreiturcu3256 2 หลายเดือนก่อน

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

    • @KLEEBZTECH
      @KLEEBZTECH  2 หลายเดือนก่อน

      Did you do a complete reboot? Any error messages in the CMD window?

    • @andreiturcu3256
      @andreiturcu3256 2 หลายเดือนก่อน

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

    • @KLEEBZTECH
      @KLEEBZTECH  2 หลายเดือนก่อน

      The CMD window crashes and closes? Or whole computer? I ask just to make sure it is not just stuck doing something.

  • @elwinjames
    @elwinjames 4 หลายเดือนก่อน

    Is img batch processing available? More like for a 24fps image processing

    • @KLEEBZTECH
      @KLEEBZTECH  4 หลายเดือนก่อน +1

      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.

    • @elwinjames
      @elwinjames 4 หลายเดือนก่อน +1

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

  • @lilillllii246
    @lilillllii246 4 หลายเดือนก่อน

    Thanks. how can I change the background to a photo background file of my choice instead of changing the background with a prompt?

    • @KLEEBZTECH
      @KLEEBZTECH  4 หลายเดือนก่อน

      Not something that Fooocus could do that I can think of....

    • @rohitanshu
      @rohitanshu 4 หลายเดือนก่อน +3

      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.

    • @lilillllii246
      @lilillllii246 4 หลายเดือนก่อน

      @@rohitanshu Thanks, do you have a video of this?

    • @rohitanshu
      @rohitanshu 4 หลายเดือนก่อน

      @@lilillllii246 I don't. Sorry.

  • @At0max
    @At0max 2 หลายเดือนก่อน

    how can i do this with A1111?

    • @KLEEBZTECH
      @KLEEBZTECH  2 หลายเดือนก่อน

      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.

  • @user-ez8zn2ee4h
    @user-ez8zn2ee4h 3 หลายเดือนก่อน

    How to delete fooocus history log?

    • @KLEEBZTECH
      @KLEEBZTECH  3 หลายเดือนก่อน

      You can delete the log.html file in the output folders manually.

    • @Bamigaru
      @Bamigaru 3 หลายเดือนก่อน +2

      what sussy things did you do? 👀

    • @mumdidntraisenofool
      @mumdidntraisenofool 2 หลายเดือนก่อน +1

      concerned

    • @Spartinus
      @Spartinus 2 หลายเดือนก่อน +1

      sus