Nodes/comfyui-fvmtools/SMP · SAM3 Class Router (legacy)
ComfyUI Node

SMP · SAM3 Class Router (legacy)

Returns the regional prompt fragment matching a SAM3 mask class. Useful pattern: SAM3 emits class 'upper_clothes' for a detected person's torso → this node returns the upper-body fragment from the StructuredAssembler — which goes straight into a PersonDetailer per-slot prompt input.

By ping1979ping·Created 5 months ago·Updated 2 months ago· 0
SMP · SAM3 Class Router (legacy)
  • structured
  • prompt_fragment
class_nameupper_clothes
fallback
CategoryFVM Tools/SMP/Output

Inputs (3)

NameTypeDefaultDescription
structuredSTRUCTURED_PROMPTS
class_nameSTRINGupper_clothes
fallbackoptSTRING

Outputs (1)

NameTypeDescription
prompt_fragmentSTRING