Extensions/ComfyUI_ImageMaskPainter
ComfyUI Extension

ComfyUI_ImageMaskPainter

An image mask painter/editor node that enables users to draw/paint/edit a mask on an external canvas by inputting an image, outputting a mask for further use. Please turn off ComfyUI and reopen it when first added this node, it will then function as normal.

By mmmmmmmmme·Created 5 months ago·Updated 5 months ago· 0
mmmmmmmmme/ComfyUI_ImageMaskPainter
Nodes
On cloudLocal install
Stars0
Updated5 months ago
Readme

ComfyUI Image Mask Painter

Input an image to draw a mask on the canvas this node provided, outputting a desired mask same size as the input image. Brush size adjustable from 1px to 999px. Prototype version. Welcome to perfect it. Contact:[email protected]

Features

  • Image Input
  • Mask Painting on the Node's Canvas
  • Brush Size from 1-999px
  • Clear All Button
  • Mask Output

Install

Install through ComfyUI Manager by Searching ComfyUI Image Mask Painter

How to use

  1. Image as input <img width="1091" height="613" alt="step01" src="https://github.com/user-attachments/assets/788a46ac-ab42-4f54-bb1c-24c702ea3091" />
  2. Selcect this node, click execute to this node
  3. Paint on the canvas <img width="1091" height="613" alt="step02" src="https://github.com/user-attachments/assets/264d0e2f-dccd-4014-bade-f1d1ed2165c5" />
  4. Click run workflow to get output mask <img width="1091" height="613" alt="step03" src="https://github.com/user-attachments/assets/f98e1246-93f7-463a-8d3a-97eeb75ef589" />

Video

YouTube

Update

  • version 0.1
    1. Fix Mask disappear after executation
    2. Attempt to fix node no render when first load