Extensions/ComfyUI SAM3 JSON Boxes API
ComfyUI Extension

ComfyUI SAM3 JSON Boxes API

ComfyUI helper node that converts JSON rectangle regions into SAM3_BOXES_PROMPT for ComfyUI-SAM3.

By daminik124124-ops·Created 2 months ago·Updated 2 months ago· 0
daminik124124-ops/ComfyUI-SAM3-JSON-Boxes-API
Nodes
On cloudLocal install
Stars0
Updated2 months ago
Readme

ComfyUI-SAM3-JSON-Boxes-API v2

Supports these JSON formats:

{ "regions": [{ "x1": 78, "y1": 0, "x2": 312, "y2": 119 }] }
{ "regions": [{ "x1": 78, "y1": 0, "width": 234, "height": 119 }] }
{ "regions": [{ "x": 78, "y": 0, "w": 234, "h": 119 }] }
{ "regions": [{ "x": 78, "y": 0, "width": 234, "height": 119 }] }

The node converts everything into normalized SAM3 box format: center_x, center_y, width, height.

Install folder should be renamed/placed as:

ComfyUI/custom_nodes/ComfyUI-SAM3-JSON-Boxes-API

Search node:

JSON Regions to SAM3 Boxes API