ComfyUI Node

Create Seam Mask

Create a centered vertical seam mask (optionally feathered). Useful with Roll Image for seam inpainting.

By cedarconnor·Created about a year ago·Updated 6 months ago· 2
Create Seam Mask
  • image
  • seam_mask
frac_width0.10
pixel_width0
feather0
roll_x_by_50_percentfalse
CategoryLatLong/Mask

Inputs (5)

NameTypeDefaultDescription
imageIMAGEReference image (B,H,W,C) used to size the mask.
frac_widthoptFLOAT0.100–1Fraction of image width for the seam strip (ignored if pixel_width > 0).
pixel_widthoptINT00–8192Explicit seam width in pixels (overrides frac_width if > 0).
featheroptINT00–2048Feather width in pixels on both sides of the seam.
roll_x_by_50_percentoptBOOLEANfalseShift the mask horizontally by 50% (useful if you rolled the image by 180°).

Outputs (1)

NameTypeDescription
seam_maskMASK