ComfyUI Node

SAM3 Prompt To Mask

A ComfyUI node in Info-Prompt-Toolkit/Mask with 5 inputs and 4 outputs.

By kinorax·Created 4 months ago·Updated 2 months ago· 1
SAM3 Prompt To Mask
  • image
  • mask
  • match_count
  • scores_json
  • boxes_json
promptperson
score_threshold0.15
combine_modeunion
deviceauto
CategoryInfo-Prompt-Toolkit/Mask

Inputs (5)

NameTypeDefaultDescription
imageIMAGEInput image batch processed with the same SAM3 text prompt
promptSTRINGpersonText prompt used to select target objects. Comma-separated prompts are treated as OR
score_thresholdFLOAT0.150–1Detections below this score are discarded when scores are available
combine_modeCOMBOunionunion merges all matched masks. top1 keeps only the top-scoring one for each comma-separated prompt
deviceCOMBOautoExecution device for the SAM3 runtime

Outputs (4)

NameTypeDescription
maskMASK
match_countINT
scores_jsonSTRING
boxes_jsonSTRING