Extensions/comfyui-easy-sam3-tools
ComfyUI Extension

comfyui-easy-sam3-tools

Custom nodes for building SAM3-centric editing pipelines inside ComfyUI, featuring mask merging, bounding box rendering, and DOM-based interactive editing. (Description…

By SuLU-K·Created 8 months ago·Updated 6 months ago· 9
SuLU-K/comfyui-easy-sam3-tools
Nodes6
On cloudLocal install
CategoryTest Nodes/Pose, Test Nodes/SAM3
Stars9
Updated6 months ago
Readme

comfyui-easy-sam3-tools

SAM3 Interactive BBox Editor

Custom nodes for building SAM3-centric editing pipelines inside ComfyUI. They pair well with comfyui-easy-sam3 and comfyui-kjnodes, letting you harness SAM3’s zero-shot segmentation accuracy for precise masks that can drive local inpainting, editing, or any downstream compositing task.

Nodes

| Node | Description | | ---- | ----------- | | Sam3MaskRangeSelector | Consumes ordered SAM3 obj_masks, extracts a configurable slice (take_start, take_count), and merges the selection into a single mask per frame for focused edits. | | Sam3DrawBBox | Renders SAM3 / VLM bounding boxes over image tensors. Accepts JSON strings, {boxes: [...]} payloads, tensors, or per-batch lists, normalizes them, then emits an overlayed tensor. | | Sam3InteractiveBBoxEditor | DOM-based bbox editor widget. Streams the upstream image, lets you author/adjust boxes interactively, and outputs KJ-format bounds alongside the passthrough image for subsequent SAM3 inference. |

Installation

Drop the folder inside ComfyUI/custom_nodes/, then restart ComfyUI.