Nodes/ComfyUI-YogurtSa2VA/Yogurt Sa2VA Image Segmentation
ComfyUI Node

Yogurt Sa2VA Image Segmentation

Segment one image with a reusable Sa2VA model loaded by Yogurt Sa2VA Model Loader.

By yogurt7771·Created 3 months ago·Updated 3 months ago· 0
Yogurt Sa2VA Image Segmentation
  • sa2va_model
  • image
  • text_output
  • masks
segmentation_promptPlease provide segmentation masks for all objects.
threshold0.50
morphnone
erode_kernel3
dilate_kernel3
iterations1
CategoryYogurtSa2VA

Inputs (8)

NameTypeDefaultDescription
sa2va_modelYOGURT_SA2VA_MODEL
imageIMAGEInput image to segment. Should be in RGB format.
segmentation_promptSTRINGPlease provide segmentation masks for all objects.Text prompt describing what objects to segment in the image.
thresholdFLOAT0.500–1Threshold for converting probability masks to binary masks.
morphCOMBOnone5 options: none, opening, closing, erode, dilate
erode_kernelINT31–50
dilate_kernelINT31–50
iterationsINT11–10

Outputs (2)

NameTypeDescription
text_outputSTRING
masksMASK