Files
kealiu c116f46430 Update zest_workflow.json
change IP-Adaptory parameter
2024-05-06 17:41:56 +08:00

1370 lines
23 KiB
JSON

{
"last_node_id": 40,
"last_link_id": 56,
"nodes": [
{
"id": 20,
"type": "RemBGSession+",
"pos": [
-182.71800215292066,
774.9498259104921
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "REMBG_SESSION",
"type": "REMBG_SESSION",
"links": [
12
],
"shape": 3,
"label": "REMBG_SESSION",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "RemBGSession+"
},
"widgets_values": [
"u2net: general purpose",
"CUDA"
]
},
{
"id": 17,
"type": "VAEDecode",
"pos": [
2056.9804240578733,
332.0015754470397
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 51,
"label": "samples"
},
{
"name": "vae",
"type": "VAE",
"link": 47,
"label": "vae"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 25,
"type": "MiDaS Model Loader",
"pos": [
575.0424964922363,
1242.7184502026369
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "midas_model",
"type": "MIDAS_MODEL",
"links": [
17
],
"shape": 3,
"label": "midas_model"
}
],
"properties": {
"Node name for S&R": "MiDaS Model Loader"
},
"widgets_values": [
"DPT_Large"
]
},
{
"id": 16,
"type": "LoadImage",
"pos": [
-172.71800215292066,
303.9498259104919
],
"size": [
315,
314.00000381469727
],
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"nangua.png",
"image"
]
},
{
"id": 18,
"type": "PreviewImage",
"pos": [
2056.4166704323848,
452.36923772120963
],
"size": [
210,
246
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 11,
"label": "images"
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 35,
"type": "Reroute",
"pos": [
1201,
45
],
"size": [
75,
26
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 46,
"label": ""
}
],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
47,
48
],
"slot_index": 0,
"label": "VAE"
}
],
"properties": {
"showOutputText": true,
"horizontal": false
}
},
{
"id": 30,
"type": "ControlNetApplyAdvanced",
"pos": [
928.0424964922363,
1013.7184502026374
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 28,
"label": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 27,
"label": "negative"
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 30,
"label": "control_net",
"slot_index": 2
},
{
"name": "image",
"type": "IMAGE",
"link": 29,
"label": "image"
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
31
],
"shape": 3,
"label": "positive",
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
32
],
"shape": 3,
"label": "negative",
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.9,
0,
1
]
},
{
"id": 22,
"type": "Reroute",
"pos": [
561.0495674231813,
377.4684540354248
],
"size": [
82,
26
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 13,
"label": ""
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14,
15,
18
],
"slot_index": 0,
"label": "IMAGE"
}
],
"properties": {
"showOutputText": true,
"horizontal": false
}
},
{
"id": 27,
"type": "Reroute",
"pos": [
573.0495674231813,
479.4684540354248
],
"size": [
75,
26
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 22,
"label": ""
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
23,
24
],
"slot_index": 0,
"label": "MASK"
}
],
"properties": {
"showOutputText": true,
"horizontal": false
}
},
{
"id": 32,
"type": "IPAdapterUnifiedLoader",
"pos": [
876.7170498491886,
-64.73376723100739
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 38,
"label": "model"
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": null,
"label": "ipadapter"
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
39
],
"shape": 3,
"label": "model",
"slot_index": 0
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"links": [
37
],
"shape": 3,
"label": "ipadapter"
}
],
"properties": {
"Node name for S&R": "IPAdapterUnifiedLoader"
},
"widgets_values": [
"VIT-G (medium strength)"
]
},
{
"id": 24,
"type": "MiDaS Depth Approximation",
"pos": [
584.0424964922363,
1019.7184502026374
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 18,
"label": "image"
},
{
"name": "midas_model",
"type": "MIDAS_MODEL",
"link": 17,
"label": "midas_model",
"slot_index": 1
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
29
],
"shape": 3,
"label": "images",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MiDaS Depth Approximation"
},
"widgets_values": [
"false",
"DPT_Large",
"false"
]
},
{
"id": 39,
"type": "KSamplerAdvanced",
"pos": [
1678.8381093776488,
338.2040117724913
],
"size": {
"0": 315,
"1": 334
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 52,
"label": "model"
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 53,
"label": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 54,
"label": "negative"
},
{
"name": "latent_image",
"type": "LATENT",
"link": 56,
"label": "latent_image"
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
51
],
"shape": 3,
"label": "LATENT",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
"enable",
664203918372213,
"randomize",
45,
7,
"dpmpp_2m_sde_gpu",
"karras",
0,
10000,
"disable"
]
},
{
"id": 21,
"type": "ImageRemoveBackground+",
"pos": [
-145.58235437783048,
672.2212631585023
],
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "rembg_session",
"type": "REMBG_SESSION",
"link": 12,
"label": "rembg_session"
},
{
"name": "image",
"type": "IMAGE",
"link": 14,
"label": "image"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": null,
"shape": 3,
"label": "IMAGE"
},
{
"name": "MASK",
"type": "MASK",
"links": [
22
],
"shape": 3,
"label": "MASK",
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ImageRemoveBackground+"
}
},
{
"id": 15,
"type": "InpaintModelConditioning",
"pos": [
1112.9100836601126,
360.5619367073637
],
"size": {
"0": 216.59999084472656,
"1": 106
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 31,
"label": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 32,
"label": "negative"
},
{
"name": "vae",
"type": "VAE",
"link": 48,
"label": "vae"
},
{
"name": "pixels",
"type": "IMAGE",
"link": 21,
"label": "pixels"
},
{
"name": "mask",
"type": "MASK",
"link": 24,
"label": "mask"
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
53
],
"shape": 3,
"label": "positive",
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
54
],
"shape": 3,
"label": "negative",
"slot_index": 1
},
{
"name": "latent",
"type": "LATENT",
"links": [
56
],
"shape": 3,
"label": "latent",
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "InpaintModelConditioning"
}
},
{
"id": 26,
"type": "ControlNetLoader",
"pos": [
932.0424964922363,
1245.7184502026369
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
30
],
"shape": 3,
"label": "CONTROL_NET"
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"t2i-adapter-depth-midas-sdxl-1.0.safetensors"
]
},
{
"id": 13,
"type": "IPAdapter",
"pos": [
886.7170498491886,
-320.7337672310074
],
"size": {
"0": 315,
"1": 190
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 39,
"label": "model",
"slot_index": 0
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": 37,
"label": "ipadapter",
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 40,
"label": "image"
},
{
"name": "attn_mask",
"type": "MASK",
"link": null,
"label": "attn_mask"
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
52
],
"shape": 3,
"label": "MODEL",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapter"
},
"widgets_values": [
0.9,
0,
1,
"style transfer"
]
},
{
"id": 23,
"type": "ZeST: Grayout Subject",
"pos": [
718.0495674231813,
376.4684540354248
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "target_image",
"type": "IMAGE",
"link": 15,
"label": "target_image"
},
{
"name": "subject_mask",
"type": "MASK",
"link": 23,
"label": "subject_mask"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
21
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ZeST: Grayout Subject"
},
"widgets_values": [
0.9
]
},
{
"id": 29,
"type": "CLIPTextEncode",
"pos": [
955,
762
],
"size": {
"0": 210,
"1": 76.0000228881836
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 45,
"label": "clip"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
27
],
"shape": 3,
"label": "CONDITIONING",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 28,
"type": "CLIPTextEncode",
"pos": [
623,
765
],
"size": {
"0": 210,
"1": 76.0000228881836
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 44,
"label": "clip"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
28
],
"shape": 3,
"label": "CONDITIONING",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 34,
"type": "Reroute",
"pos": [
844,
618
],
"size": [
75,
26
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 43,
"label": ""
}
],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
44,
45
],
"slot_index": 0,
"label": "CLIP"
}
],
"properties": {
"showOutputText": true,
"horizontal": false
}
},
{
"id": 33,
"type": "LoadImage",
"pos": [
385,
-426
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
40
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"cup_glaze.png",
"image"
]
},
{
"id": 31,
"type": "CheckpointLoaderSimple",
"pos": [
387,
40
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
38
],
"shape": 3,
"label": "MODEL",
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
43
],
"shape": 3,
"label": "CLIP",
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
46
],
"shape": 3,
"label": "VAE",
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_base_1.0_0.9vae.safetensors"
]
}
],
"links": [
[
11,
17,
0,
18,
0,
"IMAGE"
],
[
12,
20,
0,
21,
0,
"REMBG_SESSION"
],
[
13,
16,
0,
22,
0,
"*"
],
[
14,
22,
0,
21,
1,
"IMAGE"
],
[
15,
22,
0,
23,
0,
"IMAGE"
],
[
17,
25,
0,
24,
1,
"MIDAS_MODEL"
],
[
18,
22,
0,
24,
0,
"IMAGE"
],
[
21,
23,
0,
15,
3,
"IMAGE"
],
[
22,
21,
1,
27,
0,
"*"
],
[
23,
27,
0,
23,
1,
"MASK"
],
[
24,
27,
0,
15,
4,
"MASK"
],
[
27,
29,
0,
30,
1,
"CONDITIONING"
],
[
28,
28,
0,
30,
0,
"CONDITIONING"
],
[
29,
24,
0,
30,
3,
"IMAGE"
],
[
30,
26,
0,
30,
2,
"CONTROL_NET"
],
[
31,
30,
0,
15,
0,
"CONDITIONING"
],
[
32,
30,
1,
15,
1,
"CONDITIONING"
],
[
37,
32,
1,
13,
1,
"IPADAPTER"
],
[
38,
31,
0,
32,
0,
"MODEL"
],
[
39,
32,
0,
13,
0,
"MODEL"
],
[
40,
33,
0,
13,
2,
"IMAGE"
],
[
43,
31,
1,
34,
0,
"*"
],
[
44,
34,
0,
28,
0,
"CLIP"
],
[
45,
34,
0,
29,
0,
"CLIP"
],
[
46,
31,
2,
35,
0,
"*"
],
[
47,
35,
0,
17,
1,
"VAE"
],
[
48,
35,
0,
15,
2,
"VAE"
],
[
51,
39,
0,
17,
0,
"LATENT"
],
[
52,
13,
0,
39,
0,
"MODEL"
],
[
53,
15,
0,
39,
1,
"CONDITIONING"
],
[
54,
15,
1,
39,
2,
"CONDITIONING"
],
[
56,
15,
2,
39,
3,
"LATENT"
]
],
"groups": [
{
"title": "Group",
"bounding": [
1653,
233,
654,
485
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Group",
"bounding": [
548,
920,
739,
455
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Group",
"bounding": [
522,
230,
875,
345
],
"color": "#a1309b",
"font_size": 24,
"locked": false
},
{
"title": "Group",
"bounding": [
-263,
227,
509,
658
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Group",
"bounding": [
836,
-457,
437,
486
],
"color": "#3f789e",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {
"workspace_info": {
"id": "CDOhkFY4KG6Q4c04_VWpR"
}
},
"version": 0.4
}