sd-dynamic-prompts icon indicating copy to clipboard operation
sd-dynamic-prompts copied to clipboard

Prompt template is being written to hires prompt metadata

Open KellyThomas opened this issue 1 year ago • 0 comments

If I generate an image with this plugin it writes the evaluated prompt to the standard standard prompt and the raw templated prompt to the hires prompt.

For example this image was created using this plugin: 00088-1043062365

RAW photo,
World
solarpunk,
(Best quality:1.5),
(High detail:1.5)

Negative prompt: (Worst quality:1.5),
(Low detail:1.5),
B&W,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1043062365, Size: 512x512, Model hash: 463d6a9fe8, Model: absolutereality_v181, Denoising strength: 0.7, Hires prompt: "__nsp/nsp-noun/noun-fantasy__\n__parrotzone/strength/high__", Hires upscale: 2, Hires upscaler: Latent, Version: 1.6.0

If I use this metadata as is in an attempt to recreate this image I get: 00090-1043062365

RAW photo,
World
solarpunk,
(Best quality:1.5),
(High detail:1.5)

Negative prompt: (Worst quality:1.5),
(Low detail:1.5),
B&W,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1043062365, Size: 512x512, Model hash: 463d6a9fe8, Model: absolutereality_v181, Denoising strength: 0.7, Hires prompt: "__nsp/nsp-noun/noun-fantasy__\n__parrotzone/strength/high__", Hires upscale: 2, Hires upscaler: Latent, Version: 1.6.0

However if I then manually remove the hires prompt I can more closely recreate the original image: 00105-1043062365

RAW photo,
World
solarpunk,
(Best quality:1.5),
(High detail:1.5)

Negative prompt: (Worst quality:1.5),
(Low detail:1.5),
B&W,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1043062365, Size: 512x512, Model hash: 463d6a9fe8, Model: absolutereality_v181, Denoising strength: 0.7, Hires upscale: 2, Hires upscaler: Latent, Version: 1.6.0

KellyThomas avatar Sep 10 '23 21:09 KellyThomas