Fooocus UI - How to face swap - Stable Diffusion

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 มิ.ย. 2024
  • UPDATE
    ------------------------------------
    When inpainting a face, make sure to change the inpaint "Method" dropdown to "Improve detail (face, hand, eyes, etc.)
    ------------------------------------
    How to face swap in Fooocus UI for Stable Diffusion.
    Two methods for face swapping:
    - Inpaint - change the face and don't alter the original image
    - Variation - change the face and subtly alter the original image

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

  • @DrDaab
    @DrDaab 5 หลายเดือนก่อน +3

    Wonderful, just what was needed. A1111 v 1.7 has messed up so many things from the prior 1.6 version when running in Stability Matrix, that I'm ready to give up on it, now that you have shown how to get things working in Fooocus, which was already far better for In and Outpainting. Thanks a Lot ! ! ! !

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

    Perfect! thanks... this is exactly what I was looking for!

  • @deltapulse
    @deltapulse 6 หลายเดือนก่อน +4

    Amazing! Just what I was looking for

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

    thank you! may your channel continue to grow

  • @user-kk3mc3kf2f
    @user-kk3mc3kf2f 6 หลายเดือนก่อน

    Thank you very much for letting me know about this feature.

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

    Thanx bro... Looking forward to more Fooocus vids

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

    This is Exactly what I was looking for. Thank You! Subbed and thumbs up..

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

    the best solution so far!

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

    thank you for the 2nd tip, working well

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

    nice work - thank you

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

    thank you, this is very useful!

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

    Great video, thanks!

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

    best guide on face swapping there is

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

      indeed. This man knows how to use this program feature

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

    Nice job

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

    very thank you my friend.

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

    thanks for the vid. more Fooocus UI tutorials pls (like how to run LoRaS and make highly realistic images of people)

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

    Buddy, this was so helpful.
    Exactly what I've been trying to figure.
    Appreciate this brief yet valuable tutorial.

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

    more vieos please!!! LORAS NOW LOVE U man dammm

  • @naveenkumar.t9830
    @naveenkumar.t9830 6 หลายเดือนก่อน +4

    Bro plzz try to upload more video about fooocus and comfyui

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

    thank you very much! your second variety works and the rest of focus too. at the inpaint variety i get errors..do you have any clue why?

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

    Aaaaah shit why haven’t I known about this thx a lot

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

    Thank you so much for this. It's mind blowing. Quick question for you...
    I'm trying to generate an image of me holding my company's product, which is a tea box with the brand and logo on it.
    How do I generate an image such an image?
    I know I can use the face swap for my face but for the object, I really have no clue how to do it. I know I can use the image prompt for the product but the images generated won't be have my exact product.
    Appreciate your help and thank you so much again!

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

    Will check this out later. This might be the missing link

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

    works much better with "variation"! Ah, there's no need to post any prompts :-D

  • @aidansegura935
    @aidansegura935 6 หลายเดือนก่อน +3

    This is Awesome! very very helpful, does this work for other objects as well? I'm trying to add inanimate objects to an already established image, any tips?

    • @k5c5
      @k5c5  6 หลายเดือนก่อน +3

      Good question! I imagine not using the advanced FaceSwap checkbox in the Image prompt. Crop the image prompt down to just the object. Then I'd say the inpaint will be a good option.
      Alternatively using the variation with a descriptive text prompt of the scene, including the name of the object in the image prompt.

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

    Interesting to know thanks! Does it matter which model to use?

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

      I believe different models can "favour" specific faces if they're heavily trained

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

    what would be the follow up that you mention that we can fix it ? :-)

  • @Desleiden
    @Desleiden 6 หลายเดือนก่อน +3

    Nice video!!
    Could you tell me what "Stop At" does please?

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

      I probably should have explained in the video :D
      The stop at level is the percentage of how "complete" the face swap is before it stops. 1 = 100%, 0.9 = 9% etc.
      A lower stop at should in theory be a lower likeness, but it's kinda hard to know exactly and different per face/reference image.
      Try playing with different levels, 0.9 will be a good default.

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

    How to use variation when there are multiple face in same pic?
    Can't we use variation to alter only face of one subject?

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

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

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

    HI! Great tutorial. I'm using it, but both by changing PC and internet connection, it remains slow in creation (even though I put speed) but the most annoying thing is that it often gives an ERROR, when creating the prompt, a red warning. Can you help me understand why?

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

    Super video! But I have one question! What does the Stop At do exactly? I can't find any documentation about it!

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

      Commented this elsewhere, I probably should have explained in the video :,)
      "The stop at level is the percentage of how "complete" the face swap is before it stops. 1 = 100%, 0.9 = 9% etc.
      A lower stop at should in theory be a lower likeness, but it's kinda hard to know exactly and different per face/reference image.
      Try playing with different levels, 0.9 will be a good default."

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

      @@k5c5 I see! It makes sense after the explanation! Thanks for clarifying that! ☺️

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

    Is it possible to save settings in Foocus when we close it? Saves a lot of time and makes the model more consistent.

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

    With face swap, what does "stop at" do, and for "weight," should you go closer to 1 or 0 to get it to reflect the face reference more?

  • @CauseOfDeath27
    @CauseOfDeath27 6 หลายเดือนก่อน +7

    nice video but, this isn't working for me. It's still an obviously different face then my reference face image. I wish they made it easy to just reference the face exactly as the referenced image...I wouldn't think it would be hard to do but 🤷‍♂

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

    hm which model and which style do you use to get this results, my replace faced doesnt look even close to the source image

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

      I'm just using Stable Diffusion XL. Which method are you trying? If it's wildly wrong I sometimes try a second pass, using the result of the first try as the output.
      Maybe also try increasing the stop at, to attempt to get a more complete face.

  • @MartavanEckDesigns
    @MartavanEckDesigns 18 วันที่ผ่านมา

    Thank you. YOu sound like Elon Musk :)

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

    is this fooocus or foocus MRE with all these extra options???

  • @alexa.1995
    @alexa.1995 ชั่วโมงที่ผ่านมา

    Hi, is it possible that something has changed since the last update? I've noticed that "Mixing Image Prompt and Inpaint" no longer works. The result is largely the same as the original image. Does anyone know more?

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

    What "Style" must be used for face swap?

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

    What GPU do u have please? It always takes me like 5 minutes to make an image

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

      I run it in Google colab, my intel Mac isn't up to the job!

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

    How to get side view of the face or change expressions?

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

    Do you have a tutorial how to install thaty program and how to use it ?

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

    Thanks for the video! For me it doesn't work very well. Can you give me some tips? I have problems in obtaining a credible face swap

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

      Which method did you try? I find that the variation provides a more credible overall image, but the inpaint doesn't alter the rest of the image.
      Is your reference face cropped? I found that providing a tighter crop on there helped.
      You can also do a second run, using the first pass as your reference image and keeping the same face swap.

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

      I have problems with both methods, and I also tried to use a face swap and a prompt genration in the same time. For me both methods gave mediocre results and I don't know what I'm doing wrong@@k5c5

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

      @@k5c5 instead of using pre-croped faces, fooocus also allows for the selection of the promted images' area (i.e. the face) in the image promt directly via the pen button.

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

      Yeah exactly, you're able to crop directly inside of Fooocus!

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

    tried this 3 times today on a a project and have to say each time it kicked out a image, was nothing like the faceswap person?

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

    Can you explain what the "Stop At" value means?

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

      Commented this elsewhere, I probably should have explained in the video :,)
      "The stop at level is the percentage of how "complete" the face swap is before it stops. 1 = 100%, 0.9 = 9% etc.
      A lower stop at should in theory be a lower likeness, but it's kinda hard to know exactly and different per face/reference image.
      Try playing with different levels, 0.9 will be a good default."

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

    Having no connection error using fooocus
    Is there a way to fix that ?
    Im using 1660ti tho, would really appreciate the help

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

    Why im always having "error" while using inpaint/image prompt mix way ? Always, while using focus colab on web. Is there a reason ?

  • @user-mb2bv9pj1z
    @user-mb2bv9pj1z 6 หลายเดือนก่อน

    @k5c5 Hello Friend. Perhaps you can tell me when I click “mixing image prompt and inpaint” And then I run the generation, for a while I see something happening, and then it gives several errors, they need to start Colab again.

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

      I tried to add an update comment to the description, in inpaint click on improve detail from the dropdown

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

    Thanks but it gives me error when I try it, some hints?

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

    I want a tip for a 100% face swap, not a mixture of inpaint and input

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

    Is it better than Roop?

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

    Any suggestion for a good value of "stop at" and "weight"?

    • @hmm-m
      @hmm-m 4 หลายเดือนก่อน

      For me 1 and 1 works best in "Vary (subtle)". Inpaint doesn't work well for me, faces don't get cloned. They are different. I don't know which model he's using etc.

    • @Designing-hc5pz
      @Designing-hc5pz 2 หลายเดือนก่อน

      @@hmm-m it is not about model just put the vaues at 1 & 1.2 on face swap and ur work done

  • @BabuMosae-wt7oc
    @BabuMosae-wt7oc 4 หลายเดือนก่อน

    how to install controlnet in fooocus and use in Colab?

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

    Hello, i have a problema. Whem i do a faceswap i have a problema of conection, any tip?

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

    How can I generate image like Aitana lopez
    Realistic, lighting, background,deeply realistic image

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

    I don't know why but when using inpaint and faceswap, the generation process change completely the face at the half (step 30), Any idea :/ ?

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

      Same here

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

      Fixed it, in inpaint click on improve detail, I think the video skips this part

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

      @@matiasdufey8385 yeah nice spot - I tried to add it as an update to the video comment but can't edit the original!

    • @hmm-m
      @hmm-m 4 หลายเดือนก่อน

      @@matiasdufey8385 Then it doesn't clone the face from image input... For me only Vary (subtle) works best with face cloning.

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

    Hi, i try the 2 methods but when i click on generate nothing work 🤔

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

    What is the thing in promt window next to the generate button ?

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

      Green rotating arrow. What is it ?

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

    I can't get the inpaint method to work. It works up until about step 30, then every time it completely flips to a totally random face. It's as if it's ignoring the Stop At for the face swap setting.

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

      I tried to add an update comment to the description, in inpaint click on improve detail from the dropdown

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

      @@k5c5 That did the trick, thank you!

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

    can you help me when i generate anything it starts to lag first then creates 1 images in minutes!

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

      What is your setup? Are you running it locally or in Google Colab? The Fooocus Github issues are a good place to put things like this if it's an issue with a specific machine!

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

      @@k5c5 idk i just saw a video how to download it so i guess it's running locally not in google colab

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

    My program stops (^C appears in the console) when I'm running the inpaint method. Any ideas?

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

      For me on the free Google colab version it crashes more frequently. With the paid version I can run it ok. Have you tried running it locally?

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

      I managed to fix this in my colab so it doesn't keep happening. Check out the colab linked here, the second code block installs some xtra fooocus dependency that solves the error: th-cam.com/video/E37Tdcx2DyA/w-d-xo.html

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

    I keep getting the same womans face, half way through the generation the fuzzy preview looks like it is heading towards the very male mustached face I put as the face-swap and then at some point it just snaps over to a female face, the same female face every single time

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

      Which model are you using?

    • @MH-kj9hh
      @MH-kj9hh 6 หลายเดือนก่อน +2

      @@k5c5 the one that gets automatically downloaded when you install Fooocus. I've actually gotten it to do some non-female faces but they don't look very much like the reference photo. What's annoying is half way through while watching the preview it looks at times like it's getting verrryyy close to the reference but around step 20 out of 30 or 40 out of 60 it's starts deviating away

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

      Fixed it, in inpaint click on improve detail, I think the video skips this part

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

    Where is the link to open it

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

    But the lighting not blended that well.

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

    Неа, не работает, лицо непохоже, только общий типаж передаётся - it is not working

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

    If you take a face from a photo and paste it into the same photo, then you will no longer recognize the person. So your method is not working

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

    you kinda sound like elon musk

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

    Second was much better, the first one basically did nothing, not even the eye color, cmon man ^^

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

    cant get this stupid f-ing thing to work. cant get it to work in stable defusion automattic 1111 too i mean seriously ...can do eveything else but this crap