Nodes/comfyui-jz/jz Seam Carve
ComfyUI Node

jz Seam Carve

A ComfyUI node in jz/image with 7 inputs and 1 output.

By j-zhang19·Created 22 days ago·Updated 6 days ago· 2
jz Seam Carve
  • image
  • protect_mask
  • remove_mask
  • IMAGE
target_width0
target_height0
energyforward
use_lumatrue
Categoryjz/image

Inputs (7)

NameTypeDefaultDescription
imageIMAGE
target_widthINT00–163840 = keep width; smaller carves, larger inserts
target_heightINT00–163840 = keep height
energyCOMBOforward2 options: forward, backward
use_lumaBOOLEANtrueenergy on BT.601 luma (off = RGB gradients)
protect_maskoptMASKseams avoid these pixels
remove_maskoptMASKseams eat these pixels first (carve at least the object's width)

Outputs (1)

NameTypeDescription
IMAGEIMAGE