BennyKok / comfyui-deploy

An open source `vercel` like deployment platform for Comfy UI
https://comfydeploy.ing
GNU Affero General Public License v3.0
770 stars 85 forks source link

Load Dynamic Number of Images As Input #41

Open skyler14 opened 3 months ago

skyler14 commented 3 months ago

I would like to be able to as input provide a list of images in certain cases. This is achieved easily in comfyUI by uploading individual pictures and making a batch out of them, but there is no dynamic way to automatically generate the batch from a list of pictures. As a complex example showing some edge cases of input let's say I was doing a pic2pic image generation, I was providing a batch of images to ipAdapter, an individual picture for the latent p2p stuff, and a picture batch for a roop like face swap step.

The desired inputs are: IpAdapter Image: 1 to N pictures Input Image: 1 picture RoopSwap Image: 1 to N pictures

If there are custom_nodes which are compatible with adding N pictures dynamically and already compatible with ComfyDeploy that would also a great solution.