Files
cubiq-ComfyUI_IPAdapter_plus/examples/FaceID_enhanced.json
T
2023-12-22 15:47:45 +01:00

875 lines
14 KiB
JSON

{
"last_node_id": 30,
"last_link_id": 77,
"nodes": [
{
"id": 6,
"type": "VAEDecode",
"pos": [
1670,
620
],
"size": {
"0": 140,
"1": 50
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 7,
"type": "VAELoader",
"pos": [
1380,
920
],
"size": {
"0": 240,
"1": 60
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
8
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"vae-ft-mse-840000-ema-pruned.safetensors"
]
},
{
"id": 12,
"type": "InsightFaceLoader",
"pos": [
380,
240
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
11
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "InsightFaceLoader"
},
"widgets_values": [
"CPU"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 9,
"type": "IPAdapterModelLoader",
"pos": [
300,
130
],
"size": {
"0": 300,
"1": 60
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IPADAPTER",
"type": "IPADAPTER",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterModelLoader"
},
"widgets_values": [
"ip-adapter-faceid_sd15.bin"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 19,
"type": "PrepImageForClipVision",
"pos": [
700,
80
],
"size": [
243.60000610351562,
106
],
"flags": {},
"order": 11,
"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": "PrepImageForClipVision"
},
"widgets_values": [
"LANCZOS",
"center",
0
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 17,
"type": "CLIPVisionLoader",
"pos": [
730,
-40
],
"size": [
210,
58
],
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
70
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader"
},
"widgets_values": [
"IPAdapter_image_encoder_sd15.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 18,
"type": "IPAdapterModelLoader",
"pos": [
640,
-160
],
"size": {
"0": 300,
"1": 60
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "IPADAPTER",
"type": "IPADAPTER",
"links": [
28
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterModelLoader"
},
"widgets_values": [
"ip-adapter-plus-face_sd15.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 22,
"type": "PreviewImage",
"pos": [
1880,
620
],
"size": {
"0": 380,
"1": 410
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 72
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 2,
"type": "CheckpointLoaderSimple",
"pos": [
50,
700
],
"size": {
"0": 290,
"1": 100
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
15
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
5,
6
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd15/realisticVisionV51_v51VAE.safetensors"
]
},
{
"id": 1,
"type": "KSampler",
"pos": [
1380,
620
],
"size": {
"0": 240,
"1": 260
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 36
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 2
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 4
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"fixed",
25,
6,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 11,
"type": "IPAdapterApply",
"pos": [
730,
240
],
"size": {
"0": 210,
"1": 258
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": 10
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 11
},
{
"name": "image",
"type": "IMAGE",
"link": 77
},
{
"name": "model",
"type": "MODEL",
"link": 16
},
{
"name": "attn_mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
35
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterApply"
},
"widgets_values": [
0.9,
0,
"original",
0,
1,
false
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
710,
570
],
"size": {
"0": 400,
"1": 160
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"closeup photo of a woman wearing a white spring dress in a garden\n\nhigh quality, diffuse light, highly detailed, 4k"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
710,
777
],
"size": {
"0": 400,
"1": 160
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 6
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
3
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"blurry, malformed, distorted, naked"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 3,
"type": "EmptyLatentImage",
"pos": [
892,
994
],
"size": {
"0": 210,
"1": 110
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 16,
"type": "IPAdapterApply",
"pos": [
1070,
180
],
"size": {
"0": 210,
"1": 258
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": 28
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 70,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 30
},
{
"name": "model",
"type": "MODEL",
"link": 35
},
{
"name": "attn_mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
36
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterApply"
},
"widgets_values": [
0.35000000000000003,
0.33,
"original",
0,
1,
false
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 10,
"type": "LoadImage",
"pos": [
-150,
-50
],
"size": [
390.73314006347687,
482.01744979858427
],
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
29,
77
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"cwf_portrait.jpg",
"image"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 14,
"type": "LoraLoaderModelOnly",
"pos": [
440,
410
],
"size": [
210,
82
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 15
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
16
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"ip-adapter-faceid_sd15_lora.safetensors",
0.6
],
"color": "#223",
"bgcolor": "#335"
}
],
"links": [
[
2,
4,
0,
1,
1,
"CONDITIONING"
],
[
3,
5,
0,
1,
2,
"CONDITIONING"
],
[
4,
3,
0,
1,
3,
"LATENT"
],
[
5,
2,
1,
4,
0,
"CLIP"
],
[
6,
2,
1,
5,
0,
"CLIP"
],
[
7,
1,
0,
6,
0,
"LATENT"
],
[
8,
7,
0,
6,
1,
"VAE"
],
[
10,
9,
0,
11,
0,
"IPADAPTER"
],
[
11,
12,
0,
11,
1,
"CLIP_VISION"
],
[
15,
2,
0,
14,
0,
"MODEL"
],
[
16,
14,
0,
11,
3,
"MODEL"
],
[
28,
18,
0,
16,
0,
"IPADAPTER"
],
[
29,
10,
0,
19,
0,
"IMAGE"
],
[
30,
19,
0,
16,
2,
"IMAGE"
],
[
35,
11,
0,
16,
3,
"MODEL"
],
[
36,
16,
0,
1,
0,
"MODEL"
],
[
70,
17,
0,
16,
1,
"CLIP_VISION"
],
[
72,
6,
0,
22,
0,
"IMAGE"
],
[
77,
10,
0,
11,
2,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}