sd-webui-controlnet icon indicating copy to clipboard operation
sd-webui-controlnet copied to clipboard

Fixed seed images not saving

Open ikcikoR opened this issue 2 years ago • 0 comments

Thanks to controlnet, we can now generate an infinite amount of different images using the same seed.

If you edit a scribble, the new image with the same won't be saved if it had the same seed and prompt as the previous image.

That means you can't edit only the scribble and watch how it affects the output because the original image will be the one that gets displayed and the only saved one.

How to reproduce:

  1. Select a fixed seed number
  2. Generate image with controlnet, for example using a scribble painted within webui
  3. Change the input scribble only
  4. Generate a new image

The previous image will display instead of the new one, even tho if you have mid-generation preview you can see a different image is being generated.

Possible solution I think could be to add a hash of controlnet model + input controlnet image at the start of saved file name when controlnet is enabled, tho chances are this isn't what's causing the issue, idk.

ikcikoR avatar Feb 21 '23 13:02 ikcikoR