Files
PozzettiAndrea-ComfyUI-SAM3…/workflows/multiple_masks.json
T

454 lines
8.5 KiB
JSON

{
"id": "0ee524cd-7bc8-46f2-8751-32399825f67b",
"revision": 0,
"last_node_id": 39,
"last_link_id": 45,
"nodes": [
{
"id": 24,
"type": "LoadSAM3DBodyModel",
"pos": [
-181.73971384816508,
-313.53856242252346
],
"size": [
273.7994140625,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "model",
"type": "SAM3D_MODEL",
"links": [
32
]
}
],
"properties": {
"cnr_id": "ComfyUI-SAM3DBody",
"ver": "5fef822c291d4a440e8392acdc40fa3d93a0820d",
"Node name for S&R": "LoadSAM3DBodyModel"
},
"widgets_values": [
"/home/shadeform/sam3dbody/ComfyUI/models/sam3dbody"
]
},
{
"id": 18,
"type": "SAM3DBodyExportMultipleFBX",
"pos": [
222.38422292904016,
-227.90952348436795
],
"size": [
472.8209914560281,
66.0615413230899
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "multi_mesh_data",
"type": "SAM3D_MULTI_OUTPUT",
"link": 23
}
],
"outputs": [
{
"name": "fbx_path",
"type": "STRING",
"links": [
37
]
}
],
"properties": {
"cnr_id": "ComfyUI-SAM3DBody",
"ver": "0cb5527a152b90d4cfa1d2389f47997ca701d141",
"Node name for S&R": "SAM3DBodyExportMultipleFBX"
},
"widgets_values": [
"sam3d_multi_rigged.fbx"
]
},
{
"id": 29,
"type": "Preview3D",
"pos": [
850.0933104762935,
-260.723864792151
],
"size": [
400,
550
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "camera_info",
"shape": 7,
"type": "LOAD3D_CAMERA",
"link": null
},
{
"name": "bg_image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "model_file",
"type": "STRING",
"widget": {
"name": "model_file"
},
"link": 37
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.6.0",
"Node name for S&R": "Preview3D",
"Camera Config": {
"cameraType": "perspective",
"fov": 75,
"state": {
"position": {
"x": -1.1032997283145334,
"y": 3.2156095975937475,
"z": 4.408151459126793
},
"target": {
"x": 0,
"y": 1.290530645611945,
"z": 0
},
"zoom": 1,
"cameraType": "perspective"
}
},
"Last Time Model File": "sam3d_multi_rigged.fbx",
"Scene Config": {
"showGrid": true,
"backgroundColor": "#282828",
"backgroundImage": "",
"backgroundRenderMode": "tiled"
},
"Light Config": {
"intensity": 3
}
},
"widgets_values": [
"sam3d_multi_rigged.fbx",
""
]
},
{
"id": 36,
"type": "MultibandToImage",
"pos": [
-175.9559301211466,
-114.33880857459438
],
"size": [
270,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "multiband",
"type": "MULTIBAND_IMAGE",
"link": 42
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
43
]
}
],
"properties": {
"cnr_id": "comfyui-multiband",
"ver": "9b51a21173c154aa9adae9e8b76db5e82f87f657",
"Node name for S&R": "MultibandToImage",
"aux_id": "PozzettiAndrea/ComfyUI-Multiband"
},
"widgets_values": [
"0,1,2"
]
},
{
"id": 16,
"type": "SAM3DBodyProcessMultiple",
"pos": [
310.13806988037925,
-51.40382894461709
],
"size": [
294.4166015625,
142
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "SAM3D_MODEL",
"link": 32
},
{
"name": "image",
"type": "IMAGE",
"link": 43
},
{
"name": "masks",
"type": "MASK",
"link": 45
},
{
"name": "depth_map",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "multi_mesh_data",
"type": "SAM3D_MULTI_OUTPUT",
"links": [
23
]
},
{
"name": "preview",
"type": "IMAGE",
"links": [
21
]
}
],
"properties": {
"cnr_id": "ComfyUI-SAM3DBody",
"ver": "0cb5527a152b90d4cfa1d2389f47997ca701d141",
"Node name for S&R": "SAM3DBodyProcessMultiple"
},
"widgets_values": [
"full",
false
]
},
{
"id": 39,
"type": "MultibandToMasks",
"pos": [
-171.71536834138104,
57.60299660377296
],
"size": [
272.62109375,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "multiband",
"type": "MULTIBAND_IMAGE",
"link": 44
}
],
"outputs": [
{
"name": "masks",
"type": "MASK",
"links": [
45
]
}
],
"properties": {
"cnr_id": "comfyui-multiband",
"ver": "fc620d0d8eee86ab8dc75990df5f0a24e35dbdb3",
"Node name for S&R": "MultibandToMasks",
"aux_id": "PozzettiAndrea/ComfyUI-Multiband"
},
"widgets_values": [
"0",
true
]
},
{
"id": 35,
"type": "MultibandLoad",
"pos": [
-504.6900417936712,
25.823169588315913
],
"size": [
270,
122
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "multiband",
"type": "MULTIBAND_IMAGE",
"links": [
42,
44
]
},
{
"name": "num_channels",
"type": "INT",
"links": null
},
{
"name": "channel_names",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-multiband",
"ver": "9b51a21173c154aa9adae9e8b76db5e82f87f657",
"Node name for S&R": "MultibandLoad",
"aux_id": "PozzettiAndrea/ComfyUI-Multiband"
},
"widgets_values": [
"people.npz",
true
]
},
{
"id": 4,
"type": "PreviewImage",
"pos": [
534.5683873065636,
151.11197305797026
],
"size": [
216.20494921875002,
289.44467187500004
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 21
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.70",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
}
],
"links": [
[
21,
16,
1,
4,
0,
"IMAGE"
],
[
23,
16,
0,
18,
0,
"SAM3D_MULTI_OUTPUT"
],
[
32,
24,
0,
16,
0,
"SAM3D_MODEL"
],
[
37,
18,
0,
29,
2,
"STRING"
],
[
42,
35,
0,
36,
0,
"MULTIBAND_IMAGE"
],
[
43,
36,
0,
16,
1,
"IMAGE"
],
[
44,
35,
0,
39,
0,
"MULTIBAND_IMAGE"
],
[
45,
39,
0,
16,
2,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7620673308696438,
"offset": [
682.3283208744734,
617.9791699016657
]
},
"frontendVersion": "1.35.9",
"workflowRendererVersion": "LG"
},
"version": 0.4
}