support source image?

#1
by little-lake-studios - opened

Hi nice work, thanks. does this mean we can use a source image to start with ?

there's are two ways to use source images and I think you're referring to the one it doesn't support, there's an example here: https://huggingface.co/OzzyGT/moss_image_custom_blocks which is using an image as reference for generation or edititing if you use a lora, if you're referring to the normal img2img that other models has, it doesn't but it's not hard to add it.

Let me know which one you're referring.

I was referring to normal img2img with strength.
and in that custom blocks ref there is no image source I could see...

thanks much

sorry it took me this long, but I added the img2img to the custom blocks here: https://huggingface.co/OzzyGT/moss_image_custom_blocks#image-to-image you should be able to use it if you update the blocks.

nice. I will check it out. does it support sending in an image array like diffusers?
thanks much

it supports an array of images with also the equivalent promps, e.g.:

pipe(prompt=["a watercolor ...", "an oil painting ..."], image=[img_a, img_b])

if you want to use the same prompt for multiple images, you just need to repeat the prompt for the n images.

Sign up or log in to comment