ComfyUI Node

QBB_PenTool

Pen tool editor: draw paths/shapes, selections, text, and brushes on a canvas; outputs composite image, mask, stroke layer, alpha image, and path JSON.

By rhinoflavored·Created 20 days ago·Updated 20 days ago· 0
QBB_PenTool
  • image
  • image_2
  • image_3
  • image_4
  • image_5
  • image_6
  • image_7
  • image_8
  • image_9
  • image_10
  • image_11
  • image_12
  • image_13
  • image_14
  • image_15
  • image_16
  • image
  • mask
  • stroke_image
  • image_alpha
  • path_json
path_data{"version":2,"canvas":{"width":1024,"height":1024,"backgroundColor":"#FFFFFF","backgroundFillMode":"none"},"styles":{"maskFeather":0},"strokePaths":[],"selectionPaths":[],"imageLayers":[]}
CategoryQBB/ComfyUI_QBB_PenTool

Inputs (17)

NameTypeDefaultDescription
path_dataSTRING{"version":2,"canvas":{"width":1024,"height":1024,"backgroundColor":"#FFFFFF","backgroundFillMode":"none"},"styles":{"maskFeather":0},"strokePaths":[],"selectionPaths":[],"imageLayers":[]}Internal path data maintained by the Pen Editor (hidden in the node UI)
imageoptIMAGEOptional. Single or batch IMAGE; connecting one adds the next image slot. Multiple inputs merge into editor layers (or use one batch input).
image_2optIMAGEOptional image slot 2 (batch OK)
image_3optIMAGEOptional image slot 3 (batch OK)
image_4optIMAGEOptional image slot 4 (batch OK)
image_5optIMAGEOptional image slot 5 (batch OK)
image_6optIMAGEOptional image slot 6 (batch OK)
image_7optIMAGEOptional image slot 7 (batch OK)
image_8optIMAGEOptional image slot 8 (batch OK)
image_9optIMAGEOptional image slot 9 (batch OK)
image_10optIMAGEOptional image slot 10 (batch OK)
image_11optIMAGEOptional image slot 11 (batch OK)
image_12optIMAGEOptional image slot 12 (batch OK)
image_13optIMAGEOptional image slot 13 (batch OK)
image_14optIMAGEOptional image slot 14 (batch OK)
image_15optIMAGEOptional image slot 15 (batch OK)
image_16optIMAGEOptional image slot 16 (batch OK)

Outputs (5)

NameTypeDescription
imageIMAGE
maskMASK
stroke_imageIMAGE
image_alphaIMAGE
path_jsonSTRING