Nodes/ComfyUI-YOLOE26/YOLOE-26 Class Masks
ComfyUI Node

YOLOE-26 Class Masks

Segment with a text prompt and return one merged mask per prompt class (all-zero when a class has no detections), with JSON metadata.

By Rinne414·Created 5 months ago·Updated about a month ago· 11
YOLOE-26 Class Masks
  • model
  • image
  • class_masks
  • class_metadata_json
  • output_mask_count
promptperson
conf0.10
iou0.70
max_det300
mask_threshold0.50
imgsz640
CategoryYOLOE26

Inputs (8)

NameTypeDefaultDescription
modelYOLOE_MODEL
imageIMAGE
promptSTRINGpersonText prompt for open-vocabulary segmentation. Separate multiple classes with commas.
confoptFLOAT0.100–1Detection confidence threshold.
iouoptFLOAT0.700–1IoU threshold used by Ultralytics inference.
max_detoptINT3001–1000Maximum number of detections returned per image.
mask_thresholdoptFLOAT0.500–1Threshold used when binarizing instance masks. Recent Ultralytics releases already return binary masks, in which case values below 1.0 have no additional effect and exactly 1.0 empties every mask.
imgszoptINT64064–2048Inference image size.

Outputs (3)

NameTypeDescription
class_masksMASK
class_metadata_jsonSTRING
output_mask_countINT