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.
Seamless Offset For Inpaint ✦
- image
- shifted_image
- seam_mask
- shift_y
- shift_x
◄mask_width64►
◄feather32►
◄offset_xtrue►
◄offset_ytrue►
Categoryimage/seamless
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mask_width | INT | 648–512 | Total width of the inpaint mask band in pixels. Should be wide enough to cover the visible seam plus blending room. 48–96 is typical. |
| feather | INT | 320–256 | Soft 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_x | BOOLEAN | true | Shift horizontally and mask the vertical seam. |
| offset_y | BOOLEAN | true | Shift vertically and mask the horizontal seam. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| shifted_image | IMAGE | — |
| seam_mask | MASK | — |
| shift_y | INT | — |
| shift_x | INT | — |