Files
ComfyUI-SAM3DBody/workflows/workflow.json
PozzettiAndrea b768bd9836 att
2026-02-21 16:18:12 +01:00

1 line
5.3 KiB
JSON

{"id": "0ee524cd-7bc8-46f2-8751-32399825f67b", "revision": 0, "last_node_id": 15, "last_link_id": 19, "nodes": [{"id": 3, "type": "LoadImage", "pos": [-139.9653501897791, -168.41867158918637], "size": [274.080078125, 314], "flags": {}, "order": 0, "mode": 0, "inputs": [{"localized_name": "image", "name": "image", "type": "COMBO", "widget": {"name": "image"}, "link": null}, {"localized_name": "choose file to upload", "name": "upload", "type": "IMAGEUPLOAD", "widget": {"name": "upload"}, "link": null}], "outputs": [{"localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [14]}, {"localized_name": "MASK", "name": "MASK", "type": "MASK", "links": [15]}], "properties": {"cnr_id": "comfy-core", "ver": "0.3.70", "Node name for S&R": "LoadImage"}, "widgets_values": ["masked_dancing.png", "image"]}, {"id": 4, "type": "PreviewImage", "pos": [705.8783998102209, -199.28585908918637], "size": [243.07247747469546, 259.74870734460893], "flags": {}, "order": 4, "mode": 0, "inputs": [{"localized_name": "images", "name": "images", "type": "IMAGE", "link": 17}], "outputs": [], "properties": {"cnr_id": "comfy-core", "ver": "0.3.70", "Node name for S&R": "PreviewImage"}, "widgets_values": []}, {"id": 13, "type": "SAM3DBodyProcess", "pos": [267.1573144481552, -348.8879498866859], "size": [297.73203125, 122], "flags": {}, "order": 2, "mode": 0, "inputs": [{"localized_name": "model", "name": "model", "type": "SAM3D_MODEL", "link": 13}, {"localized_name": "image", "name": "image", "type": "IMAGE", "link": 14}, {"localized_name": "mask", "name": "mask", "shape": 7, "type": "MASK", "link": 15}, {"localized_name": "bbox_threshold", "name": "bbox_threshold", "type": "FLOAT", "widget": {"name": "bbox_threshold"}, "link": null}, {"localized_name": "inference_type", "name": "inference_type", "type": "COMBO", "widget": {"name": "inference_type"}, "link": null}], "outputs": [{"localized_name": "mesh_data", "name": "mesh_data", "type": "SAM3D_OUTPUT", "links": [18]}, {"localized_name": "skeleton", "name": "skeleton", "type": "SKELETON", "links": null}, {"localized_name": "debug_image", "name": "debug_image", "type": "IMAGE", "links": [17]}], "properties": {"cnr_id": "ComfyUI-SAM3DBody", "ver": "bcefa6d2943977abb5a194fef84e3bd8a5a4321b", "Node name for S&R": "SAM3DBodyProcess"}, "widgets_values": [0.8, "full"]}, {"id": 15, "type": "SAM3DBodyExportMesh", "pos": [614.9907006843894, -537.7353359649674], "size": [283.3560546875, 58], "flags": {}, "order": 3, "mode": 0, "inputs": [{"localized_name": "mesh_data", "name": "mesh_data", "type": "SAM3D_OUTPUT", "link": 18}, {"localized_name": "filename", "name": "filename", "type": "STRING", "widget": {"name": "filename"}, "link": null}], "outputs": [{"localized_name": "file_path", "name": "file_path", "type": "STRING", "links": [19]}], "properties": {"cnr_id": "ComfyUI-SAM3DBody", "ver": "bcefa6d2943977abb5a194fef84e3bd8a5a4321b", "Node name for S&R": "SAM3DBodyExportMesh"}, "widgets_values": ["output_mesh.stl"]}, {"id": 10, "type": "Preview3D", "pos": [1054.7903972406693, -443.20047541480005], "size": [400, 550], "flags": {}, "order": 5, "mode": 0, "inputs": [{"localized_name": "camera_info", "name": "camera_info", "shape": 7, "type": "LOAD3D_CAMERA", "link": null}, {"localized_name": "bg_image", "name": "bg_image", "shape": 7, "type": "IMAGE", "link": null}, {"localized_name": "model_file", "name": "model_file", "type": "STRING,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D", "widget": {"name": "model_file"}, "link": 19}, {"localized_name": "image", "name": "image", "type": "PREVIEW_3D", "widget": {"name": "image"}, "link": null}], "outputs": [], "properties": {"cnr_id": "comfy-core", "ver": "0.3.75", "Node name for S&R": "Preview3D", "Last Time Model File": "output_mesh.stl", "Scene Config": {"showGrid": true, "backgroundColor": "#282828", "backgroundImage": "", "backgroundRenderMode": "tiled"}, "Camera Config": {"cameraType": "perspective", "fov": 35, "state": {"position": {"x": 6.17623428216848, "y": 10, "z": 6.1762342821684815}, "target": {"x": 0, "y": 2.5, "z": 0}, "zoom": 1, "cameraType": "perspective"}}, "Light Config": {"intensity": 3}}, "widgets_values": ["", ""]}, {"id": 12, "type": "LoadSAM3DBodyModel", "pos": [-111.51691116659465, -471.03296285519843], "size": [273.7994140625, 106], "flags": {}, "order": 1, "mode": 0, "inputs": [{"localized_name": "model_path", "name": "model_path", "type": "STRING", "widget": {"name": "model_path"}, "link": null}, {"localized_name": "attn_backend", "name": "attn_backend", "type": "COMBO", "widget": {"name": "attn_backend"}, "link": null}, {"localized_name": "precision", "name": "precision", "type": "COMBO", "widget": {"name": "precision"}, "link": null}], "outputs": [{"localized_name": "model", "name": "model", "type": "SAM3D_MODEL", "links": [13]}], "properties": {"cnr_id": "ComfyUI-SAM3DBody", "ver": "bcefa6d2943977abb5a194fef84e3bd8a5a4321b", "Node name for S&R": "LoadSAM3DBodyModel"}, "widgets_values": ["/home/shadeform/sam3dbody/ComfyUI/models/sam3dbody", "auto", "fp32"]}], "links": [[13, 12, 0, 13, 0, "SAM3D_MODEL"], [14, 3, 0, 13, 1, "IMAGE"], [15, 3, 1, 13, 2, "MASK"], [17, 13, 2, 4, 0, "IMAGE"], [18, 13, 0, 15, 0, "SAM3D_OUTPUT"], [19, 15, 0, 10, 2, "STRING"]], "groups": [], "config": {}, "extra": {"ds": {"scale": 0.9810956222248073, "offset": [150.981718798901, 734.9200209922046]}, "frontendVersion": "1.35.9", "workflowRendererVersion": "LG"}, "version": 0.4}