第三方插件 ComfyUI-KJNodes

Create Shape Mask

Create Shape Mask 213

用于创建基本几何形状的蒙版。它可以生成圆形、方形或三角形的蒙版,并支持创建动画蒙版序列。Create Shape

节点中英文对比

按当前节点配置,分别展示中文与英文节点结构。

中文节点
Create Shape Mask
  • 遮罩
  • mask_inverted
  • shape
    frames
    location_x
    location_y
    grow
    frame_width
    frame_height
    shape_width
    shape_height
    英文节点
    Create Shape Mask
  • mask
  • mask_inverted
  • shape
    frames
    location_x
    location_y
    grow
    frame_width
    frame_height
    shape_width
    shape_height

    参数说明

    依据当前节点关联的 `NodesItems` 数据展示输入、输出与控件说明。

    输出参数
    遮罩 mask
    正常图形区域的掩码,白色区域表示选中部分。
    mask_inverted mask_inverted
    反转后的掩码,背景为白,图形为黑。
    控件参数
    shape shape
    要绘制的形状,可选 'circle', 'square', 'triangle'。
    frames frames
    批次生成的帧数,控制输出的 mask 数量。
    location_x location_x
    形状中心点的 X 坐标。
    location_y location_y
    形状中心点的 Y 坐标。
    grow grow
    每帧增长/缩小的像素值(支持负值缩小)。
    frame_width frame_width
    输出图像的宽度。
    frame_height frame_height
    输出图像的高度。
    shape_width shape_width
    初始图形的宽度。
    shape_height shape_height
    初始图形的高度。

    详细说明

    结合节点用途、参数和调用方式,给出更完整的说明内容。

    暂无节点说明

    同类节点导航

    继续浏览同一分类下的相邻节点,方便串联学习。