* add trellis code * test rm json example * modify the json * add multi json example * modify the code(delete json&modify nodes) * add jsons * refine the code * delete the code --------- Co-authored-by: Yao Chi <later@usopp.net>
483 lines
8.2 KiB
JSON
483 lines
8.2 KiB
JSON
{
|
|
"last_node_id": 130,
|
|
"last_link_id": 221,
|
|
"nodes": [
|
|
{
|
|
"id": 109,
|
|
"type": "BizyAir_IF_TrellisCheckpointLoader",
|
|
"pos": [
|
|
427.826416015625,
|
|
214.97315979003906
|
|
],
|
|
"size": [
|
|
315,
|
|
202
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "TRELLIS_MODEL",
|
|
"links": [
|
|
184
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "BizyAir_IF_TrellisCheckpointLoader"
|
|
},
|
|
"widgets_values": [
|
|
"TRELLIS-image-large",
|
|
"dinov2_vitl14_reg",
|
|
true,
|
|
"sage",
|
|
true,
|
|
"implicit_gemm",
|
|
"cuda"
|
|
]
|
|
},
|
|
{
|
|
"id": 67,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-255.80747985839844,
|
|
169.16799926757812
|
|
],
|
|
"size": [
|
|
253.78790283203125,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
216
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"example.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 129,
|
|
"type": "ImageBatch",
|
|
"pos": [
|
|
124.93157196044922,
|
|
200.37672424316406
|
|
],
|
|
"size": [
|
|
210,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image1",
|
|
"type": "IMAGE",
|
|
"link": 216
|
|
},
|
|
{
|
|
"name": "image2",
|
|
"type": "IMAGE",
|
|
"link": 217
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
218
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageBatch"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 128,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
115.71917724609375,
|
|
329.5557861328125
|
|
],
|
|
"size": [
|
|
260.4545593261719,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
217
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"example.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 110,
|
|
"type": "BizyAir_IF_TrellisImageTo3D",
|
|
"pos": [
|
|
763.5936279296875,
|
|
180.81072998046875
|
|
],
|
|
"size": [
|
|
315,
|
|
266
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "TRELLIS_MODEL",
|
|
"link": 184
|
|
},
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 218
|
|
},
|
|
{
|
|
"name": "masks",
|
|
"type": "MASK",
|
|
"link": null,
|
|
"shape": 7
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "trellis_gaussian",
|
|
"type": "trellis_gaussian",
|
|
"links": [
|
|
211
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "trellis_mesh",
|
|
"type": "trellis_mesh",
|
|
"links": [
|
|
212
|
|
],
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "BizyAir_IF_TrellisImageTo3D"
|
|
},
|
|
"widgets_values": [
|
|
"multi",
|
|
1868194310,
|
|
"fixed",
|
|
7.5,
|
|
12,
|
|
3,
|
|
12,
|
|
"stochastic"
|
|
]
|
|
},
|
|
{
|
|
"id": 127,
|
|
"type": "Preview3D",
|
|
"pos": [
|
|
2038.654296875,
|
|
173.84422302246094
|
|
],
|
|
"size": [
|
|
315,
|
|
550
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model_file",
|
|
"type": "STRING",
|
|
"link": 221,
|
|
"widget": {
|
|
"name": "model_file"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "Preview3D"
|
|
},
|
|
"widgets_values": [
|
|
"trellis_output/girl1.glb",
|
|
true,
|
|
"perspective",
|
|
"front",
|
|
"original",
|
|
"#5a5a5a",
|
|
10,
|
|
"original",
|
|
75,
|
|
null
|
|
]
|
|
},
|
|
{
|
|
"id": 125,
|
|
"type": "BizyAir_Trans3D2GlbFile",
|
|
"pos": [
|
|
1106.0250244140625,
|
|
181.43992614746094
|
|
],
|
|
"size": [
|
|
441,
|
|
174
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "trellis_gaussian",
|
|
"type": "trellis_gaussian",
|
|
"link": 211
|
|
},
|
|
{
|
|
"name": "trellis_mesh",
|
|
"type": "trellis_mesh",
|
|
"link": 212
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "url",
|
|
"type": "STRING",
|
|
"links": [
|
|
220
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "texture_image",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "BizyAir_Trans3D2GlbFile"
|
|
},
|
|
"widgets_values": [
|
|
0.95,
|
|
1024,
|
|
"fast",
|
|
true,
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 130,
|
|
"type": "BizyAirDownloadFile",
|
|
"pos": [
|
|
1682.1368408203125,
|
|
202.31492614746094
|
|
],
|
|
"size": [
|
|
315,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "url",
|
|
"type": "STRING",
|
|
"link": 220,
|
|
"widget": {
|
|
"name": "url"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "path",
|
|
"type": "STRING",
|
|
"links": [
|
|
221
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "BizyAirDownloadFile"
|
|
},
|
|
"widgets_values": [
|
|
"",
|
|
"girl"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
184,
|
|
109,
|
|
0,
|
|
110,
|
|
0,
|
|
"TRELLIS_MODEL"
|
|
],
|
|
[
|
|
211,
|
|
110,
|
|
0,
|
|
125,
|
|
0,
|
|
"trellis_gaussian"
|
|
],
|
|
[
|
|
212,
|
|
110,
|
|
1,
|
|
125,
|
|
1,
|
|
"trellis_mesh"
|
|
],
|
|
[
|
|
216,
|
|
67,
|
|
0,
|
|
129,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
217,
|
|
128,
|
|
0,
|
|
129,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
218,
|
|
129,
|
|
0,
|
|
110,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
220,
|
|
125,
|
|
0,
|
|
130,
|
|
0,
|
|
"STRING"
|
|
],
|
|
[
|
|
221,
|
|
130,
|
|
0,
|
|
127,
|
|
0,
|
|
"STRING"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"id": 1,
|
|
"title": "Trellis",
|
|
"bounding": [
|
|
415.3531188964844,
|
|
91.95551300048828,
|
|
1158.612548828125,
|
|
406.3803405761719
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"title": "Images",
|
|
"bounding": [
|
|
-253.39309692382812,
|
|
106.04670715332031,
|
|
654.81689453125,
|
|
589.7615966796875
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"title": "FileSave",
|
|
"bounding": [
|
|
1651.82861328125,
|
|
96.06111907958984,
|
|
734.4068603515625,
|
|
659.2334594726562
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.620921323059155,
|
|
"offset": [
|
|
-806.0192368704224,
|
|
25.84060832702645
|
|
]
|
|
},
|
|
"ue_links": [],
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0
|
|
},
|
|
"version": 0.4
|
|
}
|