Stable Diffusion - Background Replacement with Fooocus Inpainting

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

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

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

    Your tutorials are just a treasure trove, thanx!

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

      You are very welcome and thanks for the complement.

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

    The best Fooocus tutorials! Thank you Sir!

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

      You're very welcome!

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

    thank you for your videos, I am struggling removing the blur in background photos I generate or image prompt. How to do that? Thanks again!

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

    Wondeful video. Thanks

  • @RPGs
    @RPGs 11 หลายเดือนก่อน +1

    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.

  • @SprintBlaze.
    @SprintBlaze. 5 หลายเดือนก่อน +1

    thank you very much sir..❤❤

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

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

    • @KLEEBZTECH
      @KLEEBZTECH  10 หลายเดือนก่อน +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 10 หลายเดือนก่อน +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

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

    When you generate an image and you like the background, do you know if it's possible to use that exact same background in an other generation image? like a seed of the background? Thanks!

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

      You could try using the same seed but not 100% sure that would work since other aspects will have an impact. I have not actually tried to see if that would work.

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

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

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

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

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

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

  • @easymad1918
    @easymad1918 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน

      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.

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

    Hi, I would like to create images where the background remains sharp and not blurry.
    I've tried several settings but still can't achieve the desired effect.
    Can you help me choose the correct settings to keep the background clean?

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

    I want to make white not appear in the image. Is there a way to do that?

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

    I have a question: how can I create a high resolution background in images with a character? It tends to always give blurry backgrounds. The best method I found is to create the image of the background I'd like - maybe using image prompt as starting point if I have a similar location I'd like to mostly reproduce - with no character; then "add" the character with inpainting, but I don't know if there is a better / different method to do it...

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

      Most likely you are running into the issue of how Stable Diffusion will often do backgrounds in images of people. You can help that by describing the background for one thing. Also don't mention certain terms like portrait.

  • @ibrahim__alsayed
    @ibrahim__alsayed 6 หลายเดือนก่อน +1

    Thanks

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

    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  9 หลายเดือนก่อน

      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 8 หลายเดือนก่อน

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

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

    So its like firefly? I am currently editing some photos with my backdrop but not everyone could fit in there, so it just looks weird. So I'd like to get a background of a backdrop similar. So it can sort of extend it really. Is this possible with this? Do i need a certain model? I have seen things for inpaint etc, would i need to download those versions? thanks so much.

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

      I am not 100% what you are asking but are you trying to extend the picture? If so then it sound like you make want to use outpainting. th-cam.com/video/y_XqkTfOv_I/w-d-xo.html

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

      @@KLEEBZTECH Thank you for you quick response. I will have a watch of that video thank you. Yes sorry i was in two minds here. Thinking if I can extend my backdrop or to just use a different background but of a different backdrop, like a studio backdrop etc. I can only image as its just a plain background.

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

    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  9 หลายเดือนก่อน

      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 9 หลายเดือนก่อน

      @@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  9 หลายเดือนก่อน

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

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

      @@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  9 หลายเดือนก่อน

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

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

    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  11 หลายเดือนก่อน

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

    • @rohitanshu
      @rohitanshu 11 หลายเดือนก่อน +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 11 หลายเดือนก่อน

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

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

      @@lilillllii246 I don't. Sorry.

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

    When you do this, and it messes up part of the generated replacement background, how do you fix the error ? I tried painting around the error and generating with the same prompts as the original - it put random unrelated things in there. I tried with zero prompts, it also put random unrelated stuff in there !
    It's not a complicated shape, just deformed section of leg that needs to be replaced with the garden in the background. It's driving me nuts !

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

      For that it is probably best to switch back to regular inpainting and using a prompt you would normally use when doing your inpainting.

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

    👍👍👍👍

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

    how can i do this with A1111?

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

      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.

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

    Random Stormtrooper photobombing...

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

      😂 Yup. One of my desktop backgrounds.

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

    can you put a background thats real or is it better to use photoshop or something

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

      Not really unless you want to generate a person on background. But if replacing a background then yes you would want to do that with traditional methods.

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

    How to delete fooocus history log?

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

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

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

      what sussy things did you do? 👀

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

      concerned

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

      sus

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

    Yo!
    There is nothing wrong with your video, but it is missing a detail that many people ask about. I wonder too. I have pictures from inside my house and I have created my own characters. How do I make these characters sit or stand in the pictures in my house? Writing prompts doesn't work well as it doesn't make my characters look right and the backgrounds don't match the interior of my house. So how do I use two images, one of, for example, my kitchen and another image of, for example, Mickey Mouse and now I want to get Mickey into the background image of my kitchen?

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

      @@Alprosen you can use your original images within inpainting but they're not always going to match. Probably the only easy way is to create Loras for the characters and use those while inpainting.

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

      @@KLEEBZTECH
      Thanks for the tip. Why didn't I think of that before? That works perfectly.
      Cheers!

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

    watch study of war please