bloc97 / CrossAttentionControl

Unofficial implementation of "Prompt-to-Prompt Image Editing with Cross Attention Control" with Stable Diffusion
MIT License
1.28k stars 89 forks source link

how to prevent promp 1 from being distorted #11

Open loboere opened 2 years ago

loboere commented 2 years ago

Here is a black box and I want to change its color to red,

image

but changing color also changes the size and shape of the box. how does it change only the color?

image

bloc97 commented 2 years ago

While cross attention control does help in prompt editing, it is not perfect, some changes will be present due to how diffusion models work. What is the output for a red box without using prompt editing? It should be much more different than this one.