Тёмный

Stable Diffusion - FaceSwap and Consistent Character Tips - Part 1 

Kleebz Tech AI
Подписаться 13 тыс.
Просмотров 22 тыс.
50% 1

Master Fooocus and Stable Diffusion for Creative Image Generation! 🎨 In this Stable Diffusion video I go over some tips on consistent character creation and how to use FaceSwap and get better results. #Fooocus #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.
I am running on an i5 32GB RAM Nvidia 3070 8GB VRAM
If you find the video useful and would like to tip, RU-vid does have the Super Thanks option. Those are greatly appreciated so I can have my coffee!!
☕ BUY ME A COFFEE: ko-fi.com/kleebztech
Also I am a verified creator with Brave and do accept BAT for users of the Brave browser.
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...
Background Replacement with Fooocus: • Stable Diffusion - Bac...
Fooocus Tips and Tricks (and AI Hands) • Overlooked Fooocus Tip...
Stable Diffusion - Styles in Fooocus - How do they work?: • Stable Diffusion - Sty...
00:00 Intro
00:43 Consistent Character Tips
05:15 FaceSwap
15:00 Inpainting with FaceSwap
19:00 FaceSwap with Styles
20:45 FaceSwap with Anime Model

Наука

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 104   
@KLEEBZTECH
@KLEEBZTECH 4 месяца назад
If you find the video useful and would like to tip you can buy me some electricity for all these image generations. It is greatly appreciated! ko-fi.com/kleebztech
@Bamigaru
@Bamigaru 5 месяцев назад
super good video as always! thanks!
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Thanks again!
@dussio22
@dussio22 5 месяцев назад
pretty good video! very useful tips
@mohanish35
@mohanish35 4 месяца назад
Amazing!! Your videos are God sent
@KLEEBZTECH
@KLEEBZTECH 4 месяца назад
Thank you! Always love to hear that they help someone with ideas.
@LoveisHell85
@LoveisHell85 5 месяцев назад
Very nice. Thank you! I would love to see a full workflow to create constent characters in where the person is not looking at the camera
@aussieexpertenglish5885
@aussieexpertenglish5885 12 дней назад
There is a "character sheet style" (or something like that) amongst the styes. By selecting that and asking in the prompt for the same character from multiple perspectives, a turnaround, etc., you need to have a few goes at it, but it generally produces something okay in the end.
@Isabela-q3d
@Isabela-q3d 5 месяцев назад
Very well done video.
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Thank you very much!
@zraieee
@zraieee 5 месяцев назад
wonderful, thanks
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Welcome!
@asheshsrivastava8921
@asheshsrivastava8921 5 месяцев назад
Hey great video, please also make a video about swapping products/ consistent products
@MeMine-zu1mg
@MeMine-zu1mg 5 месяцев назад
I used a 2x2 grid, I went and had a reference pack i bought of photos of people from all different angles. Yiu viuld just as easily use a video or movie to get several angles of a person. Then I used ComfyUI to create a depth pass for the angles I wanted to use.
@kmc8522
@kmc8522 4 месяца назад
👍👍😍😍
@zoezerbrasilio2419
@zoezerbrasilio2419 5 месяцев назад
Weak variation (subtle) can give you the smile, keep the image reference, mix with variation and it will replace, use the prompt to direct the change, mouth and eyes, I could get other expressions doing the same trick
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Yes in further testing I have been able to get decent results. You do have to lower the weight and stop at a little and it may not look exactly the same but very close.
@wernerblahota6055
@wernerblahota6055 5 месяцев назад
👍👍👍👍
@onlineispections
@onlineispections 5 месяцев назад
HI. Can you make a full body texture video to use the same characters but with full body, like in artflow? Thank you
@nikosmanolopoulos3711
@nikosmanolopoulos3711 5 месяцев назад
Thank you a lot for your help. Could you please make a video for body consistency?
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
If I find a good way I will but I really have not. I do find that using celebrities names like I mention for the face also helps with the body. Although not as well.
@eugenmalatov5470
@eugenmalatov5470 5 месяцев назад
Exactly this is important as well
@eugenmalatov5470
@eugenmalatov5470 5 месяцев назад
@@KLEEBZTECH that would be great! :)
@johannseifert8300
@johannseifert8300 5 месяцев назад
I ran into the Problem, that the face swap messes up my hair. To be specific the orginal has long hair but it always crops some weird hairstyle around the face thats rather short. Any tipps?
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Have you tried masking more or less of the area?
@eugenmalatov5470
@eugenmalatov5470 5 месяцев назад
to be honest when I do the grid the faces are get actually be significantly different. Also in the video, I think the size of the lips is rather different from one picture to the next.
@VakoCavender
@VakoCavender 5 месяцев назад
what if i already have the face made and want to do a grid
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Could try Faceswap to see how it does.
@onlineispections
@onlineispections 5 месяцев назад
HI. How do you get a grid with the same face but different angles (frontal, left profile, right profile, three quarters) to use them to create storyboards with other characters with the mix image prompt and impaint,Because when I use them, they always look into the camera, they're all frontal, okay?
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
I have not found a great way yet. You can also try terms like character sheet.
@onlineispections
@onlineispections 5 месяцев назад
@@KLEEBZTECH ok, can you tell me which prompt I need to write to have a grid with four photographs for four different face angles? thank
@zoezerbrasilio2419
@zoezerbrasilio2419 5 месяцев назад
Using a grid reference and putting Canny can do it, but you will have to inpaint each face separetelly for the consistency after the first grid generation
@onlineispections
@onlineispections 5 месяцев назад
@@zoezerbrasilio2419 We know that. With the mix, the question was another: what is the prompt to create a grid with different angles?
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
I recorded this which should help you get different angles. There is not a set prompt but the first part of this video will show how to get them. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MntZa4qLwn8.html@@onlineispections
@StoryFBMizostory
@StoryFBMizostory 5 месяцев назад
I have issue with high ram usage with fooocus, i have 16gb ram and rtx 3060. As soon as i run webui my ram will go to 80, while generating image it will use almost 100% of ram but vram will use about 18%.
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Have you looked over this? Check out the stuff on System Swap. I have 32GB and when I run Fooocus it uses about 9-10 GB of RAM it seems since mine will go up to 16GB total used. github.com/lllyasviel/Fooocus/blob/main/troubleshoot.md
@StoryFBMizostory
@StoryFBMizostory 5 месяцев назад
@@KLEEBZTECH already checked it but it doesnt seems to work, on my system how much does your vram memory goes up. For mw it looks like my ram do all the works and vram do a little work, since vram usage is about 20-30% only
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Yeah mine uses 100% of my VRAM when generating. I assume you have looked at the CMD window to see if anything in there that might give you a clue? Any errors?
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Is this a new download of Fooocus or something you may have made some changes to settings? Because another thing to try is a fresh download and see if it still does it. I have multiple instances of Fooocus downloaded myself since I do tend to mess around with things.
@StoryFBMizostory
@StoryFBMizostory 5 месяцев назад
@@KLEEBZTECH i dnt change anything, i just dnt install on my c drive. I will check cmd if there is some erro or code not
@furchidc7249
@furchidc7249 4 месяца назад
Amazing video. Just a question. When i use image prompt faceswap with inpaint together fooocus gives me an error. I use fooocus_colab ipynb with google, free version. If I pay 100 will I be able to do it without the error? My PC has a Ryzen 5 5600 and an RX 6650 XT, 16 gb ram 3200, solid disc, etc.
@KLEEBZTECH
@KLEEBZTECH 4 месяца назад
I would suggest looking on the GitHub discussions for fooocus. I haven't used it yet on colab. I just never had great luck with anything on there when I've used things in the past. I think I saw a discussion there or on Reddit about that very subject recently.
@furchidc7249
@furchidc7249 4 месяца назад
@@KLEEBZTECH There is another way to use fooocus without google colab? Thanks for the answer
@furchidc7249
@furchidc7249 4 месяца назад
@@KLEEBZTECH Another question, my graphic card isnt Nvidia, can I use it anyways or it has to be Nvidia?
@KLEEBZTECH
@KLEEBZTECH 4 месяца назад
rundiffusion.com and diffusionhub.io are places that you can run Fooocus online but I am not familiar with them. I do know some people use the paid Colab with good results but I really don't know a ton on that. You can run it without Nvidia but I have not tested to see how big of a performance difference there is but from reading on the Github page it will likely be about 3x slower than with Nvidia. There are instructions on the main GitHub page when you scroll down explaining what to do for AMD GPUs. Looks like you just need to edit the run.bat file. I actually just got access to an AMD card but have not been motivated to swap it out and try it yet to compare.
@furchidc7249
@furchidc7249 4 месяца назад
@@KLEEBZTECH Thanks!
@hikmetozanustundag8036
@hikmetozanustundag8036 4 месяца назад
Which is the best base model we can use for face swap? Can we achieve better results by combining two base models at the same time?
@KLEEBZTECH
@KLEEBZTECH 4 месяца назад
I have not done enough testing to determine if one is better than another when it comes to the checkpoints.
@GES1985
@GES1985 3 месяца назад
I might have figured it out. Although, still semi time consuming, but with great results.. Go create a MetaHuman, for Unreal Engine 5. Problem solved.
@zinheader6882
@zinheader6882 5 месяцев назад
faceswap doesn't work if the image source is external, not an image generated from fooocus..?
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
It can but it might not work as well. Depends on the source image.
@user-cc7ts8eu9p
@user-cc7ts8eu9p 5 месяцев назад
Can't seem to get an actual grid. I gave the same prompt
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Check out the second video. I have more tips. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MntZa4qLwn8.html
@user87546
@user87546 5 месяцев назад
1:36 It still don't get clear to me what the seed really does... I guess keeping the same it goes to the log file and takes the same config as the other? It's like an ID? But what happens if you also put an input image? My principal issue e.g. is when I try to keep my face on images with other people and make an upscale (I already tried mixing upscale with face swap in debug options). I had one result that it seemed a little bit to my face but I can't keep the same face :(. Now I'm downloading Fooocus MRE to try image-2-image and more...
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
The "seed" in AI image generation acts as an initial starting point for the algorithm to generate images. Think of it as a unique key that determines the randomness of the output. It is just a number used to create the randomness. The same seed is useful for testing but otherwise random is usually what you want.
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
And for faceswap I find .9 or above and weight of .9 of above work better.
@user87546
@user87546 5 месяцев назад
I just tried upscale fast 2x and worked! Using the same seed. But some errors in the eyes (like anime styled). I will try fixing it with inpaint...@@KLEEBZTECH
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Yes fast upscale will not change the image since it is more of a traditional upscale.
@Craftedcuts.
@Craftedcuts. 21 день назад
what specs of computer or laptop do you have?
@KLEEBZTECH
@KLEEBZTECH 21 день назад
This video it was i5 32GB RAM and 3070 8GB VRAM. I am currently using a 4070 with 12GB VRAM.
@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?
@KLEEBZTECH
@KLEEBZTECH Месяц назад
I just did a video yesterday using that option without issue: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-BbKeDEQ7uik.html
@KLEEBZTECH
@KLEEBZTECH Месяц назад
Have you accidentally adjusted the denoising strength down to a low number?
@alexa.1995
@alexa.1995 Месяц назад
@@KLEEBZTECH I'm working with Colab Pro and Fooocus version 2.4.3, I've just tested it again. I left all the settings on standard, added a face to "Image Prompt" and switched to "FaceSwap". In the "Inpaint or Outpaint" tab I added another image and clicked on "Improve Detail" and clicked on "detailed face". Now I draw a mask over the face. In the Advanced tab I activated "Developer Debug Mode" and checked "Mixing Image Prompt and Inpaint". No other settings were changed. I feel like the result has been worse for about 3 weeks than it was before. It could have been that someone knew something about a change in the function. The "Mixing Image Prompt and Vary/Upscale" function still works very well. Your videos are really well done!
@KLEEBZTECH
@KLEEBZTECH Месяц назад
So it sounds like you are saying the Faceswap doesn't seem to work well lately and not that the whole using inpaint with image prompts function doesn't work. I don't think anything has changed when it comes to that but I don't read all the code changes.
@alexa.1995
@alexa.1995 Месяц назад
@@KLEEBZTECH Yes, exactly, I'm talking about the FaceSwap function. That's why I left a comment under this video. Sorry if I expressed myself in a confusing way.
@Poppinthepagne
@Poppinthepagne 5 месяцев назад
What seed actually mean? Why u wanna keep it stable and when
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
The "seed" in AI image generation acts as an initial starting point for the algorithm to generate images. Think of it as a unique key that determines the randomness of the output. Using the same seed with the same generation parameters will produce the exact same image every time.
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Same seed I find gives more similar face I find in this case.
@Craftedcuts.
@Craftedcuts. 21 день назад
how fast did you generate this image for 3070 8GB VRAM?
@KLEEBZTECH
@KLEEBZTECH 21 день назад
With a 3070 I could do 60 steps quality in about 35 seconds or so. I am currently using a 4070 12GB Vram and can do in about 20 seconds.
@Craftedcuts.
@Craftedcuts. 21 день назад
@@KLEEBZTECH "What brand or model of laptop or computer are you using for this?"
@KLEEBZTECH
@KLEEBZTECH 21 день назад
It is a custom built rig. MSI motherboard and I don't recall most of the other parts at the moment.
@Craftedcuts.
@Craftedcuts. 21 день назад
@@KLEEBZTECH Is the video card the most important component?
@KLEEBZTECH
@KLEEBZTECH 21 день назад
For AI yes it is.
@zastenchivo
@zastenchivo 5 месяцев назад
how do i ask AI to remove something, sometimes he generates bunch of objects that were not in the promt, how to remove them? 🥺
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
Inpainting can be used for that. Depending on what you are trying to remove it can be a little hit or miss. You can't really just tell it to remove something though and need it to generate the area again. You can alter the prompts when doing it to help remove the items. I might make a separate video on that sort of thing soon. I do have videos that cover different aspects of inpainting but not specifically that.
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
To give an example, I created an image of a woman having coffee and it put two cups in front of her. I masked out one with inpainting to regenerate that area. Of course it usually added another cup in the same place. So I change the prompt to say empty table and with a few attempts it removed the item and generated an empty area in that spot.
@zastenchivo
@zastenchivo 5 месяцев назад
@@KLEEBZTECH got it, thanks a lot!
@anyoneanything803
@anyoneanything803 Месяц назад
Bro i m having ram issue, is 16gb not enough??
@KLEEBZTECH
@KLEEBZTECH Месяц назад
Depends on what you have for GPU.
@KLEEBZTECH
@KLEEBZTECH Месяц назад
Have you checked here: github.com/lllyasviel/Fooocus/blob/main/troubleshoot.md
@anyoneanything803
@anyoneanything803 Месяц назад
@@KLEEBZTECH BRO I GOT RTX 3050 4GB
@KLEEBZTECH
@KLEEBZTECH Месяц назад
With only 4GB VRAM you will want to make sure you have things like the system swap set up correctly. Check the troubleshooting guide I linked to.
@anyoneanything803
@anyoneanything803 Месяц назад
@@KLEEBZTECH sure thanks
@smuki196
@smuki196 5 месяцев назад
I believe I've seen that if you use the inpainting faceswap you need to select "improve details" not "inpaint/outpaint". To me it seems that it creates more similar results. The "inpaint/outpaint" even produced garbage.
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
I get much worse results that way in all the testing I did. But I am always looking for a better way. When I would do it that way it did not blend things very well and was always obvious that the face was swapped.
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
But you got me looking into better ways of doing it. I did find that if you use the vary subtle after, it blends things in decently and maintains the look for the most part...
@smuki196
@smuki196 5 месяцев назад
@@KLEEBZTECH good point, I'll try that, too
@constantingata5964
@constantingata5964 Месяц назад
Generated a girls face with tensor art that i like it. Got that image and uploaded in image prompt and face swapped.any image generated by a highly detailed prompt will only give me the same expression and pose .sadly
@slaznum1
@slaznum1 5 месяцев назад
ANOTHER WAY.....is train a LoRa. But more work for sure....
@KLEEBZTECH
@KLEEBZTECH 5 месяцев назад
That is for sure a good way if you can. Although I have one trained and don't get the best results. Of course the way it was trained has a big part of that. I have found a LoRA and FaceSwap can be a good mix.
@constantingata5964
@constantingata5964 Месяц назад
@@KLEEBZTECHis it expensive to train a lora suited for sdxl .juggernaut v8 rundiffusion ?
Далее
БАТЯ И СОСЕД😂#shorts
00:59
Просмотров 2,2 млн
Fooocus Face Swap With Ease!
5:28
Просмотров 162 тыс.
BIG Update - Midjourney Will Never Be the Same Again
12:17
How To Fix Hands In Fooocus (SDXL Stable Diffusion)
13:02
Fooocus new Feature - Playground 2.5
16:04
Просмотров 13 тыс.