comfy-ui-workflows/attention-guidance/self-attention-guidance.json

683 lines
11 KiB
JSON
Raw Normal View History

2024-04-15 21:50:33 +00:00
{
"last_node_id": 20,
"last_link_id": 25,
"nodes": [
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
1010,
840
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2,
18
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
930,
730
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
21
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 14,
"type": "VAEDecode",
"pos": [
1290,
730
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 19
},
{
"name": "vae",
"type": "VAE",
"link": 20
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
22
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 13,
"type": "SelfAttentionGuidance",
"pos": [
1250,
240
],
"size": [
276.4630196311257,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 14
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
15
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SelfAttentionGuidance"
},
"widgets_values": [
1,
1
]
},
{
"id": 15,
"type": "Image Comparer (rgthree)",
"pos": {
"0": 1627,
"1": 229,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": [
601.600859839069,
542.2478748037794
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 21,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 22,
"dir": 3
}
],
"outputs": [],
"title": "Image Comparer",
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
"/view?filename=rgthree.compare._temp_gqeje_00023_.png&type=temp&subfolder=&rand=0.8033111406716487",
"/view?filename=rgthree.compare._temp_gqeje_00024_.png&type=temp&subfolder=&rand=0.8262789325492353"
]
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
413,
386
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4,
16
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"1950's technicolor style, chinese cleopatra cyberpunk wirehead"
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
470,
240
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
13,
14
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
3,
5
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
20
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"Art Universe v2.0.safetensors"
]
},
{
"id": 12,
"type": "KSampler",
"pos": [
1230,
400
],
"size": [
315,
262
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 15
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 16
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 17
},
{
"name": "latent_image",
"type": "LATENT",
"link": 18
},
{
"name": "seed",
"type": "INT",
"link": 25,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
19
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
9224154662500,
"increment",
20,
3,
"dpmpp_2m_sde",
"karras",
1
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
873,
401
],
"size": [
315,
262
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 13
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 2
},
{
"name": "seed",
"type": "INT",
"link": 24,
"widget": {
"name": "seed"
},
"slot_index": 4
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
9224154662500,
"increment",
20,
3,
"dpmpp_2m_sde",
"karras",
1
]
},
{
"id": 17,
"type": "Seed",
"pos": [
880,
200
],
"size": [
299.6008279973803,
142
],
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "seed",
"type": "SEED",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "number",
"type": "NUMBER",
"links": null,
"shape": 3
},
{
"name": "float",
"type": "FLOAT",
"links": null,
"shape": 3,
"slot_index": 2
},
{
"name": "int",
"type": "INT",
"links": [
24,
25
],
"shape": 3,
"slot_index": 3
}
],
"properties": {
"Node name for S&R": "Seed"
},
"widgets_values": [
14108973750191,
"randomize"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
413,
601
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6,
17
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"anime, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck"
]
}
],
"links": [
[
2,
5,
0,
3,
3,
"LATENT"
],
[
3,
4,
1,
6,
0,
"CLIP"
],
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
13,
4,
0,
3,
0,
"MODEL"
],
[
14,
4,
0,
13,
0,
"MODEL"
],
[
15,
13,
0,
12,
0,
"MODEL"
],
[
16,
6,
0,
12,
1,
"CONDITIONING"
],
[
17,
7,
0,
12,
2,
"CONDITIONING"
],
[
18,
5,
0,
12,
3,
"LATENT"
],
[
19,
12,
0,
14,
0,
"LATENT"
],
[
20,
4,
2,
14,
1,
"VAE"
],
[
21,
8,
0,
15,
0,
"IMAGE"
],
[
22,
14,
0,
15,
1,
"IMAGE"
],
[
24,
17,
3,
3,
4,
"INT"
],
[
25,
17,
3,
12,
4,
"INT"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}