cubiq / ComfyUI_InstantID

Apache License 2.0
1.29k stars 72 forks source link

Is there a way to batch process kps images in Apply InstantID? #99

Closed ManOrMonster closed 8 months ago

ManOrMonster commented 8 months ago

I love the feature that allows sending batched face images in order to combine them into one, but I'd also like to send a batch of kps images to batch process them in one sampler pass. Currently "Apply InstantID" only takes one kps image when a batch is sent. I can send a list of images to the node and have it sample one at a time, but that's slower than a batch would be.

Is this planned, or even possible?

cubiq commented 8 months ago

it works already

image

ManOrMonster commented 8 months ago

OK, my brain is fried. I completely forgot that I have to manually set the batch number in the Empty Latent Image node (instead I just added your awesome batch count node from Essentials to do this automatically). I also just now learned that I don't need to use KPS pose images or the Face Keypoints Preprocessor to get face poses.

Thanks for the help!