DiffusionToolkit icon indicating copy to clipboard operation
DiffusionToolkit copied to clipboard

Prompts!!!

Open lerestesunira opened this issue 2 months ago • 7 comments

Hi, it will be nice to have some flexibility in the prompt viewer, it's really a great feature!

  • For example, selecting multiples prompts and copy them, i can only copy one by one :(

Do you know if the prompts are stored somewhere? Thanks

lerestesunira avatar Oct 14 '25 21:10 lerestesunira

The use full text and slider in the prompt viewer does nothing for me.. What it is for?

lerestesunira avatar Oct 16 '25 00:10 lerestesunira

In

Settings -> Metadata

you can enable

"Store raw Metadata for searching"

That will display all prompt and configuration information in a single field for copying.

ooofest avatar Oct 16 '25 02:10 ooofest

It's already checked

lerestesunira avatar Oct 16 '25 08:10 lerestesunira

Good, then you can view the "Raw Metadata" tab for any image and all of its prompt and/or workflow data should be available in one field for convenient copying.

Image

ooofest avatar Oct 19 '25 05:10 ooofest

Thanks, but not useful for me, i'm talking about the prompt tab, where you can see and search prompts. I'm able to copy a prompt only one by one, and i would like to copy them all in 1 click. (The goal is to create wildcards, for example you search for the word house, and then you can copy all the prompts that contain the word house)

lerestesunira avatar Oct 19 '25 09:10 lerestesunira

Oh, you mean copying prompt/workflow values across multiple images at once?

In that case, you might want to request:

  • Multiple images can be selected
  • Get a context menu
  • Copy parameter -> Prompt (or other field)
  • NEW: (concatenates that field value from all selected images., then copies to the clipboard)

Today, that above action only copies the field value from the last selected image.

ooofest avatar Oct 19 '25 18:10 ooofest

Thanks, So that's my request to Mr RupertAvery!

lerestesunira avatar Nov 10 '25 10:11 lerestesunira

Okay, so you want to be able to copy the entire prompt + negative prompt + other parameters in A1111 format?

The thing is that there are different workflows and formats and I need to know what format you want it in.

Instead of "Copy", maybe an another way to "Export to" > "A1111" and maybe some other formats.

RupertAvery avatar Nov 12 '25 14:11 RupertAvery

Hi! No, i want to be able to copy all the positive prompts at once. When you are in the prompt viewer (the prompts page), you look for a word, let say 'house', then you have all the prompts with the word house. Actually we can select and copy one only. What i'd like is to select all and copy all the prompts in one click. Like when you hold ctrl to add one or shift to select many, then 'ctrl c' will copy all the prompts of your selection. And maybe all the associated image will show, like it is now but only for one prompt... Hope i'm clear. I'm using comfyui throught Swarmui, i just want the positive prompt, not the parameters.

And something else, i have all my models in a separate folder, it doesn't work when i add it in the parameters, is there a .json file like in A1111? Or can you add the feature to add a separate folder for the models?

Thanks

lerestesunira avatar Nov 20 '25 13:11 lerestesunira

I have made this meanwhile: https://github.com/lerestesunira/Exiftool-png-prompts-exporter It will extract all prompts from a png image folder and the subfolder to a text file... (using exiftool)

lerestesunira avatar Nov 28 '25 00:11 lerestesunira

Good idea, sometimes this tool doesn't need to do the job we ask, or we can help ourselves in the meantime.

Similarly, because Diffusion Toolkit does not (yet?) support movie file indexing, I worked out a script to extract AI generation metadata from movie files and place their data into snapshot PNGs files which Diffusion Toolkit CAN index. It wasn't a huge leap, just an inspiration from using Diffusion Toolkit on a regular basis and extending its use cases.

ooofest avatar Nov 28 '25 01:11 ooofest