Transcript · 24,676 chars
Create 2 can now edit images, in-paint, out-paint, head swaps, and more. This is amazing. >> [laughter] >> Hello humans, my name is Kay and boy oh boy do I have some mind-blowing stuff for you today. Because yes, you heard it right, Create 2 just got an amazing new update that allows you to become a real asset model. Yeah, I'm not kidding. But I went even further and created my very own special Laura, custom workflow, and even custom nodes, which now will allow you to use Create 2 to in-paint, out-paint, and edit insanely good images at high resolution. So today I'll show you how to install everything and how to get the best results possible. So that being said, sit back, relax, and let's go. Okay, and to install the Create 2 custom models and custom nodes, you have two ways. The first is of course by using my one-click installer that is available for my Patreon supporters. Just double-click on the file, and then it will automatically download and install ComfyUI and all the models and nodes you need to run the brand new Create 2 workflow. And the second way is to rent a GPU on a website like RunPod and use my special RunPod installer to run the brand new Create 2 workflow. And once you have ComfyUI installed, as always, for this video I prepared the special Create 2 ultra workflow that you can find on my Patreon that you can then drag and drop it inside ComfyUI. And there you go. And now we can finally have some fun. Now obviously, this is technically an update to my previous Create 2 video, so if you haven't watched it, I highly recommend that you do because in this video I will only show you the brand new Create 2 editing update, which basically allows Create 2 to become a real asset model by using some very cool custom nodes to do it. Okay, so first before we begin, one little update in terms of models is that where before you had access to the MXFP8 model or the FP8 model, there is a brand new model called INT8 Comfrot that has appeared and that I highly recommend you to try instead. This model is basically as good or even better as the other ones, but run much, much faster. So, if you want like a boost of speed when you're using your Krita model, definitely try this model instead. It is really, really good. The other thing is that I also put here the URL for all of my custom nodes and special Laura and that I'm going to be showing you in this workflow today. But, of course, if you use my one-click installer, you can basically disregard that because everything is already installed for you. Okay. So, basically, in the previous videos, I showcased the normal text-to-image, image-to-image, and the two-times combo workflows, but now I have added three additional workflows: Krita pseudo edit, inpainting, and outpainting. And you'll see that it is actually very, very easy to use. So, once again, you're going to come here and enable the workflow, and then, just like always, all of the parameters that you might want to change will always be located in the first column right there. Okay. So, basically, how about instead of just explain what everything does, I just show you an example. Here, you're going to input your prompt. You can leave pretty much everything by default. I'm only going to be using one single image. So, now, for example, if I upload this image, and now if I want to like change her outfit from an armor into a black suit with tie without changing anything in the background, if now I click run, we go from this to something like this. And yeah, I mean, this is This is fantastic. This is great. And as you can see, if you look like the before and the after, this is pretty much exactly what we have in the before. We have the same exact background, except that now her armor has been transformed into a black suit with a tie. And as you can see, there is very little change in the before and after when using this workflow. But, of course, this is not the only thing that we can do. We We do much, much more. Like, for example, if I now enable the second image and I upload this image of Inigo Montoya and I want to swap the hands between the two characters, I click run. In the end, we get this very cursed image where before you had the head of the girl and we replaced it with the head of Inigo Montoya. So, yeah, I mean it works really, really well. And if you want like even more, like higher quality, it is much better to use like a high resolution image as the first image with a close-up because now if I try again, now as you can see, the head swap works just as well and preserves a lot of the quality of the original image. Like once again, like this is the before and this is the after. And as you can see, like this is really, really good. Like this is incredible. Everything is preserved. The image does not change at all except the things that needs to be replaced. And that is really just incredible. And of course, like this is really just the tip of the iceberg. You can pretty much do everything that a normal edit model can do, but with Create 2. Now, the question that you might ask is, well, how is this possible? Well, it is actually thanks to a bunch of different combination of the special the Create 2 ostrich edit as well as the amazing Create 2 identity edit Laura. That is actually an absolutely amazing Laura that basically really makes all of this possible. However, I know that I'm kind of late on the game because technically we already have like a 1.2 version of this Laura, but I know that if you try in this Laura and combination of previous workflows before made by other YouTubers or other creators, you might have been very disappointed by the final results. And I was disappointed as well, which is why I created my very own custom nodes, which basically make it so that the final image keeps the native resolution without any changes and increase the quality of the final image, which is something that previous workflows did not do. So, now basically, if you input a 1080p image, in the end, you will get the same exact 1080p image without almost no changes to the quality of the original image. As you can see right there. Like pretty much everything stays the same except the part that needs to change. And once again, like this is really just the tip of the iceberg. If you want to, you can also generate a brand new image from scratch using one image as a base. So, let's say for example, I want to generate an image of this person, of this character at a night market. Well, I can simply just input that in my prompt, and then click run. And we get something like this. As you can see, like this is really just incredible. Like this is the before, and this is the after. And we did all of that without training any Laura or doing anything. We basically just reproduced the likeness of our character right there into a new image, a new setting, new lighting with the create two model, which is really just amazing. It is insane. Like I spent several days trying to make these custom nodes work to get this kind of quality. And if you want to know more about what you can do with this Laura and this workflow, I have input here a note kind of describing everything that you can do and how to prompt for it. So, that you can just copy and paste the prompts right there. Now, you also have here a bunch of options, a bunch of parameters that technically you can try that you can play around with, although I don't really recommend. Everything was already done for you. Another thing that you can also use is the reference boost. But, these values basically allows you to control how much influence each image that you input right there has on the final image. Now, sometimes it is very hard to see, hence why I recommend not touching anything. But, basically, if for example, you input a face right there, and it doesn't respect the likeness of the character enough when you do the head swapping. You could, for example, increase that value even higher so that it follows the original image right there. And if, for example, you want your image to be more like the first one, well, in that case, you can increase that value here instead. Now, all of this is very, very finicky. Sometimes it's very difficult to see if those values really do anything, hence why, once again, I recommend you to not touch anything. Everything is already done for you. But, if you want to play with that, if you want to play with those parameters, well, you know, there you go. They are here. Now, of course, this is only one part of this version three Creadsu update. This is not the only thing that I have added and done for this workflow. Because in this workflow, we are using the Cread identity edit Laura that is made by someone else. And now, I will show you a workflow with a Laura that I trained myself. Because now, you can also use Creadsu as an in-painting and out-painting model. And it is really super easy to use thanks to the in-paint Cread Laura that I trained. Now, basically, how this Laura works is actually very, very simple. What you're going to do is, first, you're going to upload your image. So, let's say that, once again, I upload this image of Cillian Murphy. Then, you're going to right click on the image, open in mask editor, and then here, instead of using the mask, you actually going to select the brush option on the left. Then, under color selector, you're going to choose a pure 255 green. Now, I know that for most of you, by default, the color selector is usually pure red, and you can either yourself do the manipulation and each time change that from zero to 255, or I have made a special custom node that basically automatically sets the ComfyUI mask editor paint color to pure green. It's very easy to use. Once again, if you use the one-click installer, everything is already done for you, so you don't need to do that. But then, once you have selected your brush, and you're selecting the pure green color, then you're going to in-paint on the image the area that you want to change. So, like for example, I'm going to paint this area right there on the shoulder, then I'm going to click save, and then I'm going to write my prompt using the same exact words, the same exact sentence, but changing a few words. It always should say, "Replace the solid neon green area with then you input what you want to in-paint, match the surrounding lighting, perspective, shadows, colors, texture, and depth of field, preserve everything outside the solid neon green area." And now, if I click run, we get something like this. As you can see, like this is the before, and this is the after. And this is really, really good. This is fantastic. Like once again, we have pretty much kept everything of the original image, but we have now added this absolutely amazing little bird sitting on his shoulder. And this little trick is really super powerful and super easy to use. Once you know how to paint the correct green area and write the correct prompt. And yeah, I mean, it is really that simple. Just input your image, right-click, open in mask editor, then choose your brush, in-paint in green the area you want to change, click save, then modify your prompt, and then click run. And there we go. It is really that simple. We go from this to something like this. As you can see, nothing in the image changed except the area that you in-paint. And if you don't like the results, it's very simple. Just rerun again with a different seed and check the results. And you can do it again and again and again until you're happy with the results. Now, obviously, once again, it is not perfect. Sometimes, if you zoom in, you see that things do not align perfectly 100%, so for that, you can also play a little bit with the values, then play a little bit with the seam overlap. Sometimes, by increasing or decreasing the value, it can work. So, if I choose two, for example, and I click run, now as you can see, the seam is definitely way less visible, and it is definitely much better. So, yeah, play a little bit with those values if you need to to get the results that you want. And yeah, I mean, it it is really that simple and of course, extremely powerful because everything is done with the Create 2 model. So, you don't need to use another different model with a different grain or anything. Everything can be done inside one single workflow. And of course, since you can inpaint, you can of course outpaint as well. And all of that using the same exact LoRA. And to do this is very simple. First, you're going to click here where you're first going to enable this area, then you're going to load your image. Let's say that you load this image of an anime girl, and here you're going to input the amount of pixel you want to outpaint and add to the image and also in what direction. So, let's say I want to outpaint on the left and on the right. So, let's say I want 400 on the left and 400 on right. I put zero on the bottom. If now I click run, now you should see that this is now the new outpainted area. And if you like the results, if you like that size of image, well, in that case, you can enable the rest of the workflow. Once again, we are using my inpaint Create LoRA here. For the manual prompt, you actually don't need to put anything. You can just leave this prompt by default and it will automatically outpaint the image by analyzing what is present in the image already. And then all you have to do is just click run and we get something like this. And as you can see, like this is I mean, this is really good. Like this is this is insane. This is really, really good. Now, the reason why you have two different version of the image right there is that technically those images are not exactly the same. And I left it so that you actually have two different versions to choose from. Now, the first image on the bottom is actually the image that was kind of regenerated from scratch at a different resolution, then upscaled. Now, usually this image will always be perfect. They will have no visible seam or anything. However, because of that, you might unfortunately see a deep in quality compared to the original image. So, like for example, if you look at the original image right there, and then you compare it to the image generated at the bottom, there is a small difference in quality between the two images that are not like huge, but it is something that you need to keep in mind. However, the one at the top will usually have seam problems because it actually uses the same exact original image, but it will have some visible seam on each side, as you can see right there, here, and here. But, at the same time, this image is of higher resolution and higher quality than the one right there. Now, the reason why I gave you like two different possibilities is that sometimes, depending on the image, this one is much better because it retains the original resolution and quality of the original image, and sometimes this image is much better than this one because there is no visible seam, so it makes the image way more coherent. Hence, why I kind of gave you like the two possibilities so that you can choose which one do you prefer. And of course, you don't need to outpaint on the left or on the right. You can pretty much outpaint in every single direction you want. You can take our already existing image and then outpaint the top and the bottom so that we go from this to something like this. And I mean, this is Yeah, this is This is really, really good. I mean, this is fantastic. And once again, like depending on the image, as you can see, sometimes the seam is not visible at all. It really depends on the images, on the grain of the image, and the image that you try to outpaint. And once again, all of this is only possible because of my special Laura, and also of my custom outpaint node. So, if you tried another workflow that did outpainting or inpainting with Creazu and you weren't happy with the results, well, guess what? This workflow fixes those issues forever. It is that simple. However, guess what, ladies and gentlemen? Because technically, we are not done. That's right. I still have one little surprise for you. And that is the fact that I still haven't talked about one single detail, one single parameter that is right there. Now, by default, this workflow uses the absolutely amazing Identity Edit Laura version 1.2 that allows you to kind of transform Creazu into an entity model. However, I have also showed you that I have trained my own inpainting and outpainting Laura. Meaning that you too can train your own custom Creazu edit Laura. However, if you want to use your custom Creazu edit Laura, you cannot use the same exact nodes and parameters that are used with the special Creazu identity edit Laura. So, like for example, I have trained an additional Laura called Creazu Gigachad. And basically, what it does is transform any image into their Gigachad version. However, because of how all of these custom nodes work with the Creazu identity edit Laura, if for example, I want to use that Laura and I use it with the normal workflow, and I click run, well, we go from this to this horrible abomination. And that is because to be able to use the special Creazu identity edit Laura, you need to also use their very special custom ComfyUI nodes. If you want to use your own, you need another set of custom nodes. But don't worry, your AI overlord is here to save the day, and I've already done everything for you because all you have to do, if you want to use your own custom train Laura, you can simply click on this button and disable this area of the workflow right there. And once you do, now if you click run, we go from this to something like this. Oh, yeah. This is uh >> [laughter] >> Yeah, this is much better. So, like this is the before and this is the after. Yeah, this is uh Oh, yeah. This is much better. Oh, yeah. It's all coming together now. You can even use it on like anime images to make them into Gigachads, even though like Jotaro is already a Gigachad, but now he is even more of a Gigachad than before, or pretty much any character you want without any limit. It is really super simple. Or even multiple groups of friends. Get it? So, yeah. I mean, it is really, really cool. And of course, if you want to train your own Create-a-Sue edit Laura, well, you can do it as well. And it is really simple. And to do that, we will, of course, be using AI Toolkit. Now, once again, I'm not going to go over everything. I've already done multiple Laura training videos. I mean, literally, my previous video was a Laura training video for Create-a-Sue. So, if you haven't watched it, I mean, I highly recommend that you do. But essentially, the training principle is pretty much the same as if you want to train an edit model. Now, the way you do this is first, you're going to prepare two different data sets. First, you're going to prepare a control data set, where you will just have a bunch of images of people like normal people without anything special. And then you're going to prepare the modified data set, where basically you're going to have the same exact people using the same exact naming scheme for each one. But this time, they will be modified to whatever result you want to achieve. And the first data set, you're going to call control, while the modified data set, you're going to call it whatever you want to call. But no matter what, all of these images needs to have the same exact name as the one in the control data set. Very, very important. If you don't do this, it's not going to work. So, once you've done that, inside AI toolkit, you're going to click on data set, click new data set. We're going to create a new data set called control, then click add images. And here, you're going to input all of the images from the control data set. So, basically, all the people that look normal, you're going to drop them right there. And you're not going to do anything. You don't need to caption any of these images. Then next, you're going to create a new data set. This time, you're going to call it, well, gigachad in this case. And then here, you're going to upload all of the images, but this time, from the gigachad folder. And now, we actually need to caption those images. But we don't actually need to caption them to explain what is happening in the image. We need to actually put the prompt that was used to make this image. And the prompt that you will be using inside ComfyUI. So, like for example, the simple prompt that I want to use is simply to say, "Make this person gigachad." It is that simple. You don't need to do anything else. You don't need to do like super complicated stuff. Just a simple sentence to explain what you're doing and a simple keyword to train this LoRA. And I'm actually just going to, you know, copy and paste that everywhere. However, when there are multiple people, I'm just going to input "Make these people gigachad" instead, as well as right there. And then, once this is done, one thing that you need to do, since Creal LoRA has become a gated model, you need to first come on this page, then accept the license, then in your account, you need to create a token. If you haven't done it before, then in settings, you need to enter your Hugging Face token right there, and then save settings. And once this is done, you're going to click new job. Here, you can input a name for your LoRA. I'm just going to put GigaChad Create Sue. No need for a trigger word. Here, under model architecture, you're not going to select Create Sue raw as we did in the previous Laura training video. You're actually going to scroll further and choose the very experimental Create Sue raw edit training. And as you can see, you will now have a bunch of new options that will appear. So, here you're going to disable KV cache. We don't need it. If you don't have a lot of VRAM, you can enable layer offloading and offload a part of that to your RAM. But I have a 5090, so I don't need that. Then for the save, you can input the value a little bit higher. It doesn't really matter. Here, under training, depending on what you're trying to train and depending on the amount of images that you have, usually 3,000 steps is more than enough. Although my special inpainting Laura was trained up to 10,000 steps, actually a little bit more, but that's only because I had like a bunch of different images and I was only happy at results 10,000. But for most of you, 3,000 steps will be more than enough. Then, once again, you can leave everything by default. Everything is fine. Except here, you're going to enable cache text embeddings. No need for validation. No need for advanced. Then here, very very important, under dataset, for the target dataset, you need to choose your named GigaChad folder. And then for control dataset one, you're going to choose control dataset. It's very important. Otherwise, it's not going to work. Then you can leave everything by default. Here, we can skip the sampling because the results will not reflect the results that you will have in ComfyUI anyway. And then you're going to create job and click on the snow button to start the training. Now, I'm not going to do it because I've already done it before, but yeah, that's pretty much everything that you need to do to train your own Create Sue edit Laura. And once you train your Laura, put it in your Laura folder, select it right there, input your prompt, input your image, do not forget to disable this area of the workflow, otherwise it's not going to work, and then you can click run. And there we go. We go from this to something like this. Yeah, it is it is pretty cool. So, yeah, I mean, there you go. This has been my Create 2 Ultra workflow version 3 update. Now, in one single workflow, in one single area, you can generate an image or even edit other images or do inpainting or outpainting, all of that with one single Create 2 model. And although it of course does not replace a real Create 2 edit model, with all of those custom nodes, custom workflow, and special LoRAs combined, we are definitely getting very, very close. And it is really amazing. I absolutely love it, and I'm sure that you will, too. So, definitely try this out yourself and have some fun. And there we have it, folks. Thank you guys so much for watching. Don't forget to subscribe and smash the like button for the YouTube algorithm. Thank you also so much to my Patreon supporters for my videos. You guys are absolutely awesome. You people are the reason why I'm able to make these videos, so thank you so much, and I'll see you guys next time. Bye-bye.