[object Object]

← back to Wallco Ai

heal: drop SDXL-inpaint strength 0.95 -> 0.7 (blend with surrounding pixels instead of full replacement, preserves the flat-screen-print aesthetic on tone-on-tone designs)

b9620808bad7f92b6fa291a9f08d754c9668b1ec · 2026-05-28 07:30:21 -0700 · Steve Abrams

Files touched

Diff

commit b9620808bad7f92b6fa291a9f08d754c9668b1ec
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu May 28 07:30:21 2026 -0700

    heal: drop SDXL-inpaint strength 0.95 -> 0.7 (blend with surrounding pixels instead of full replacement, preserves the flat-screen-print aesthetic on tone-on-tone designs)
---
 scripts/heal-region-inpaint.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/heal-region-inpaint.py b/scripts/heal-region-inpaint.py
index 6d7424b..f10353d 100644
--- a/scripts/heal-region-inpaint.py
+++ b/scripts/heal-region-inpaint.py
@@ -102,7 +102,9 @@ def run_inpaint(src_png_path, mask_img, prompt):
             'mask': to_data_url(mask_img),
             'prompt': prompt,
             'steps': 30,
-            'strength': 0.95,        # strong inpaint — full replacement in masked area
+            'strength': 0.7,         # blend with surrounding pixels (was 0.95 = full
+                                     # replacement, which lost the flat-screen-print
+                                     # aesthetic on tone-on-tone designs)
             'num_outputs': 1,
         }
     )

← 2d60ba7 design page: backfill palette from PG when snapshot lacks it  ·  back to Wallco Ai  ·  etsy pipeline: brand → Fentucci Designs (was Designer Wallco f32ecb6 →