Stable Diffusion - Real Product Placement into AI - Fooocus
Master Fooocus and Stable Diffusion for Creative Image Generation! 🎨 In this Stable Diffusion video I will show you how to add images of real products and objects into your AI generations. #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, KZread does have the Super Thanks option. Those are greatly appreciated so I can have my coffee!!
☕ BUY ME A COFFEE: ko-fi.com/klee...
Also I am a verified creator with Brave and do accept BAT for users of the Brave browser.
Download Fooocus: github.com/lll...
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...
FaceSwap and Consistent Character TipsPart 1: • Stable Diffusion - Fac...
FaceSwap and Consistent Character Tips - Part 2: • Stable Diffusion - Fac...
00:00 Intro
01:20 How to Create A Mask
03:05 Add Products to AI Images
Пікірлер: 135
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
I didn't even know it was possible to add a mask in fooocus.. Awesome tutorial as always, thank you!
@KLEEBZTECH
5 ай бұрын
Lots of hidden gems in Fooocus. 👍
Each video you upload is educational for me, especially about AI.
Buddy. You read my mind everytime you post a video. Appreciate you Rodney!!!
@KLEEBZTECH
5 ай бұрын
Hahaha. Thanks! But I can't even read my own mind most of the time these days.
@MattyMilligan
5 ай бұрын
@@KLEEBZTECH😂😂😂 True, true.
Hello Kleebz, I've discovered a quick way to reach the desired outcome. By masking the can and then navigating to the advanced tab\ Developer Debug Mode checkbox \ inpaint tab select the 'invert mask', you can input the prompt the same as provided in your video to achieve the result. I hope the explanation was clear. thanks
@KLEEBZTECH
5 ай бұрын
For the last part of generating the new woman yes that would work. I do prefer doing it the other way since I was trying to get some of the person to influence the generation and easier for me to see.
Nice job! I didn't know fooocus could do that. This is gold, TY!
@KLEEBZTECH
3 ай бұрын
You might want to check out some of my other videos. I have one on text that is very useful. Even if you don't use it text it does still teach you some techniques.
@neveser
3 ай бұрын
@@KLEEBZTECH I will do that. I actually have seen some work lately with text and I was wondering how it was done. I've seen some of your other videos in the past few months and they've been pretty good. Subbed!
I was looking for exactly that! Thank you very much, friend!
@KLEEBZTECH
4 ай бұрын
No problem!
Awesome, you are the best when it comes to Fooocus,. thanks
@KLEEBZTECH
5 ай бұрын
You are welcome! And thank you for watching. 👍
Some very clever techniques as always, thanks.
@KLEEBZTECH
5 ай бұрын
Very welcome
That's awesome! I was waiting for something like this 😁
@KLEEBZTECH
5 ай бұрын
Yes you have 😁. I was hoping you would see this.
4:48 the closer to the foreground hands & faces are, is the most likely they will be generated smoothly with less issues. that is what i have noticed.
@KLEEBZTECH
5 ай бұрын
Yup.
this is the video that got me to subscribe. Do another one please but using a watch o earrings.
@KLEEBZTECH
5 ай бұрын
I will keep those on my mind for my next attempt. Thanks for the sub! Earrings could be a challenge.
@JavierCamacho
5 ай бұрын
@@KLEEBZTECH I know how it is. I'm stuck on my channel thanks to the lack of subs and youtube doesn't like it when I publish anything other than diy powerwalls.
thank you! Please upload more videos using other products!
@KLEEBZTECH
4 ай бұрын
So far I have not had good luck with some of the ones I have tested like jewelry. But still trying different things.
This is a great manual!
Nice video! Very creative, thanks!
@KLEEBZTECH
5 ай бұрын
Thank you very much!
Love your videos, its simple and have easy to follow Kindly make a video on Photo manipulation in Fooocus
@KLEEBZTECH
5 ай бұрын
When you say photo manipulation what exactly do you mean?
@KLEEBZTECH
5 ай бұрын
I do have this one I recently made. Not sure if that is what you mean. kzread.info/dash/bejne/pIGFs9pvfK-tg9I.html
Oh man thanks!! You're the best
@KLEEBZTECH
5 ай бұрын
Thank you.
You gotta love it.
That helped a lot man, appreciate it!
@KLEEBZTECH
5 ай бұрын
Glad it helped!
Magic 🎉
Awesome, thanks. 👍
@KLEEBZTECH
5 ай бұрын
Welcome!
Thank you very much ❤
A M A Z I N G !
A genius! Thanks
@KLEEBZTECH
5 ай бұрын
Well thank you as well. Although I think I am just borderline genius. 😆
Amazing, thanks for that. I would like to see if it's possible to select the can and tell it to match the colors and the reflection, because they're off
@KLEEBZTECH
5 ай бұрын
Yeah I probably should have picked something that didn't have a reflection. But that would be too easy. It's actually a possibility of using inpainting and lowering the denoise strength.
@KLEEBZTECH
5 ай бұрын
The reflection on the metal look better here? ai.kleebz.com/wp-content/uploads/2024/03/2024-03-14_23-38-53_5537.png
@marcelobaus
5 ай бұрын
@@KLEEBZTECH definitely better, what did you do?
@KLEEBZTECH
5 ай бұрын
I just inpainted the metal parts of the can. @@marcelobaus
@marcelobaus
5 ай бұрын
@@KLEEBZTECH no prompt?
U earn another subscriber Please make more videos for products
@KLEEBZTECH
5 ай бұрын
I do plan on trying other things. 👍
@KLEEBZTECH
5 ай бұрын
And thanks for the sub!
creative🤩
The only thing the fooocus lack is batch upload and being able to use own control net (segmentation)
@KLEEBZTECH
5 ай бұрын
I expect more features to come soon. I use a couple other forks that have more features. Like this one: github.com/mashb1t/Fooocus He has been doing the latest updates to the main one but also his own.
Thanks so much!
@KLEEBZTECH
5 ай бұрын
You're welcome!
nice tips, using fooocus as well and this was really helpful.. U run it locally or you have a good build PC ? I was using digitalOcean but had some issue with machines and now I don't have any other platform.. I did not try the new version of Fooocus yet :(
@KLEEBZTECH
5 ай бұрын
I am running locally with a Nvidia 3070. I happen to be a PC gamer so the video card gets plenty of workouts. Have you tried any other platforms online?
Is it possible to do this with t-shirt models? Nice video man! Thanks
@KLEEBZTECH
4 ай бұрын
You'll be somewhat limited on what you can do but yes you should be able to
Is there a way you could do the same thing but with clothing> Like a Bass Pro Shop Hat or something similar. Thanks. Greats Videos btw!
@KLEEBZTECH
5 ай бұрын
Possibly. I do plan on trying a few things soon. There are some potential updates coming that could make the process easier.
Hello! Thanks for your work! 4:26 I don't get why do you do a mask. Could you explain a bit more please?
@KLEEBZTECH
4 ай бұрын
You mask the area that you want to regenerate.
good job 👍
@KLEEBZTECH
5 ай бұрын
Thanks 👍
hi, how to increase the resolution of the image generated by ai if using mask? because it looks low quality even with quality performance. thanks
❤❤❤
Great teachear ❤❤❤
@KLEEBZTECH
5 ай бұрын
Thank you!
👏🏻Amazing, thankyou🎉 I also really appreciated the first model’s cleavage. I don’t drink beer but 10/10 would buy 🤣
@KLEEBZTECH
4 ай бұрын
🤣 AI loves cleavage it seems. Who am I to complain. 🤷
cool!
I don't know if this happens with everyone or just me. Whenever I write something in negative prompt (which I don't want in my image), it seems to fooocus on it more or expose it further!!!
@KLEEBZTECH
5 ай бұрын
I don't seem to have that problem but I also am very limited what I put in the negative and have been trying to get better with better prompts to avoid things I don't want. But also find that negative prompts are not very strong in Fooocus. Even with extra weight.
That was an awesome feature... But for some reason the renders are worse quality as when I generate the usual way. Does the inpaint feature use an inferior model? AND / IF that's the case is there a way to switch model?
@KLEEBZTECH
4 ай бұрын
The inpainting engine in Fooocus uses whatever model you have selected. Depending on which mode you use in the inpainting section can effect your results as well.
really struggling with it adding on to the product right around the mask. Any advice how how to get it to stop generating right onto the product?
@KLEEBZTECH
Ай бұрын
It can be difficult depending on the type of product. Things like cans with well known shapes is much easier than many other objects.
the feature "enable mask upload" is gone now, I cannot find it
@KLEEBZTECH
21 күн бұрын
It has been changed around and renamed in the latest update. "Enable Advanced Masking Features" is now at the bottom of the inpainting area and no longer in the debug menu. It enables mask upload and also the new auto masking feature.
I’m trying to do something similar but for clothing. I’ve still life images and want to create models wearing them, but not always in standing position. Is there any way to do it, with the clothes very close to the original one? Thanks
@KLEEBZTECH
3 ай бұрын
Not really. Simple clothing you may be able to pull it off using image prompts. More complex clothing styles would be difficult. There are a couple projects I have seen that are getting better with clothing but not that has been integrated into any UI I know of.
@AndreaMilani-mj4tl
2 ай бұрын
@@KLEEBZTECHdo you know if some new option came out in this month to do it?
@KLEEBZTECH
2 ай бұрын
@@AndreaMilani-mj4tl not really for what you are trying to do.
@AndreaMilani-mj4tl
24 күн бұрын
@@KLEEBZTECH did Fooocus Update 2.5.0 introduced something for my scope? I suppose that with automatic masking it can be used for bags, but now sure about clothing
Did I just saw you inpainting the entire image around the can at the end? lol Why you just not inpaint just the hand and the can and use "Invert Mask" ?! a lot easier and faster!
@KLEEBZTECH
5 ай бұрын
Not really with how I was doing it. It took very little time since I wanted to keep some of the hand and arm and find it easier to see what will be staying.
Thank you very much for the tutorial. I tried the method with the same model and it always gives a blurred background.
@KLEEBZTECH
5 ай бұрын
You can try adding some detail to the prompt about the background. It often will help. Also look up some terms about focusing cameras and such.
Hi! if i want to place more products in the photo, is it posible? how can i upload more products? thanks
@KLEEBZTECH
4 ай бұрын
You would have to mask each object and try to generate around them like with one. But I will say for some things it can be difficult in my testing. Objects that have normally defined shapes work well but others do not. For example a can is a consistent shape so the AI will not usually add much to the can shape and distort it. But jewelry is very difficult since it comes in many shapes and sizes so the AI will often change the shape and add on to the object.
Thanks. I used image prompt and cpds to keep my existing clothes and face while just changing poses, but it doesn't work. Is there a way?
@KLEEBZTECH
4 ай бұрын
If I understand what you are trying to do, there is not really a way to keep existing clothing and changing the pose. The only real way to keep same clothing is using inpainting and masking everything but the clothing. Of course this will not really allow for different poses with the same clothing. CPDS is used to mostly copy the same structure of the image like pyracanny. The standard image prompt will probably keep similar clothing but not the same.
@lilillllii246
4 ай бұрын
@@KLEEBZTECH Thanks. I was going to make clothes marked according to the way you work, and try to change the posture through cpds and pyracanny, but it doesn't work. Is there any way to do it?
Nice technique. I have learnt a lot of basic information from your videos. I have a question for you. When I drag an image created in Fooocus, which is based on Apple MacStudio, onto the Input Image area, it does not react at all. I have to save it to the desktop first and then drag and drop it. What could be causing this?
@KLEEBZTECH
5 ай бұрын
If you are talking about dragging between boxes that might be the browser not allowing it. I don't know if that works with all browsers. I believe I read certain ones won't.
@kzmtsk
5 ай бұрын
I hadn't thought of that, thanks. I'm running it on Chrome.@@KLEEBZTECH
@KLEEBZTECH
5 ай бұрын
Chrome should work but it might be related to it being a Mac.
@kzmtsk
5 ай бұрын
I used the Mac's own browser and it worked fine :) It works on Safari. Many thanks.@@KLEEBZTECH
Can you try also with jewelry? If you want i can send you some ring with mask included.
@KLEEBZTECH
5 ай бұрын
I would definitely give it a try. Contact email should be on the channel page.
Do you maybe know how to do the chaos function inside fooocus? Its a function inside midjourney to make big variations in the image but I can't figure out how to do it in fooocus.
@KLEEBZTECH
5 ай бұрын
I don't know of any options in Fooocus for that.
@Advanced_AI_Creation
5 ай бұрын
@@KLEEBZTECH I figured something out with wildcards, you should probably make a video about those, good luck
@KLEEBZTECH
5 ай бұрын
Actually I do have a video on wildcards. 😀kzread.info/dash/bejne/eqKszadraJTVhbA.html
@KLEEBZTECH
5 ай бұрын
And they just added arrays as well. I do mention those in my video about the latest update. They are similar to wildcards but you include the array in the prompt and it does them in order instead of random. But there should be an update to make it so wildcards can be used in order instead of random soon as well.
👍👍👍👍
I cant get the object to show up. What settings did you use under the beer can and the mask images? Inpaint, Improve or Modify? I rewound the video several times and I cant see the settings.
@KLEEBZTECH
5 ай бұрын
Regular inpaint.
@KLEEBZTECH
5 ай бұрын
If using an uploaded mask like I did it must be black for the area of the object and white for the rest.
Is tere a way I can contact you for a private 1 on 1 lesson? I am trying to get ai models for our socks at different positions, locations etc but I couldn't make it work following your tutorial. I am willing to pay for the private tutorial. thank you
@KLEEBZTECH
4 ай бұрын
I did get your email. I'm not sure it is something that could be done properly. Certain things work better than others. I will experiment and get back to you if it's something I think is possible.
@itsu60
4 ай бұрын
@@KLEEBZTECH Thank you so much. Appreciate it
Is there a way to embed an image of a specific product into a ready-made image?
@KLEEBZTECH
4 ай бұрын
To clarify, you mean taking an image of an actual product and inserting into another image already made? Not really with Fooocus. That would need to be done with more traditional image editing most likely. You might be able to use Fooocus to help touch things up in the end using inpainting.
@user-bj4tu1zb4y
4 ай бұрын
I was waiting for someone to tell me how to use this mask upload feature when it appeared in fooocus. I hoped it would be able to insert the product into the image better than photoshop =D. for example, by entering into perspective and changing the angle of inclination, setting all lights and shadows. I'm using a translator, so I apologize if anything is unclear@@KLEEBZTECH
@KLEEBZTECH
4 ай бұрын
I think that sort of stuff will come at some point but we are not there yet.
Can't get this to work. The product looks ok, but the woman looks all washed out as if photographed in a white out-of-focus mist. Tried prompting with a darker backdrop, but it refused to change the background. Tried both PNG and JPG, transparent background and not, and changing Model but to no avail. Styles as in video. Started with a perfume bottle, changed to a soda can but no. Tried transparent PNGs but they don´t even register. Restarted several times but no. If I try without product image and alfa it works perfectly, but then I of course get an AI bottle or can. Very strange.
@KLEEBZTECH
2 ай бұрын
I have found that sometimes the source image and the inpainting do not work well with each other. Have not fully determined why but I run into similar issues when inpainting with some real photos. Sometimes changing the image a little in a photo editing software can be enough to help.
@MBop-xh8gl
2 ай бұрын
@@KLEEBZTECH Yeah, it´s kinda unexpected. Following your tut very closely. No fancy variants. And I still get weird results. I´ll let Foocus rest over night and try changing the image tomorrow as you say. Thanks for replying and all the nice tuts!
whenever I try product is not hundred 100% same
@KLEEBZTECH
Ай бұрын
It can be a little hit or miss I have found depending on the product. Certain things with well known standard shapes and size makes it easier. I have attempted other things with mixed results. Jewelry for example is very difficult since things like that it want to add on to the item.
Only mask and inpainting , that's it ?
@KLEEBZTECH
Ай бұрын
and some outpainting
Could you make a girl with a bikini and a specific logo on the bikini? let's say on the front of the bra
@KLEEBZTECH
4 ай бұрын
Probably not easily. Generating the logo won't work so you would need to start with a logo and work out but that is something that might be better for traditional photo editing at the moment.
This is sounding very cool! =)🔥
Can I place a product in an exiting image? If so, how? can you make a video please
@KLEEBZTECH
5 ай бұрын
Not that I can think of.