krita-ai-diffusion icon indicating copy to clipboard operation
krita-ai-diffusion copied to clipboard

Feature Request: Saving prompt presets

Open AnalogKnight opened this issue 2 years ago • 4 comments

Scenario Example: If I have two characters in my screen, I now want to have the AI improve each of those characters. Suppose character 1 is a woman, wearing a dress, and character 2 is a man, wearing a suit. Then I may need to enter the following prompts for each:

  1. female, dress
  2. male, suit If I improve character 1 first and then character 2, and if I realize later that character 1 is not perfect, then I need to clear the prompts and re-enter them.

If I could save prompt presets (following the .kra file) this would be a lot easier, especially since precise descriptions of content usually require dozens of prompts. While I could keep track of prompts with the help of an external notepad, it would be difficult to manage them as the work grows.

AnalogKnight avatar Feb 10 '24 15:02 AnalogKnight

PS: I know Style Presets do similar things, but many times a set of prompts won't be used in another project and creating too many Style Presets can be confusing.

AnalogKnight avatar Feb 11 '24 10:02 AnalogKnight

You can recall the prompt for each generated image - why doesn't that solve your problem?

daniel-richter avatar Feb 12 '24 16:02 daniel-richter

You can recall the prompt for each generated image - why doesn't that solve your problem?

Thank you for your reply. If I'm debugging the right prompt, the generated images might be in the dozens. Finding and applying the prompts I want in such a long list could go wrong, maybe will accidentally select the wrong image.

AnalogKnight avatar Feb 12 '24 16:02 AnalogKnight

Additionally, the layer name of the applied generation consists of the used prompt. See: https://github.com/Acly/krita-ai-diffusion/issues/232#issuecomment-1857801729

daniel-richter avatar Feb 12 '24 17:02 daniel-richter

Regions (v1.18.0) can now be used to switch between multiple prompts in the same image.

Acly avatar Jun 11 '24 10:06 Acly