comfy-ui-workflows/ipadapter/ipadapter-style-image.json

928 lines
15 KiB
JSON

{
"last_node_id": 21,
"last_link_id": 31,
"nodes": [
{
"id": 8,
"type": "VAEDecode",
"pos": [
1770,
480
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
230,
450
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
17
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
3,
5
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
12
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"Art Universe v2.0.safetensors"
]
},
{
"id": 16,
"type": "PrepImageForClipVision",
"pos": [
660,
110
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 19
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
20
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PrepImageForClipVision"
},
"widgets_values": [
"LANCZOS",
"top",
0.1
]
},
{
"id": 14,
"type": "IPAdapterUnifiedLoader",
"pos": [
660,
-40
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 17
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
15
],
"shape": 3,
"slot_index": 0
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"links": [
14
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "IPAdapterUnifiedLoader"
},
"widgets_values": [
"PLUS (high strength)"
]
},
{
"id": 10,
"type": "LoadImage",
"pos": [
220,
750
],
"size": {
"0": 480,
"1": 570
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
21,
22
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"alskdnlaksn (1).jpg",
"image"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
610,
510
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
24
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"blurry, noisy, messy, glitch, distorted, malformed, ill, horror"
]
},
{
"id": 17,
"type": "ImageResize+",
"pos": [
740,
830
],
"size": {
"0": 315,
"1": 194
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 22
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
23,
29
],
"shape": 3,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
1024,
0,
"nearest",
true,
"always"
]
},
{
"id": 19,
"type": "ControlNetLoader",
"pos": [
740,
1090
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
28
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"canny-sdxl.safetensors"
]
},
{
"id": 20,
"type": "Canny",
"pos": [
740,
1220
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 29
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
30
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Canny"
},
"widgets_values": [
0.02,
0.25
]
},
{
"id": 12,
"type": "VAEEncode",
"pos": [
1130,
630
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 23
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
13
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 13,
"type": "IPAdapterStyleComposition",
"pos": [
1080,
30
],
"size": {
"0": 315,
"1": 322
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 15
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": 14,
"slot_index": 1
},
{
"name": "image_style",
"type": "IMAGE",
"link": 20
},
{
"name": "image_composition",
"type": "IMAGE",
"link": 21
},
{
"name": "image_negative",
"type": "IMAGE",
"link": null
},
{
"name": "attn_mask",
"type": "MASK",
"link": null
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
16
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterStyleComposition"
},
"widgets_values": [
0.9,
1,
false,
"average",
0,
1,
"V only"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1760,
610
],
"size": {
"0": 670,
"1": 640
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 18,
"type": "ControlNetApplyAdvanced",
"pos": [
1150,
830
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 25
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 24
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 28,
"slot_index": 2
},
{
"name": "image",
"type": "IMAGE",
"link": 30
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
26
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
27
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.9,
0,
1
]
},
{
"id": 15,
"type": "LoadImage",
"pos": [
230,
10
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"van_gogh (1).jpg",
"image"
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
1390,
450
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 16
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 26
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 27
},
{
"name": "latent_image",
"type": "LATENT",
"link": 13
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
906469302193734,
"randomize",
20,
3.5,
"dpmpp_2m_sde",
"karras",
0.75
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
610,
280
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
25
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"oil painting of a beautiful asian woman smiling in a wedding dress, tropical jungle, moon, high quality"
]
}
],
"links": [
[
3,
4,
1,
6,
0,
"CLIP"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
12,
4,
2,
12,
1,
"VAE"
],
[
13,
12,
0,
3,
3,
"LATENT"
],
[
14,
14,
1,
13,
1,
"IPADAPTER"
],
[
15,
14,
0,
13,
0,
"MODEL"
],
[
16,
13,
0,
3,
0,
"MODEL"
],
[
17,
4,
0,
14,
0,
"MODEL"
],
[
19,
15,
0,
16,
0,
"IMAGE"
],
[
20,
16,
0,
13,
2,
"IMAGE"
],
[
21,
10,
0,
13,
3,
"IMAGE"
],
[
22,
10,
0,
17,
0,
"IMAGE"
],
[
23,
17,
0,
12,
0,
"IMAGE"
],
[
24,
7,
0,
18,
1,
"CONDITIONING"
],
[
25,
6,
0,
18,
0,
"CONDITIONING"
],
[
26,
18,
0,
3,
1,
"CONDITIONING"
],
[
27,
18,
1,
3,
2,
"CONDITIONING"
],
[
28,
19,
0,
18,
2,
"CONTROL_NET"
],
[
29,
17,
0,
20,
0,
"IMAGE"
],
[
30,
20,
0,
18,
3,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}