tencent-ailab / IP-Adapter

The image prompt adapter is designed to enable a pretrained text-to-image diffusion model to generate images with image prompt.
Apache License 2.0
4.46k stars 289 forks source link

How can i retain the detail and structure of the reference image as much as possible #374

Open LeDuySon opened 1 month ago

LeDuySon commented 1 month ago

Thank you guys for great work! I want to ask how can i retain the info of the reference image as much as possible so that i can have a reference background that is consistent for every image. Do you guys have any suggestion for this?

aycaecemgul commented 1 month ago

You can use img2img pipeline with controlnet.

LeDuySon commented 1 month ago

Thanks @aycaecemgul. Can you give me more detailed about that? I want to generate a background for a product given that the background will be generated based on a reference image but i have tried with ip-adapter, the background changed a lot