ComfyUI/user/default/workflows/catvton_example.json
2024-12-04 12:27:58 +09:00

323 lines
5.2 KiB
JSON

{
"last_node_id": 13,
"last_link_id": 18,
"nodes": [
{
"id": 2,
"type": "LoadImage",
"pos": {
"0": 283,
"1": 153
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1,
16
],
"slot_index": 0,
"shape": 3
},
{
"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": {
"0": 1647,
"1": 159
},
"size": {
"0": 530.576171875,
"1": 734.8110961914062
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 1,
"type": "CatVTONWrapper",
"pos": {
"0": 1146,
"1": 161
},
"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": 18
},
{
"name": "refer_image",
"type": "IMAGE",
"link": 7,
"slot_index": 2
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
8
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CatVTONWrapper"
},
"widgets_values": [
25,
"fp16",
491151633043877,
"randomize",
50,
3
]
},
{
"id": 11,
"type": "LayerMask: MaskPreview",
"pos": {
"0": 1141,
"1": 563
},
"size": [
323.2476717529296,
354.9690538940429
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 17
}
],
"outputs": [],
"properties": {
"Node name for S&R": "LayerMask: MaskPreview"
},
"color": "rgba(27, 80, 119, 0.7)"
},
{
"id": 13,
"type": "LayerMask: HumanPartsUltra",
"pos": {
"0": 682,
"1": 405
},
"size": {
"0": 352.79998779296875,
"1": 534
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 16
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "mask",
"type": "MASK",
"links": [
17,
18
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LayerMask: HumanPartsUltra"
},
"widgets_values": [
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
"VITMatte",
8,
6,
0.01,
0.99,
true,
"cuda",
2
],
"color": "rgba(27, 80, 119, 0.7)"
},
{
"id": 7,
"type": "LoadImage",
"pos": {
"0": 285,
"1": 611
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"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"
]
}
],
"links": [
[
1,
2,
0,
1,
0,
"IMAGE"
],
[
7,
7,
0,
1,
2,
"IMAGE"
],
[
8,
1,
0,
8,
0,
"IMAGE"
],
[
16,
2,
0,
13,
0,
"IMAGE"
],
[
17,
13,
1,
11,
0,
"MASK"
],
[
18,
13,
1,
1,
1,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
338.6524316406253,
290.41768908691427
]
}
},
"version": 0.4
}