Files
cubiq-ComfyUI_IPAdapter_plus/Plus_workflow.json
T
2023-09-07 18:18:02 +02:00

616 lines
9.8 KiB
JSON

{
"last_node_id": 33,
"last_link_id": 70,
"nodes": [
{
"id": 8,
"type": "CLIPTextEncode",
"pos": [
790,
310
],
"size": {
"0": 210,
"1": 76
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 6
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
20
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"a girl with fox ears"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 9,
"type": "CLIPTextEncode",
"pos": [
790,
430
],
"size": {
"0": 210,
"1": 76
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 7
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
21
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"horror"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 12,
"type": "VAEDecode",
"pos": [
1430,
320
],
"size": {
"0": 140,
"1": 50
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 12
},
{
"name": "vae",
"type": "VAE",
"link": 13
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
31
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 6,
"type": "LoadImage",
"pos": [
120,
200
],
"size": {
"0": 220,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
70
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example.png",
"image"
]
},
{
"id": 10,
"type": "KSampler",
"pos": [
1070,
320
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 44
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 20
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 21
},
{
"name": "latent_image",
"type": "LATENT",
"link": 11,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
12
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
12,
"fixed",
20,
7,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 31,
"type": "IPAdapterApply",
"pos": [
757,
120
],
"size": {
"0": 315,
"1": 118
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 43
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": 45
},
{
"name": "clip_vision_output",
"type": "CLIP_VISION_OUTPUT",
"link": 68
},
{
"name": "mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
44
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterApply"
},
"widgets_values": [
1
]
},
{
"id": 20,
"type": "SaveImage",
"pos": [
1430,
420
],
"size": [
526.6748263183599,
579.4905033691409
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 31
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 1,
"type": "CLIPVisionLoader",
"pos": [
30,
90
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
69
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader"
},
"widgets_values": [
"IP-Adapter_sd15_pytorch_model.bin"
]
},
{
"id": 3,
"type": "IPAdapterModelLoader",
"pos": [
430,
60
],
"size": {
"0": 270,
"1": 60
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IPADAPTER",
"type": "IPADAPTER",
"links": [
45
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterModelLoader"
},
"widgets_values": [
"ip-adapter-plus_sd15.bin"
]
},
{
"id": 33,
"type": "IPAdapterCLIPVisionEncode",
"pos": [
443,
178
],
"size": {
"0": 253.60000610351562,
"1": 50
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 69
},
{
"name": "image",
"type": "IMAGE",
"link": 70
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [
68
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterCLIPVisionEncode"
}
},
{
"id": 11,
"type": "EmptyLatentImage",
"pos": [
790,
560
],
"size": {
"0": 210,
"1": 110
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
11
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 7,
"type": "CheckpointLoaderSimple",
"pos": [
387,
295
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
43
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
6,
7
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
13
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"v1-5-pruned-emaonly.safetensors"
]
}
],
"links": [
[
6,
7,
1,
8,
0,
"CLIP"
],
[
7,
7,
1,
9,
0,
"CLIP"
],
[
11,
11,
0,
10,
3,
"LATENT"
],
[
12,
10,
0,
12,
0,
"LATENT"
],
[
13,
7,
2,
12,
1,
"VAE"
],
[
20,
8,
0,
10,
1,
"CONDITIONING"
],
[
21,
9,
0,
10,
2,
"CONDITIONING"
],
[
31,
12,
0,
20,
0,
"IMAGE"
],
[
43,
7,
0,
31,
0,
"MODEL"
],
[
44,
31,
0,
10,
0,
"MODEL"
],
[
45,
3,
0,
31,
1,
"IPADAPTER"
],
[
68,
33,
0,
31,
2,
"CLIP_VISION_OUTPUT"
],
[
69,
1,
0,
33,
0,
"CLIP_VISION"
],
[
70,
6,
0,
33,
1,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}