Nodes/ComfyUI-seamless_latent_tiling/Seamless Offset For Inpaint ✦
ComfyUI Node

Seamless Offset For Inpaint ✦

Shifts image by 50% so seams move to center, then generates a feathered cross mask for inpainting. Use with SeamlessOffsetReverse after inpainting to shift back.

By mikemojen·Created 5 months ago·Updated 5 months ago· 0
Seamless Offset For Inpaint ✦
  • image
  • shifted_image
  • seam_mask
  • shift_y
  • shift_x
mask_width64
feather32
offset_xtrue
offset_ytrue
Categoryimage/seamless

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
mask_widthINT648–512Total width of the inpaint mask band in pixels. Should be wide enough to cover the visible seam plus blending room. 48–96 is typical.
featherINT320–256Soft falloff zone in pixels on each side of the mask band. 0 = hard-edged mask. Higher values = smoother blend into surrounding content. Should be ≤ mask_width.
offset_xBOOLEANtrueShift horizontally and mask the vertical seam.
offset_yBOOLEANtrueShift vertically and mask the horizontal seam.

Outputs (4)

NameTypeDescription
shifted_imageIMAGE
seam_maskMASK
shift_yINT
shift_xINT