Files
asagi4-ComfyUI-Adaptive-Gui…/example_workflows/AGExample.json
T
2025-05-03 21:12:06 +03:00

1130 lines
18 KiB
JSON

{
"last_node_id": 26,
"last_link_id": 44,
"nodes": [
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
13.240040245056106,
415.8400286865237
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
29,
30,
34,
41
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
3,
5,
38
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
32
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sdxl_checkpoint.safetensors"
]
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
363.26003231048605,
680.6200128173828
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
18,
24
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
363,
245
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
14,
26,
39
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
363,
453
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
15,
27,
40
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
930,
0
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 14,
"mode": 2,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 19
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
20
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 10,
"type": "SamplerCustomAdvanced",
"pos": [
915,
180
],
"size": [
236.8000030517578,
326
],
"flags": {},
"order": 12,
"mode": 2,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 10
},
{
"name": "guider",
"type": "GUIDER",
"link": 35
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 16
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 17
},
{
"name": "latent_image",
"type": "LATENT",
"link": 18
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
19
],
"shape": 3,
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 11,
"type": "RandomNoise",
"pos": [
15.240040245056104,
560.8400286865237
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
10,
21
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
1,
"fixed"
]
},
{
"id": 12,
"type": "CFGGuider",
"pos": [
915,
45
],
"size": [
210,
94
],
"flags": {},
"order": 9,
"mode": 2,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 30
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 14
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 15
},
{
"name": "cfg",
"type": "FLOAT",
"link": 25,
"widget": {
"name": "cfg"
}
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
35
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CFGGuider"
},
"widgets_values": [
8
]
},
{
"id": 14,
"type": "KSamplerSelect",
"pos": [
14.240040245056106,
694.8400286865233
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
16,
22
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 15,
"type": "BasicScheduler",
"pos": [
14.240040245056106,
798.8400286865235
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 34
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
17,
23
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"normal",
20,
1
]
},
{
"id": 16,
"type": "PreviewImage",
"pos": [
1170,
-15
],
"size": [
570,
525
],
"flags": {},
"order": 16,
"mode": 2,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 20
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 18,
"type": "SamplerCustomAdvanced",
"pos": [
915.2819912109372,
858.7035625000001
],
"size": [
236.8000030517578,
326
],
"flags": {
"collapsed": false,
"pinned": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 21
},
{
"name": "guider",
"type": "GUIDER",
"link": 44
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 22
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 23
},
{
"name": "latent_image",
"type": "LATENT",
"link": 24
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
31
],
"shape": 3,
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 19,
"type": "AdaptiveGuidance",
"pos": [
915.6620546874999,
663.323865234375
],
"size": [
238,
154.8000030517578
],
"flags": {
"collapsed": false
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 29
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 26
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 27
},
{
"name": "cfg",
"type": "FLOAT",
"link": 28,
"widget": {
"name": "cfg"
}
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
44
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "AdaptiveGuidance"
},
"widgets_values": [
0.996,
8,
0
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 20,
"type": "PrimitiveNode",
"pos": [
16.240040245056104,
280.84002868652345
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
25,
28,
42
],
"slot_index": 0,
"widget": {
"name": "cfg"
}
}
],
"title": "CFG",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
8,
"fixed"
]
},
{
"id": 21,
"type": "VAEDecode",
"pos": [
930.2819912109372,
618.7035625
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 31
},
{
"name": "vae",
"type": "VAE",
"link": 32
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
33
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 22,
"type": "PreviewImage",
"pos": [
1170.2819912109373,
618.7035625
],
"size": [
568.6000000000001,
527.5880036926269
],
"flags": {
"collapsed": false
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 33
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 25,
"type": "PerpNegAdaptiveGuidanceGuider",
"pos": [
478.20005187988306,
1020.0001831054691
],
"size": [
317.4000244140625,
190
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 41
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 39
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 40
},
{
"name": "empty_conditioning",
"type": "CONDITIONING",
"link": 37
},
{
"name": "cfg",
"type": "FLOAT",
"link": 42,
"widget": {
"name": "cfg"
}
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PerpNegAdaptiveGuidanceGuider"
},
"widgets_values": [
0.995,
8,
1,
0
]
},
{
"id": 26,
"type": "CLIPTextEncode",
"pos": [
247.20005187988278,
1018.000183105469
],
"size": [
210,
75.99995040893555
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 38
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
}
],
"links": [
[
3,
4,
1,
6,
0,
"CLIP"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
10,
11,
0,
10,
0,
"NOISE"
],
[
14,
6,
0,
12,
1,
"CONDITIONING"
],
[
15,
7,
0,
12,
2,
"CONDITIONING"
],
[
16,
14,
0,
10,
2,
"SAMPLER"
],
[
17,
15,
0,
10,
3,
"SIGMAS"
],
[
18,
5,
0,
10,
4,
"LATENT"
],
[
19,
10,
0,
8,
0,
"LATENT"
],
[
20,
8,
0,
16,
0,
"IMAGE"
],
[
21,
11,
0,
18,
0,
"NOISE"
],
[
22,
14,
0,
18,
2,
"SAMPLER"
],
[
23,
15,
0,
18,
3,
"SIGMAS"
],
[
24,
5,
0,
18,
4,
"LATENT"
],
[
25,
20,
0,
12,
3,
"FLOAT"
],
[
26,
6,
0,
19,
1,
"CONDITIONING"
],
[
27,
7,
0,
19,
2,
"CONDITIONING"
],
[
28,
20,
0,
19,
3,
"FLOAT"
],
[
29,
4,
0,
19,
0,
"MODEL"
],
[
30,
4,
0,
12,
0,
"MODEL"
],
[
31,
18,
0,
21,
0,
"LATENT"
],
[
32,
4,
2,
21,
1,
"VAE"
],
[
33,
21,
0,
22,
0,
"IMAGE"
],
[
34,
4,
0,
15,
0,
"MODEL"
],
[
35,
12,
0,
10,
1,
"GUIDER"
],
[
37,
26,
0,
25,
3,
"CONDITIONING"
],
[
38,
4,
1,
26,
0,
"CLIP"
],
[
39,
6,
0,
25,
1,
"CONDITIONING"
],
[
40,
7,
0,
25,
2,
"CONDITIONING"
],
[
41,
4,
0,
25,
0,
"MODEL"
],
[
42,
20,
0,
25,
4,
"FLOAT"
],
[
44,
19,
0,
18,
1,
"GUIDER"
]
],
"groups": [
{
"title": "AdaptiveGuider Result",
"bounding": [
906,
544,
844,
650
],
"color": "#8A8",
"font_size": 24
},
{
"title": "Basic CFG Result",
"bounding": [
905,
-89,
845,
609
],
"color": "#b58b2a",
"font_size": 24
},
{
"title": "Common settings",
"bounding": [
3,
171,
795,
744
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "PerpNeg AG (link to SamplerCustomAdvanced)",
"bounding": [
236,
943,
568,
276
],
"color": "#a1309b",
"font_size": 24
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015781,
"offset": [
337.9763298458754,
115.08931529625504
]
},
"groupNodes": {}
},
"version": 0.4
}