Expand latent upscale spatial stitch controls

This commit is contained in:
2026-09-03 15:35:39 +00:00
parent 36d9f4369c
commit c89570eae9
5 changed files with 25 additions and 8 deletions
+5 -1
View File
@@ -473,10 +473,12 @@ class H3LatentUpscaleParams:
"tooltip": "Width in pixels of the freeze-to-free transition inside each overlap strip. 0 freezes the whole strip, matching the upstream default."}),
"overlap_mode": (["earlier", "later"], {"default": "earlier",
"tooltip": "Which tile wins the overlap band when stitching the spatial batches back together."}),
"overlap_blend": (["linear", "smoothstep", "overwrite", "midpoint"], {"default": "linear",
"tooltip": "How overlap bands are blended when the spatial batches are stitched back together."}),
}
}
def build(self, mode, model_name, method, width, height, device, precision, sampler_name, scheduler, steps, denoise, megapixels, tile_width, tile_height, overlap, fade_width, overlap_mode):
def build(self, mode, model_name, method, width, height, device, precision, sampler_name, scheduler, steps, denoise, megapixels, tile_width, tile_height, overlap, fade_width, overlap_mode, overlap_blend):
width = int(width)
height = int(height)
steps = int(steps)
@@ -500,6 +502,7 @@ class H3LatentUpscaleParams:
"overlap": overlap,
"fade_width": fade_width,
"overlap_mode": overlap_mode,
"overlap_blend": overlap_blend,
},)
if width > 0:
width = int(round(width / 32.0)) * 32
@@ -524,6 +527,7 @@ class H3LatentUpscaleParams:
"overlap": overlap,
"fade_width": fade_width,
"overlap_mode": overlap_mode,
"overlap_blend": overlap_blend,
},)