workflows / trellis 2 /remove_background.json
Luis-Filipe's picture
Upload 1510 files
0ac7e98 verified
{
"id": "993ef16b-b850-4a37-8e99-cdfe9b8651d3",
"revision": 0,
"last_node_id": 75,
"last_link_id": 136,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
-538.3884298775864,
159.56904814337275
],
"size": [
315,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
121
]
},
{
"name": "MASK",
"type": "MASK",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"bike.webp",
"image"
]
},
{
"id": 69,
"type": "Trellis2RemoveBackground",
"pos": [
-527.2571972622517,
522.3384801617495
],
"size": [
308.0201171875,
78
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 121
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
122
]
},
{
"name": "mask",
"type": "MASK",
"links": [
123,
125
]
}
],
"properties": {
"cnr_id": "ComfyUI-TRELLIS2",
"ver": "c7089ebab7c126ac3c0829f27f359d549de56bf6",
"Node name for S&R": "Trellis2RemoveBackground",
"aux_id": "PozzettiAndrea/ComfyUI-TRELLIS2"
},
"widgets_values": [
true
]
},
{
"id": 10,
"type": "MaskPreview",
"pos": [
-188.09093568310075,
519.272725408512
],
"size": [
140,
246.00000000000006
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 125
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "MaskPreview"
},
"widgets_values": []
},
{
"id": 28,
"type": "Trellis2GetConditioning",
"pos": [
-186.3129375911567,
321.68146522839
],
"size": [
282.31015625,
122
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "dinov3",
"type": "TRELLIS2_DINOV3",
"link": 135
},
{
"name": "image",
"type": "IMAGE",
"link": 122
},
{
"name": "mask",
"type": "MASK",
"link": 123
}
],
"outputs": [
{
"name": "conditioning",
"type": "TRELLIS2_CONDITIONING",
"links": [
130
]
},
{
"name": "preprocessed_image",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "ComfyUI-TRELLIS2",
"ver": "1873571a55232310f0464bed8ca17d3f1436e952",
"Node name for S&R": "Trellis2GetConditioning",
"aux_id": "PozzettiAndrea/ComfyUI-TRELLIS2"
},
"widgets_values": [
true,
"black"
]
},
{
"id": 71,
"type": "Trellis2ImageToShape",
"pos": [
153.45044727644182,
134.20564544346476
],
"size": [
308.890625,
242
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "shape_pipeline",
"type": "TRELLIS2_SHAPE_PIPELINE",
"link": 136
},
{
"name": "conditioning",
"type": "TRELLIS2_CONDITIONING",
"link": 130
}
],
"outputs": [
{
"name": "shape_slat",
"type": "TRELLIS2_SHAPE_SLAT",
"links": null
},
{
"name": "subs",
"type": "TRELLIS2_SUBS",
"links": null
},
{
"name": "mesh",
"type": "TRIMESH",
"links": [
131
]
}
],
"properties": {
"cnr_id": "ComfyUI-TRELLIS2",
"ver": "c7089ebab7c126ac3c0829f27f359d549de56bf6",
"Node name for S&R": "Trellis2ImageToShape",
"aux_id": "PozzettiAndrea/ComfyUI-TRELLIS2"
},
"widgets_values": [
42,
"fixed",
"1024",
7.5,
12,
7.5
]
},
{
"id": 73,
"type": "GeomPackPreviewMeshVTK",
"pos": [
508.9971792263416,
21.22250800616149
],
"size": [
512,
722
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "trimesh",
"shape": 7,
"type": "TRIMESH",
"link": 134
},
{
"name": "voxelgrid",
"shape": 7,
"type": "VOXELGRID",
"link": null
}
],
"outputs": [],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "df6bf3d73d0dda9c6ad7428eb58a00dc8cbaf6ed",
"Node name for S&R": "GeomPackPreviewMeshVTK",
"aux_id": "PozzettiAndrea/ComfyUI-GeometryPack"
},
"widgets_values": [
"fields",
""
]
},
{
"id": 74,
"type": "LoadTrellis2Models",
"pos": [
-551.9917121557154,
-88.69477967815686
],
"size": [
277.015625,
146
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "dinov3",
"type": "TRELLIS2_DINOV3",
"links": [
135
]
},
{
"name": "shape_pipeline",
"type": "TRELLIS2_SHAPE_PIPELINE",
"links": [
136
]
},
{
"name": "texture_pipeline",
"type": "TRELLIS2_TEXTURE_PIPELINE",
"links": null
}
],
"properties": {
"cnr_id": "ComfyUI-TRELLIS2",
"ver": "2774cc7023e4850bfdc46fc798244a10355efc8c",
"Node name for S&R": "LoadTrellis2Models"
},
"widgets_values": [
"512",
false,
"auto"
]
},
{
"id": 72,
"type": "GeomPackRemesh",
"pos": [
242.77935566223312,
454.65139031624403
],
"size": [
210,
126
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"link": 131
}
],
"outputs": [
{
"name": "remeshed_mesh",
"type": "TRIMESH",
"links": [
134
]
},
{
"name": "info",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "df6bf3d73d0dda9c6ad7428eb58a00dc8cbaf6ed",
"Node name for S&R": "GeomPackRemesh",
"aux_id": "PozzettiAndrea/ComfyUI-GeometryPack"
},
"widgets_values": [
"cumesh",
1,
3,
"true",
1,
500000,
1,
5000,
1,
0,
"true",
0
]
}
],
"links": [
[
121,
1,
0,
69,
0,
"IMAGE"
],
[
122,
69,
0,
28,
1,
"IMAGE"
],
[
123,
69,
1,
28,
2,
"MASK"
],
[
125,
69,
1,
10,
0,
"MASK"
],
[
130,
28,
0,
71,
1,
"TRELLIS2_CONDITIONING"
],
[
131,
71,
2,
72,
0,
"TRIMESH"
],
[
134,
72,
0,
73,
0,
"TRIMESH"
],
[
135,
74,
0,
28,
0,
"TRELLIS2_DINOV3"
],
[
136,
74,
1,
71,
0,
"TRELLIS2_SHAPE_PIPELINE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7827129052195578,
"offset": [
1099.2910191898316,
432.4239490933967
]
},
"frontendVersion": "1.35.9",
"workflowRendererVersion": "LG"
},
"version": 0.4
}