Better Face Swap = FaceDetailer + InstantID + IP-Adapter
5.0
0 reviewsDescription
100% Face Similarity: The Ultimate Face Swap Workflow (Better Than Any PuLID, InstantID, IP-Adapter):
------
A common hurdle encountered with ComfyUI’s InstantID for face swapping lies in its tendency to maintain the composition of the original reference image, irrespective of discrepancies with the user’s input.
For instance, if a user uploads a headshot while requesting a full body depiction, the output frustratingly remains a mere headshot, ignoring the intended composition.
This issue also arises when attempting to generate a full-body image from a half-body shot; the result stubbornly stays a half-body shot.
To address this limitation, I’ve devised an innovative workflow that adapts the face in the reference image to any photo, liberating us from the constraints of the original composition.
The ComfyUI workflow featuring FaceDetailer, InstantID, and IP-Adapter is designed to enhance face swapping capabilities, allowing users to achieve highly accurate and realistic results. Users start by generating a base portrait using SDXL, which can then be modified with the FaceDetailer for precise facial feature adjustments. InstantID is integrated to facilitate high-quality face replacements, while IP-Adapter is used to ensure the new face matches the body’s pose and lighting conditions. This workflow is highly flexible and can be customized with different nodes and settings, making it ideal for creating professional-grade digital images in ComfyUI.
Video Tutorial:
Node Diagram
Discussion
Hello, I Have a problem with ip-adapter.bin. Can't find it. I installed cubiq "ComfyUI InstantID (Native Support)" and " ComfyUI_IPAdapter_plus" but the loader of your Workflow still remain undefined. I downloaded the file and stored in various folder :)
But nothing, how I can solve this?
thanks
Hi :) Do you know why the face detailer is soooo long ? 30s for the first image and 30 minutes for the face detailer :D
I solved the problem:
Hello everyone, greetings to everyone here on the forum, my name is Shinoda, I'm Brazilian, sorry for the bad English, as it was in the translator.
So let's solve the problem:
I followed this tutorial on this page https://github.com/cubiq/ComfyUI_InstantID/issues/161
However, it only worked for me after downloading the new version of COMFYUI and reinstalling, you may not need this step.
Node Details
Primitive Nodes (0)
Custom Nodes (16)
ComfyUI
- LoadImage (2)
- ControlNetLoader (1)
- PreviewImage (2)
- FaceDetailer (1)
- SAMLoader (1)
- UltralyticsDetectorProvider (1)
- InstantIDModelLoader (1)
- InstantIDFaceAnalysis (1)
- ApplyInstantID (1)
- IPAdapterUnifiedLoaderFaceID (1)
- IPAdapter (1)
- Eff. Loader SDXL (1)
- KSampler SDXL (Eff.) (1)
- Unpack SDXL Tuple (1)
Model Details
Checkpoints (0)
LoRAs (0)