Files
chflame163-ComfyUI_CatVTON_…/workflow/catvton_example.json
T
2024-07-30 17:09:50 +08:00

309 lines
4.9 KiB
JSON

{
"last_node_id": 12,
"last_link_id": 15,
"nodes": [
{
"id": 2,
"type": "LoadImage",
"pos": [
243,
252
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1,
13
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"girl.jpg",
"image"
]
},
{
"id": 8,
"type": "PreviewImage",
"pos": [
1645,
241
],
"size": [
530.5761755629187,
734.8110968147237
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 7,
"type": "LoadImage",
"pos": [
241,
628
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"panda_t_shirt.jpg",
"image"
]
},
{
"id": 12,
"type": "LayerMask: SegmentAnythingUltra V2",
"pos": [
699,
608
],
"size": {
"0": 315,
"1": 342
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 13
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "mask",
"type": "MASK",
"links": [
14,
15
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LayerMask: SegmentAnythingUltra V2"
},
"widgets_values": [
"sam_vit_h (2.56GB)",
"GroundingDINO_SwinT_OGC (694MB)",
0.3,
"VITMatte",
6,
6,
0.01,
0.99,
false,
"shirt",
"cuda",
2
]
},
{
"id": 11,
"type": "LayerMask: MaskPreview",
"pos": [
1174,
603
],
"size": [
251.91729700753058,
352.4916389395413
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 14
}
],
"properties": {
"Node name for S&R": "LayerMask: MaskPreview"
}
},
{
"id": 1,
"type": "CatVTONWrapper",
"pos": [
1135,
250
],
"size": {
"0": 315,
"1": 218
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1,
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"link": 15
},
{
"name": "refer_image",
"type": "IMAGE",
"link": 7,
"slot_index": 2
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
8
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CatVTONWrapper"
},
"widgets_values": [
25,
"bf16",
571003793697217,
"randomize",
50,
3
]
}
],
"links": [
[
1,
2,
0,
1,
0,
"IMAGE"
],
[
7,
7,
0,
1,
2,
"IMAGE"
],
[
8,
1,
0,
8,
0,
"IMAGE"
],
[
13,
2,
0,
12,
0,
"IMAGE"
],
[
14,
12,
1,
11,
0,
"MASK"
],
[
15,
12,
1,
1,
1,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8264462809917354,
"offset": [
16.52869750906587,
61.78689238609821
]
}
},
"version": 0.4
}