If you have enough CPU RAM for memory swapping, yes. The SDXL should work with 8 GB CPU RAM + 6 GB GPU RAM. You can go lower if you remove the automatic masking from the workflow. That alone will save about 2-3 GB.
@teddygabarr20 сағат бұрын
@CodeCraftersCorner thanks! will try this workflow in my machine. congratulations on the excellent content of the channel
@zeltforКүн бұрын
isn't this practically doing the same thing as ReActor but just more complicated? I first thought this was something brand new which allows us to generate a specific face during the generation process so it would allow us to generate something on the face like a nose ring or sunglasses for example, without them then being removed by the face swapping process. Now this just seems to do the exact same thing as ReActor, or am I mistaken?
@CodeCraftersCornerКүн бұрын
Might be same with different implementation. For your use case, i don't think this method will work that well to add accessories to the face since the face swap is heavily influence by the input face image. You may have to add an inpainting part to the workflow to get close to what you want or maybe, training a LoRA without the accessories and then prompting the model to output the face with the accessories .
@rangortsКүн бұрын
is it better than pulid for realism?
@CodeCraftersCornerКүн бұрын
From my testing, this method does better on my skin tone when compared to PuLID.
@procrastonationforever5521Күн бұрын
Dude... This is creepy AF, lol! xD)))) Sharvin waifu? What a narcissist, huh?
@abaj006Күн бұрын
Does this work with Flux Dev models?
@CodeCraftersCornerКүн бұрын
Yes, you can add Flux Dev to the workflow or add the face swap section to a flux dev workflow.
@PrivateMilo-d2sКүн бұрын
can it does multiple people?
@CodeCraftersCornerКүн бұрын
Yes, you will have to modify the workflow and add a second face swap into it.
@Dunc4n1d4h0Күн бұрын
I feel like I used time travel machine and it is 2023 and we use IPAdapter with SDXL
@tsoukkkКүн бұрын
No folder zen ID in folder 2025
@CodeCraftersCornerКүн бұрын
Sorry for that. I updated the folder. Can you check again and let me know if there are any issues.
@tsoukkk22 сағат бұрын
@@CodeCraftersCorner Thanks, from your subscriber!
@ramn_Күн бұрын
Always the best content in your channel, thank you. Greetings from México.
@CodeCraftersCornerКүн бұрын
Thank you for the kind words!
@MEGTONКүн бұрын
Please make a video on lora training locally
@CodeCraftersCornerКүн бұрын
I’ll keep it in mind. Thanks for the suggestion!
@ivanbelyakovКүн бұрын
There is no Workflow for SDXL in the 2025 folder, according to your link. I really wanted to download it ( In any case, thanks for your videos. Subscribed.
@CodeCraftersCornerКүн бұрын
Sorry for that. I updated the folder. Can you check again and let me know if there are any issues.
@dirkrabe1201Күн бұрын
Sorry, I can't find a workflow in: 2025/ZenID folder
@CodeCraftersCornerКүн бұрын
Sorry for that. I updated the folder. Can you check again and let me know if there are any issues.
@dirkrabe120120 сағат бұрын
@@CodeCraftersCorner Now it works. Thank you very much for your great content
@UnclePapi_2024Күн бұрын
👏🐵👏
@edmartincombemorelКүн бұрын
you don't ned grounding dino to segment the face, most of the time crop face with dlib model will work, it is way better for lowram gpus
@francaleu7777Күн бұрын
🎉
@ghazanfaramin2 күн бұрын
Sir, I use Comfy on cloud LightningAI. I face same issue. Please guide me how can I resolve this issue
@CodeCraftersCornerКүн бұрын
Hello, i only use ComfyUI locally. Still, the steps will be the same. You will need to identify the python executable that the cloud is using. Then replace the python_embeded/python.exe with your python executable path.
@pire_ai2 күн бұрын
Very useful! Thanks
@CodeCraftersCornerКүн бұрын
Glad it was helpful!
@eoprodn-palmier29442 күн бұрын
Hi, can you help me ? i have this issue : MMAudioSampler mat1 and mat2 must have the same dtype, but got Half and Float
@CodeCraftersCornerКүн бұрын
Can you check if you are using the fp16 or fp32 version. The workflow included is set up for fp16 version.
@Ashabarala3 күн бұрын
Hello and thank you very much for this informative video. I have ComfyUI on Stability Matrix. Could you please tell me, How do I install the dependencies?
@CodeCraftersCornerКүн бұрын
Hello, I do not have Stability Matrix. The steps will be same since it is still ComfyUI. You will have to replace the python_embeded/python.exe part with stability matrix python executable file. I am not sure where that it since I cannot test it.
@Toledo433 күн бұрын
Ainda bem que encontrei o seu vídeo, salvou o meu dia. Obrigado man :)
@zluka36653 күн бұрын
Thanks, it helped!
@sofibouli3 күн бұрын
this doesnt work, the insighface cannot be found / ModuleNotFoundError: No module named 'insightface' Cannot import D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-InstaSwap module for custom nodes: No module named 'insightface'
@CodeCraftersCornerКүн бұрын
Hello, you will need to install insightface then. It's a dependency which is included in InstantID. If you want to use face swap, I have a new video on this topic with step by step installation guide here: kzbin.info/www/bejne/q3m4ZqWqhtpnoMU
@alitufantv3 күн бұрын
Do you have an AI site or App or Software that can be re-immagine from a sample photo?
@CodeCraftersCornerКүн бұрын
I only use local installation, so I am not familiar with websites or apps. You can do this with ComfyUI.
@boythee41934 күн бұрын
i'm with these guys, stepping through the terminal helped a lot. well done, sir
@CodeCraftersCorner4 күн бұрын
Glad you found it helpful!
@orios-d5r4 күн бұрын
Hello Code Crafters can any one help to solve this problem? Thank you
@CodeCraftersCorner4 күн бұрын
Hello, could you share more details about the problem?
@rangorts5 күн бұрын
"AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error" what should i do in this case?
@CodeCraftersCorner4 күн бұрын
At which stage did you get the error message? Were you generating an image or was it during installation process?
@rangorts4 күн бұрын
@@CodeCraftersCorner after using the code to fix facexlib error (i see this error on the cmd panel)
@maelstromvideo095 күн бұрын
pulid2 out. and what about batch input face for more accuracy?
@CodeCraftersCorner4 күн бұрын
Yes, i am aware and tried it. Unfortunately, I cannot run it. Compile Model+ is getting me errors.
@EdgeBade5 күн бұрын
I rarely comment on ANY video, but I came here to say you're the only one who helped me get the install working after having given up weeks ago. Great vid!
@CodeCraftersCorner4 күн бұрын
Thank you!
@TheWayneFang6 күн бұрын
excuse me, in 44 min, the positive and negative prompt connect the first "Apply ControlNet", then thru the first Apply ControlNet, to the "second Apply ControlNet". But the positive and negative prompt don't outout after the second Apply ControlNet. There's a problem, right??? But in 44:24, you do output to Ksampler after the second the Apply ControlNet.
@CodeCraftersCorner4 күн бұрын
Good catch! Thank you for pointing that out. I might have accidentally disconnected it. Normally, it should be connected. for 44:24, that’s a different workflow but with the same concept. This is the one I shared, so it should work as expected.
@LaMagra-w4c6 күн бұрын
You are awesome. You're the only one that really addresses and goes into details about the issues AND solutions! Thank you!
@CodeCraftersCorner4 күн бұрын
Thank you.
@antonmanukyan33076 күн бұрын
Hi, how do you make a photo with 4 or more faces so that they are all in one photo?
@CodeCraftersCorner4 күн бұрын
I have not tested it but I think building the photo in steps might work. Generate with one face using mask to place the person in the correct spot. then change the face and generate a new character. again use mask to place the character side by side.
@larbibenmhidi30546 күн бұрын
You make it easy, thank you sir !
@CodeCraftersCorner4 күн бұрын
Thank you! Glad it helped!
@doords6 күн бұрын
Is the current version of impact pack in the manager safe? There is a recent update date on there
@CodeCraftersCorner4 күн бұрын
Yes.
@MrYiukakeung6 күн бұрын
When ComfyUI-PuLID-Flux was released, I spent several hours trying to install it but ended up failing. Since I felt it was necessary to use it, I decided to give it another try. I installed, uninstalled, searched for articles, and watched videos. After a total of 10 hours, I still couldn’t get it to work. It seemed like there weren’t many discussions about this issue online, and those that existed were unclear. Fortunately, I came across your tutorial video, which helped me resolve the problem. I am truly grateful for your detailed, step-by-step guidance.
@odaily7 күн бұрын
PuLID Flux II just came out. Please make a tutorial video on that topic soon. I'm using a Mac and have many issues with Apple Silicon running PuLID Flux
@CodeCraftersCorner4 күн бұрын
Hello, sorry I do not have a Mac.
@studiodarklight48607 күн бұрын
Update i fixed the error, If someone is getting the error in the faceanalusis node something like assertion error make sure that --- D:\ComfyUI\models\insightface\models\antelopev2\ directory to ensure it contains the model files directly, without an additional nested antelopev2 folder. TLDR there should be only one antelopev2 and inside there should be the models, in my case inside antelopev2 there was another antelopev2 folder which will give you this error
@AberrantArt7 күн бұрын
Great video! Thank you for the install walkthrough and the script walk through. 🙏
@CodeCraftersCorner4 күн бұрын
Glad it was helpful!
@aymenabouhassoun23067 күн бұрын
hello sir hope you re doing great i have this issue is there any way t o solve i ve loaded the flux checkpoint from civitai and this is the message shown CheckpointLoaderSimple ERROR: Could not detect model type of: C:\pinokio\api\comfy.git\app\models\checkpoints\flux_dev.safetensors
@CodeCraftersCorner4 күн бұрын
Hello, there are two versions of the flux model. when using the CheckpointLoaderSimple node, you will need to have the Comfy-org flux version. I am guessing that for your checkpoint, you will need the load diffusion model node along with dual clip loader and vae loader. try this video: kzbin.info/www/bejne/hZK2apt8ecSrsJo replace the schnell version with your dev version.
@SimpleTechAI7 күн бұрын
Not seeing where to get the workflow
@CodeCraftersCorner4 күн бұрын
Hello, the workflow is included in the custom nodes. You can open it by going into the folder: comfyui/custom_nodes/ComfyUI-PuLID-Flux-Enhanced/examples/. There are the simple and gguf versions.
@shareeftaylor36807 күн бұрын
I need help I keep getting m1 m2 half error in ksampler even tho I did your solution it's not detecting force-fp16
@CodeCraftersCorner4 күн бұрын
Hello, did you also update ComfyUI to the latest version? Also since this video release IPAdapter also got updated. Try to update both ComfyUI and IPAdapter from the terminal / command prompt directly. 1. go to ComfyUI folder in explorer. 2. type in CMD in address bar and press enter. 3. in command prompt, type in git pull and press enter. 4. in explorer, go to custom_nodes > ipadapter. 5. repeat step 2 and 3. 6. restart comfyui and check.
@shareeftaylor36802 күн бұрын
@ oohh so I need to update comfyui it’s hard to do that now because of python 3.12 I’ll have to find the file that executes the command and put -break-system-packages at the end that’s the only way ik how to update it cause I’m using it in android
@shareeftaylor36802 күн бұрын
@CodeCraftersCorner OK I updated comfyui and the ipadapter plus node but I'm still getting m1 and m2 half error does ipadapter support fp8? Is that y I'm getting this error I'm trying to run in fp8 i run out of memory with fp16
@GrocksterRox7 күн бұрын
Why did you create separate workflows instead of putting them together (e.g. like this - kzbin.info/www/bejne/gpnJo62mpMt1nLM )?
@CodeCraftersCorner4 күн бұрын
Hello, I get out of memory error when its combined. The first time it works but the second time, i have to restart ComfyUI. By separating them, i can keep running the workflow one after another.
@onehelbey7 күн бұрын
Hello , I need help with this Cannot load <class 'diffusers.models.unets.unet_2d_condition.UNet2DConditionModel
@CodeCraftersCorner7 күн бұрын
Hello, for the unet version of flux, you will need to use the load diffusion model node.
@onehelbey6 күн бұрын
@ hello thanks for answering I did what you said but it didn’t work , can you do it for me with anydesk?
@onehelbey6 күн бұрын
@@CodeCraftersCorner ComfyUI is unable to load a specific component of the marigold-lcm-v1-0
@Mykola-r9i7 күн бұрын
Thank you! My PuLID results get better!
@CodeCraftersCorner7 күн бұрын
That's great to hear!
@pn49607 күн бұрын
Is there an efficient way to do face merging in comfyUi?
@CodeCraftersCorner7 күн бұрын
There are multiple ways of doing face swapping, PuLID is just one of them. I have videos on Face Swap and IPAdapter FaceID V2.
@TeeNineMusic7 күн бұрын
Use a Reactor Node. 🍻
@pn49607 күн бұрын
@@CodeCraftersCorner what if I wanted to take 5 faces and “average” then into one for character creation purposes?
@CodeCraftersCorner7 күн бұрын
@@pn4960 You can try this with PhotoMaker and import multiple images.
@pn49607 күн бұрын
@@CodeCraftersCorner thank you
@megaigrovoy7 күн бұрын
Are there any solutions for instant id for flux?
@CodeCraftersCorner7 күн бұрын
Not to my knowledge.
@sudabadri70517 күн бұрын
Nice work ive been testing this and its a lot better but some faces it struggles with and distance from camera sometime is weird so hoping your crop tricks help here
@CodeCraftersCorner7 күн бұрын
This can definitely get better results with the correct settings. Lots of experimentation required!