namkazt / sd-webui-prompt-history

Automatic store your generation info with image and apply back anytime.
MIT License
103 stars 14 forks source link

Displaying origin (dynamic) prompt #8

Open alexandersokol opened 1 year ago

alexandersokol commented 1 year ago

Hello! First of all - thanks for the great extension, I was already thinking to create something similar.

I had an idea saving positive/negative origin prompts from text boxes to keep dynamic prompts as is. I see that in the left column there are part of origin prompt but it isn't possible to use it because full one that is under an thumbnail is already precessed dynamic prompt. Is there any way to keep origin one?

image
namkazt commented 1 year ago

actually, i only get a substring with 64 chars from the prompt itself. you can use data from the text box here. image

alexandersokol commented 1 year ago

Unfortunately the prompt under thumbnail is already processed one, but I would like to have an option to view the origin one.

For example, here is the origin prompt before Dynamic prompt extension processed it:

image

Prompt name in the left column:

image

And processed prompt under the thumbnal:

image
namkazt commented 1 year ago

aw okey, i got your idea. Did not know it is difference

alexandersokol commented 1 year ago

Some time I would like to build random scenario prompts and use various wildcards and random options from {}, and there is no proper way to save them except notepad...

whereswaldodude commented 1 year ago

I think there is a way to. The very differently implemented prompt history extensions can keep them in their history. I bring them up only to say the info can be made accessible, not saying those other extensions are.. well they're not very good imo.

I believe you are using the metadata in the grid.png, so you'd have to save that text separately. In doing that, you could also allow a custom location for the prompt data. This would allow people to keep a proper prompt history in raw text/csv format as a side benefit.

namkazt commented 1 year ago

currently, it should be in the name of each history item.