ChrisColeTech commited on
Commit
a3ea689
·
verified ·
1 Parent(s): 6f057d6

Add workflow_examples/giga_triposg.json (ComfyUI editor workflow, verified on an RTX 5090)

Browse files
Files changed (1) hide show
  1. workflow_examples/giga_triposg.json +481 -0
workflow_examples/giga_triposg.json ADDED
@@ -0,0 +1,481 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "72669d10-093d-50b3-a328-b8bfebeb8296",
3
+ "revision": 0,
4
+ "last_node_id": 252,
5
+ "last_link_id": 10,
6
+ "nodes": [
7
+ {
8
+ "id": 101,
9
+ "type": "LoadImage",
10
+ "pos": [
11
+ 60,
12
+ 60
13
+ ],
14
+ "size": [
15
+ 360,
16
+ 106
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "IMAGE",
25
+ "type": "IMAGE",
26
+ "links": [
27
+ 1
28
+ ],
29
+ "slot_index": 0
30
+ },
31
+ {
32
+ "name": "MASK",
33
+ "type": "MASK",
34
+ "links": [
35
+ 3
36
+ ],
37
+ "slot_index": 1
38
+ }
39
+ ],
40
+ "properties": {
41
+ "Node name for S&R": "LoadImage"
42
+ },
43
+ "widgets_values": [
44
+ "example.png"
45
+ ],
46
+ "title": "Load Image"
47
+ },
48
+ {
49
+ "id": 153,
50
+ "type": "CCTechTripoSGRMBGLoader",
51
+ "pos": [
52
+ 60,
53
+ 206
54
+ ],
55
+ "size": [
56
+ 360,
57
+ 84
58
+ ],
59
+ "flags": {},
60
+ "order": 1,
61
+ "mode": 0,
62
+ "inputs": [],
63
+ "outputs": [
64
+ {
65
+ "name": "rmbg",
66
+ "type": "CCTECH_TRIPOSG_RMBG",
67
+ "links": [
68
+ 2
69
+ ],
70
+ "slot_index": 0
71
+ }
72
+ ],
73
+ "properties": {
74
+ "Node name for S&R": "CCTechTripoSGRMBGLoader"
75
+ },
76
+ "widgets_values": [
77
+ "RMBG-1.4"
78
+ ]
79
+ },
80
+ {
81
+ "id": 154,
82
+ "type": "CCTechTripoSGModelLoader",
83
+ "pos": [
84
+ 60,
85
+ 330
86
+ ],
87
+ "size": [
88
+ 360,
89
+ 110
90
+ ],
91
+ "flags": {},
92
+ "order": 2,
93
+ "mode": 0,
94
+ "inputs": [],
95
+ "outputs": [
96
+ {
97
+ "name": "triposg_model",
98
+ "type": "CCTECH_TRIPOSG_MODEL",
99
+ "links": [
100
+ 4,
101
+ 6
102
+ ],
103
+ "slot_index": 0
104
+ }
105
+ ],
106
+ "properties": {
107
+ "Node name for S&R": "CCTechTripoSGModelLoader"
108
+ },
109
+ "widgets_values": [
110
+ "TripoSG",
111
+ "auto"
112
+ ]
113
+ },
114
+ {
115
+ "id": 155,
116
+ "type": "CCTechTripoSGPrepareImage",
117
+ "pos": [
118
+ 480,
119
+ 60
120
+ ],
121
+ "size": [
122
+ 360,
123
+ 180
124
+ ],
125
+ "flags": {},
126
+ "order": 3,
127
+ "mode": 0,
128
+ "inputs": [
129
+ {
130
+ "name": "image",
131
+ "type": "IMAGE",
132
+ "link": 1
133
+ },
134
+ {
135
+ "name": "rmbg",
136
+ "type": "CCTECH_TRIPOSG_RMBG",
137
+ "link": 2
138
+ },
139
+ {
140
+ "name": "mask",
141
+ "type": "MASK",
142
+ "link": 3
143
+ }
144
+ ],
145
+ "outputs": [
146
+ {
147
+ "name": "image",
148
+ "type": "IMAGE",
149
+ "links": [
150
+ 5
151
+ ],
152
+ "slot_index": 0
153
+ }
154
+ ],
155
+ "properties": {
156
+ "Node name for S&R": "CCTechTripoSGPrepareImage"
157
+ },
158
+ "widgets_values": [
159
+ true,
160
+ 0.1,
161
+ "white"
162
+ ]
163
+ },
164
+ {
165
+ "id": 156,
166
+ "type": "CCTechTripoSGSampler",
167
+ "pos": [
168
+ 900,
169
+ 60
170
+ ],
171
+ "size": [
172
+ 360,
173
+ 210
174
+ ],
175
+ "flags": {},
176
+ "order": 4,
177
+ "mode": 0,
178
+ "inputs": [
179
+ {
180
+ "name": "triposg_model",
181
+ "type": "CCTECH_TRIPOSG_MODEL",
182
+ "link": 4
183
+ },
184
+ {
185
+ "name": "image",
186
+ "type": "IMAGE",
187
+ "link": 5
188
+ }
189
+ ],
190
+ "outputs": [
191
+ {
192
+ "name": "shape_latent",
193
+ "type": "CCTECH_TRIPOSG_LATENT",
194
+ "links": [
195
+ 7
196
+ ],
197
+ "slot_index": 0
198
+ }
199
+ ],
200
+ "properties": {
201
+ "Node name for S&R": "CCTechTripoSGSampler"
202
+ },
203
+ "widgets_values": [
204
+ 42,
205
+ "fixed",
206
+ 50,
207
+ 7.0,
208
+ 2048
209
+ ]
210
+ },
211
+ {
212
+ "id": 157,
213
+ "type": "CCTechTripoSGDecodeMesh",
214
+ "pos": [
215
+ 1320,
216
+ 60
217
+ ],
218
+ "size": [
219
+ 360,
220
+ 158
221
+ ],
222
+ "flags": {},
223
+ "order": 5,
224
+ "mode": 0,
225
+ "inputs": [
226
+ {
227
+ "name": "triposg_model",
228
+ "type": "CCTECH_TRIPOSG_MODEL",
229
+ "link": 6
230
+ },
231
+ {
232
+ "name": "shape_latent",
233
+ "type": "CCTECH_TRIPOSG_LATENT",
234
+ "link": 7
235
+ }
236
+ ],
237
+ "outputs": [
238
+ {
239
+ "name": "mesh",
240
+ "type": "MESH",
241
+ "links": [
242
+ 8,
243
+ 9
244
+ ],
245
+ "slot_index": 0
246
+ }
247
+ ],
248
+ "properties": {
249
+ "Node name for S&R": "CCTechTripoSGDecodeMesh"
250
+ },
251
+ "widgets_values": [
252
+ 8,
253
+ 9,
254
+ 1.005
255
+ ]
256
+ },
257
+ {
258
+ "id": 158,
259
+ "type": "SaveGLB",
260
+ "pos": [
261
+ 1740,
262
+ 60
263
+ ],
264
+ "size": [
265
+ 360,
266
+ 84
267
+ ],
268
+ "flags": {},
269
+ "order": 6,
270
+ "mode": 0,
271
+ "inputs": [
272
+ {
273
+ "name": "mesh",
274
+ "type": "MESH,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_OBJ,FILE_3D_FBX,FILE_3D_STL,FILE_3D_USDZ,FILE_3D_PLY,FILE_3D_SPLAT,FILE_3D_SPZ,FILE_3D_KSPLAT,FILE_3D_SPLAT_ANY,FILE_3D_POINT_CLOUD_ANY,FILE_3D",
275
+ "link": 8
276
+ }
277
+ ],
278
+ "outputs": [],
279
+ "properties": {
280
+ "Node name for S&R": "SaveGLB"
281
+ },
282
+ "widgets_values": [
283
+ "giga/triposg"
284
+ ]
285
+ },
286
+ {
287
+ "id": 251,
288
+ "type": "RenderMesh",
289
+ "pos": [
290
+ 1740,
291
+ 184
292
+ ],
293
+ "size": [
294
+ 360,
295
+ 202
296
+ ],
297
+ "flags": {},
298
+ "order": 7,
299
+ "mode": 0,
300
+ "inputs": [
301
+ {
302
+ "name": "mesh",
303
+ "type": "MESH",
304
+ "link": 9
305
+ },
306
+ {
307
+ "name": "background",
308
+ "type": "COLOR",
309
+ "link": null
310
+ },
311
+ {
312
+ "name": "model_3d_info",
313
+ "type": "LOAD3D_MODEL_INFO",
314
+ "link": null
315
+ },
316
+ {
317
+ "name": "camera_info",
318
+ "type": "LOAD3D_CAMERA",
319
+ "link": null
320
+ }
321
+ ],
322
+ "outputs": [
323
+ {
324
+ "name": "image",
325
+ "type": "IMAGE",
326
+ "links": [
327
+ 10
328
+ ],
329
+ "slot_index": 0
330
+ },
331
+ {
332
+ "name": "mask",
333
+ "type": "MASK",
334
+ "links": [],
335
+ "slot_index": 1
336
+ }
337
+ ],
338
+ "properties": {
339
+ "Node name for S&R": "RenderMesh"
340
+ },
341
+ "widgets_values": [
342
+ "auto",
343
+ 1024,
344
+ 1024
345
+ ]
346
+ },
347
+ {
348
+ "id": 252,
349
+ "type": "SaveImageAdvanced",
350
+ "pos": [
351
+ 2160,
352
+ 60
353
+ ],
354
+ "size": [
355
+ 360,
356
+ 162
357
+ ],
358
+ "flags": {},
359
+ "order": 8,
360
+ "mode": 0,
361
+ "inputs": [
362
+ {
363
+ "name": "images",
364
+ "type": "IMAGE",
365
+ "link": 10
366
+ }
367
+ ],
368
+ "outputs": [
369
+ {
370
+ "name": "images",
371
+ "type": "IMAGE",
372
+ "links": [],
373
+ "slot_index": 0
374
+ }
375
+ ],
376
+ "properties": {
377
+ "Node name for S&R": "SaveImageAdvanced"
378
+ },
379
+ "widgets_values": [
380
+ "giga/triposg-preview",
381
+ "png",
382
+ "8-bit",
383
+ "sRGB"
384
+ ]
385
+ }
386
+ ],
387
+ "links": [
388
+ [
389
+ 1,
390
+ 101,
391
+ 0,
392
+ 155,
393
+ 0,
394
+ "IMAGE"
395
+ ],
396
+ [
397
+ 2,
398
+ 153,
399
+ 0,
400
+ 155,
401
+ 1,
402
+ "CCTECH_TRIPOSG_RMBG"
403
+ ],
404
+ [
405
+ 3,
406
+ 101,
407
+ 1,
408
+ 155,
409
+ 2,
410
+ "MASK"
411
+ ],
412
+ [
413
+ 4,
414
+ 154,
415
+ 0,
416
+ 156,
417
+ 0,
418
+ "CCTECH_TRIPOSG_MODEL"
419
+ ],
420
+ [
421
+ 5,
422
+ 155,
423
+ 0,
424
+ 156,
425
+ 1,
426
+ "IMAGE"
427
+ ],
428
+ [
429
+ 6,
430
+ 154,
431
+ 0,
432
+ 157,
433
+ 0,
434
+ "CCTECH_TRIPOSG_MODEL"
435
+ ],
436
+ [
437
+ 7,
438
+ 156,
439
+ 0,
440
+ 157,
441
+ 1,
442
+ "CCTECH_TRIPOSG_LATENT"
443
+ ],
444
+ [
445
+ 8,
446
+ 157,
447
+ 0,
448
+ 158,
449
+ 0,
450
+ "MESH"
451
+ ],
452
+ [
453
+ 9,
454
+ 157,
455
+ 0,
456
+ 251,
457
+ 0,
458
+ "MESH"
459
+ ],
460
+ [
461
+ 10,
462
+ 251,
463
+ 0,
464
+ 252,
465
+ 0,
466
+ "IMAGE"
467
+ ]
468
+ ],
469
+ "groups": [],
470
+ "config": {},
471
+ "extra": {
472
+ "ds": {
473
+ "scale": 0.75,
474
+ "offset": [
475
+ 0,
476
+ 0
477
+ ]
478
+ }
479
+ },
480
+ "version": 0.4
481
+ }