AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.22k stars 26.42k forks source link

[Feature Request]: Prompt history #6645

Open alfonslm opened 1 year ago

alfonslm commented 1 year ago

Is there an existing issue for this?

What would your feature do ?

I have tried out the History extension and being able to roll back prompts is really useful but you can't go forward and the history don't persist after the page reload.

What I really miss is to at least have a text file that saves all used prompts so you can go back and figuring out the exact prompt used.

Proposed workflow

  1. Use prompts
  2. Turn off the computer
  3. Turn on computer
  4. Open prompt history
  5. Reuse known good prompt

Additional information

No response

cakeller98 commented 1 year ago

@alfonslm that info can be saved side-by-side with images as a text file with the same name as the image. I'm not sure, but I think it's also saved as metadata within each image. if not - it should be.

That said, I do like the idea of a dropdown list of prompt history as well.

even better if the prompt history worked as the google chrome omnibox, where if you type a word it filters on the fly.

e.g. if you start typing "rose" then only historical prompts that contained rose would be included. might be a big ask tho.

alfonslm commented 1 year ago

The "Image Browser" extension seems to be able to pull the metadata from the images, but I have some doubts towards the reliability of the metadata without a generation history especially when using inpainting etc.