leejet / stable-diffusion.cpp

Stable Diffusion and Flux in pure C/C++
MIT License
3.19k stars 270 forks source link

Strength value of image to image #100

Closed Jonathhhan closed 9 months ago

Jonathhhan commented 9 months ago

It seems the useful strength range goes from 0 - 0.5 instead of 0 - 1 (at least the image quality seems to get worse above 0.5). Is that possible?

Jonathhhan commented 9 months ago

I try to explain it with some pictures (all generated with the same settings and LCM): Prompt:

<lora:ohara_koson:1>a cat, ohara koson, traditional media, botanic 
painting

This is strength 0.5 (similar to the original with some variation - that is how I expect image to image to work): Screenshot 2023-12-01 215158 This is strength 0.8: Screenshot 2023-12-01 215345 And this is strength 1 (which is only created by the prompt I guess): Screenshot 2023-12-01 215413

Jonathhhan commented 9 months ago

Works now. Thanks :)