diffusionbee-stable-diffusion-ui icon indicating copy to clipboard operation
diffusionbee-stable-diffusion-ui copied to clipboard

Feature Request: Full History/Custom save location

Open LePips opened this issue 2 years ago • 6 comments

This differs from https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/issues/24 because there already is a history, however it only saves within the current application session.

I request the history is kept across openings or provide a custom save location for every generation.

A brainstormed folder structure:

Directory: DiffusionBeeGenerations/

  • Generation-{ timestamp/UUID }
    • prompt.txt
    • image1.png
    • image2.png
    • image3.png
    • ...
  • Generation-{ timestamp/UUID }
    • prompt.txt
    • image1.png
    • ...

Where prompt.txt contains the single-line prompt for that generation.

This would also be a change in behavior of how images are saved since they are already saved on generation, however this is open to complete customization as it sees fit.

LePips avatar Sep 21 '22 20:09 LePips

I'd even be happy with just a flat directory with files like {timestamp}_{prompt}_{n}.png which defaults to be ~/.diffusionbee/images and can (eventually) be customised to be any other directory.

daaain avatar Sep 22 '22 16:09 daaain

I really don't like any idea where the prompt is part of the image name. Prompts are at least dozens of characters and can be up to hundreds.

LePips avatar Sep 22 '22 16:09 LePips

All right, apparently the file name length limit can be as few as 255 characters so that's indeed not going to be scalable for long prompts.

daaain avatar Sep 22 '22 17:09 daaain

Maybe dump the prompt into a .txt file with the same name as the image next to it.

ff6347 avatar Sep 23 '22 09:09 ff6347

I request the history is kept across openings

This has happened

or custom save location for every generation

This should still happen :) Could you rename your issue title to maybe just "Feature Request: Custom save location"

Leland avatar Nov 02 '22 17:11 Leland

You actually do have History and one folder with all the images generated: /Users/yourname/.diffusionbee/images

enzyme69 avatar Nov 04 '22 22:11 enzyme69