InstantID / InstantID

InstantID : Zero-shot Identity-Preserving Generation in Seconds 🔥
https://instantid.github.io/
Apache License 2.0
10.41k stars 755 forks source link

Issue with Face Clarity in Scene Generation with InstantID in ComfyUI #164

Open wangyanmeego opened 4 months ago

wangyanmeego commented 4 months ago

Hello,

I've been using the InstantID feature within the ComfyUI, as implemented in the repository by cubiq, to generate contextual scenes using a reference facial image of a person, combined with prompt words. The feature works impressively well when the generated person's face occupies a large portion of the image, seamlessly integrating into the scene.

However, I encounter issues when the face of the generated person occupies a smaller area of the image. In such cases, the facial features become unclear and can even appear distorted.

Attached are some reference images from my tests. Could you please advise if there are any methods or settings available within the repository that might help address and fix this issue with facial clarity?

The face reference image: Snipaste_2024-02-22_18-15-06 (1)

The full body result images: ComfyUI_00674_ ComfyUI_00664_ ComfyUI_00665_ ComfyUI_00666_

This is my comfyui workflow: workflow (6).json

Thank you for your assistance.

meatflavourdev commented 4 months ago

Care to provide an example of the failure state to which you are referring so we can see the problem itself? (scene generation with small resolution reference face)

wangyanmeego commented 4 months ago

I have put some failed examples in Google Drive. When the face occupies a small proportion of the scene, the final face will be distorted and deformed.