mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2025-12-09 12:54:27 +08:00
784 lines
13 KiB
JSON
784 lines
13 KiB
JSON
{
|
|
"last_node_id": 44,
|
|
"last_link_id": 53,
|
|
"nodes": [
|
|
{
|
|
"id": 17,
|
|
"type": "Hy3DExportMesh",
|
|
"pos": [
|
|
1196.6796875,
|
|
297.24859619140625
|
|
],
|
|
"size": [
|
|
315,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "HY3DMESH",
|
|
"link": 50
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "glb_path",
|
|
"type": "STRING",
|
|
"links": [
|
|
16
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Hy3DExportMesh"
|
|
},
|
|
"widgets_values": [
|
|
"3D/Hy3D"
|
|
]
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "Hy3DGenerateMesh",
|
|
"pos": [
|
|
788.6826782226562,
|
|
314.4889831542969
|
|
],
|
|
"size": [
|
|
315,
|
|
266
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "HY3DMODEL",
|
|
"link": 11
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 12
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": null,
|
|
"shape": 7
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "HY3DMESH",
|
|
"links": [
|
|
41
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Hy3DGenerateMesh"
|
|
},
|
|
"widgets_values": [
|
|
256,
|
|
5.5,
|
|
20,
|
|
30,
|
|
0,
|
|
"fixed",
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "Hy3DModelLoader",
|
|
"pos": [
|
|
-26.903257369995117,
|
|
317.20623779296875
|
|
],
|
|
"size": [
|
|
469.1158447265625,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "HY3DMODEL",
|
|
"links": [
|
|
11
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Hy3DModelLoader"
|
|
},
|
|
"widgets_values": [
|
|
"hy3dgen/hunyuan3d-dit-v2-0-fp16.safetensors",
|
|
"bf16",
|
|
"main_device"
|
|
]
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-39.34626388549805,
|
|
519.6657104492188
|
|
],
|
|
"size": [
|
|
315,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
12,
|
|
27
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"demo.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 32,
|
|
"type": "ImageResizeKJ",
|
|
"pos": [
|
|
319.2147521972656,
|
|
518.7793579101562
|
|
],
|
|
"size": [
|
|
315,
|
|
266
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 27
|
|
},
|
|
{
|
|
"name": "get_image_size",
|
|
"type": "IMAGE",
|
|
"link": null,
|
|
"shape": 7
|
|
},
|
|
{
|
|
"name": "width_input",
|
|
"type": "INT",
|
|
"link": null,
|
|
"widget": {
|
|
"name": "width_input"
|
|
},
|
|
"shape": 7
|
|
},
|
|
{
|
|
"name": "height_input",
|
|
"type": "INT",
|
|
"link": null,
|
|
"widget": {
|
|
"name": "height_input"
|
|
},
|
|
"shape": 7
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
31
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageResizeKJ"
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
512,
|
|
"lanczos",
|
|
false,
|
|
2,
|
|
0,
|
|
0,
|
|
"disabled"
|
|
]
|
|
},
|
|
{
|
|
"id": 35,
|
|
"type": "Hy3DDelightImage",
|
|
"pos": [
|
|
360.30718994140625,
|
|
880.1221313476562
|
|
],
|
|
"size": [
|
|
278.7183837890625,
|
|
222
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "delight_pipe",
|
|
"type": "DELIGHTMODEL",
|
|
"link": 30
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 31
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
42
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Hy3DDelightImage"
|
|
},
|
|
"widgets_values": [
|
|
50,
|
|
512,
|
|
512,
|
|
1.5,
|
|
1,
|
|
42,
|
|
"fixed"
|
|
]
|
|
},
|
|
{
|
|
"id": 28,
|
|
"type": "DownloadAndLoadHy3DDelightModel",
|
|
"pos": [
|
|
-92.68527221679688,
|
|
931.724365234375
|
|
],
|
|
"size": [
|
|
390.5999755859375,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "delight_model",
|
|
"type": "DELIGHTMODEL",
|
|
"links": [
|
|
30
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DownloadAndLoadHy3DDelightModel"
|
|
},
|
|
"widgets_values": [
|
|
"hunyuan3d-delight-v2-0"
|
|
]
|
|
},
|
|
{
|
|
"id": 38,
|
|
"type": "DownloadAndLoadHy3DPaintModel",
|
|
"pos": [
|
|
27.231290817260742,
|
|
1277.5570068359375
|
|
],
|
|
"size": [
|
|
327.5999755859375,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "multiview_model",
|
|
"type": "HY3DPAINTMODEL",
|
|
"links": [
|
|
40
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DownloadAndLoadHy3DPaintModel"
|
|
},
|
|
"widgets_values": [
|
|
"hunyuan3d-paint-v2-0"
|
|
]
|
|
},
|
|
{
|
|
"id": 40,
|
|
"type": "Hy3DRenderMultiView",
|
|
"pos": [
|
|
442.81689453125,
|
|
1235.6292724609375
|
|
],
|
|
"size": [
|
|
315,
|
|
218
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "HY3DPAINTMODEL",
|
|
"link": 40
|
|
},
|
|
{
|
|
"name": "mesh",
|
|
"type": "HY3DMESH",
|
|
"link": 41
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 42
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
43,
|
|
52
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "renderer",
|
|
"type": "MESHRENDER",
|
|
"links": [
|
|
49
|
|
],
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Hy3DRenderMultiView"
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
1024,
|
|
1024,
|
|
30,
|
|
20505049253996,
|
|
"fixed"
|
|
]
|
|
},
|
|
{
|
|
"id": 42,
|
|
"type": "Hy3DBakeFromMultiview",
|
|
"pos": [
|
|
1181.4566650390625,
|
|
1228.487060546875
|
|
],
|
|
"size": [
|
|
302.4000244140625,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 53
|
|
},
|
|
{
|
|
"name": "renderer",
|
|
"type": "MESHRENDER",
|
|
"link": 49
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "HY3DMESH",
|
|
"links": [
|
|
50
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "texture",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
51
|
|
],
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Hy3DBakeFromMultiview"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 44,
|
|
"type": "ImageResizeKJ",
|
|
"pos": [
|
|
810.0359497070312,
|
|
969.3644409179688
|
|
],
|
|
"size": [
|
|
315,
|
|
266
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 52
|
|
},
|
|
{
|
|
"name": "get_image_size",
|
|
"type": "IMAGE",
|
|
"link": null,
|
|
"shape": 7
|
|
},
|
|
{
|
|
"name": "width_input",
|
|
"type": "INT",
|
|
"link": null,
|
|
"widget": {
|
|
"name": "width_input"
|
|
},
|
|
"shape": 7
|
|
},
|
|
{
|
|
"name": "height_input",
|
|
"type": "INT",
|
|
"link": null,
|
|
"widget": {
|
|
"name": "height_input"
|
|
},
|
|
"shape": 7
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
53
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageResizeKJ"
|
|
},
|
|
"widgets_values": [
|
|
1024,
|
|
1024,
|
|
"lanczos",
|
|
false,
|
|
2,
|
|
0,
|
|
0,
|
|
"disabled"
|
|
]
|
|
},
|
|
{
|
|
"id": 39,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
809.10205078125,
|
|
1339.7532958984375
|
|
],
|
|
"size": [
|
|
674.2760620117188,
|
|
472.11846923828125
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 43
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 43,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1566.8302001953125,
|
|
1045.7491455078125
|
|
],
|
|
"size": [
|
|
549.4154052734375,
|
|
585.087646484375
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 51
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "Preview3D",
|
|
"pos": [
|
|
1556.108642578125,
|
|
183.51377868652344
|
|
],
|
|
"size": [
|
|
593.275146484375,
|
|
819.126953125
|
|
],
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model_file",
|
|
"type": "STRING",
|
|
"link": 16,
|
|
"widget": {
|
|
"name": "model_file"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "Preview3D"
|
|
},
|
|
"widgets_values": [
|
|
"/home/kijai/AI/ComfyUI/output/3D/Hy3D_00008_.glb",
|
|
true,
|
|
"perspective",
|
|
"front",
|
|
"original",
|
|
"#000000",
|
|
16,
|
|
"original",
|
|
75,
|
|
null
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
11,
|
|
10,
|
|
0,
|
|
12,
|
|
0,
|
|
"HY3DMODEL"
|
|
],
|
|
[
|
|
12,
|
|
13,
|
|
0,
|
|
12,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
16,
|
|
17,
|
|
0,
|
|
15,
|
|
0,
|
|
"STRING"
|
|
],
|
|
[
|
|
27,
|
|
13,
|
|
0,
|
|
32,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
30,
|
|
28,
|
|
0,
|
|
35,
|
|
0,
|
|
"DELIGHTMODEL"
|
|
],
|
|
[
|
|
31,
|
|
32,
|
|
0,
|
|
35,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
40,
|
|
38,
|
|
0,
|
|
40,
|
|
0,
|
|
"HY3DPAINTMODEL"
|
|
],
|
|
[
|
|
41,
|
|
12,
|
|
0,
|
|
40,
|
|
1,
|
|
"HY3DMESH"
|
|
],
|
|
[
|
|
42,
|
|
35,
|
|
0,
|
|
40,
|
|
2,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
43,
|
|
40,
|
|
0,
|
|
39,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
49,
|
|
40,
|
|
1,
|
|
42,
|
|
1,
|
|
"MESHRENDER"
|
|
],
|
|
[
|
|
50,
|
|
42,
|
|
0,
|
|
17,
|
|
0,
|
|
"HY3DMESH"
|
|
],
|
|
[
|
|
51,
|
|
42,
|
|
1,
|
|
43,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
52,
|
|
40,
|
|
0,
|
|
44,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
53,
|
|
44,
|
|
0,
|
|
42,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.5559917313492311,
|
|
"offset": [
|
|
840.6557492981949,
|
|
-171.4448217689122
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |