Create Shape Mask

CreateShapeMask

Creates a mask or batch of masks with the specified shape. Locations are center locations. Grow value is the amount to grow the shape on each frame, creating animated masks.

Pack: KJNodes for ComfyUI

custom_nodes.ComfyUI-KJNodes

Inputs (9)

NameTypeRequired
shapeCOMBOrequired
framesINTrequired
location_xINTrequired
location_yINTrequired
growINTrequired
frame_widthINTrequired
frame_heightINTrequired
shape_widthINTrequired
shape_heightINTrequired

Outputs (2)

NameType
maskMASK
mask_invertedMASK