Better Face Swap = FaceDetailer + InstantID + IP-Adapter

5.0

0 reviews
135
43.0K
20.3K
9
Description

100% Face Similarity: The Ultimate Face Swap Workflow (Better Than Any PuLID, InstantID, IP-Adapter):

https://youtu.be/ambLYrJ3U_c

------

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
L
Lão Độca year ago

Miraculously, Workflow has created a completely different person =))

👍1
G
Giusparsifala year ago

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

s
sando23_10 months ago

I have the same problem, download the current comfy UI and it still gives the same error

s
sando23_10 months ago

Where can I download a version of comfy UI that is compatible with InstantID?

Q
Quentin Deschamps10 months ago

Hi :) Do you know why the face detailer is soooo long ? 30s for the first image and 30 minutes for the face detailer :D

杨小波9 months ago

Error occurred when executing FaceDetailer: 'NoneType' object has no attribute 'shape', please help me

Diego Mariano9 months ago

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.

Author

20
178.6K
1.4K
413.4K

Reviews

No reviews yet

Versions (1)

  • - latest (a year ago)

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)

Checkpoints (0)

LoRAs (0)