From d115ed263999800e120115e28b406f5f3bf6839d Mon Sep 17 00:00:00 2001 From: Antonio Cordero Balcazar Date: Fri, 12 Jun 2026 14:05:24 +0200 Subject: [PATCH] * Add "PPP Hires prompt" and "PPP Hires negative prompt" metadata to counteract A1111 hosts bug with bad "Hires prompt" / "Hires negative prompt" metadata when using "Batch count" > 1. --- scripts/ppp_script.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ppp_script.py b/scripts/ppp_script.py index e9800f0..28073d0 100644 --- a/scripts/ppp_script.py +++ b/scripts/ppp_script.py @@ -520,6 +520,9 @@ class PromptPostProcessorA1111Script(scripts.Script): # initialize extra generation parameters if add_prompts: + if hiresfix_exists: + extra_params["PPP Hires prompt"] = rph + extra_params["PPP Hires negative prompt"] = rnh if regular_changes: extra_params["PPP original prompts"] = regular_copy[0] extra_params["PPP original negative prompts"] = regular_copy[1]