Pre-Filled Template
{
"id": "dbedd4b2-c963-475d-8057-72a15e532fd5",
"revision": 0,
"last_node_id": 57,
"last_link_id": 457,
"nodes": [
{
"id": 43,
"type": "VAELoader",
"pos": [
264.98028564453125,
365.94329833984375
],
"size": [
315,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
422,
444
]
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 42,
"type": "QuadrupleCLIPLoader",
"pos": [
267.21856689453125,
190.70782470703125
],
"size": [
315,
130
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
420,
421
]
}
],
"properties": {
"Node name for S&R": "QuadrupleCLIPLoader"
},
"widgets_values": [
"clip_g_hidream.safetensors",
"clip_l_hidream.safetensors",
"t5xxl_fp8_e4m3fn_scaled.safetensors",
"llama_3.1_8b_instruct_fp8_scaled.safetensors"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 41,
"type": "UNETLoader",
"pos": [
266.0548095703125,
63.377586364746094
],
"size": [
315,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
449
]
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"hidream_e1_1_bf16.safetensors",
"default"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
672,
192
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 420
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
452,
453
]
}
],
"title": "Positive",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"make it a drawing"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 46,
"type": "KSamplerSelect",
"pos": [
1350,
400
],
"size": [
210,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
438
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 49,
"type": "BasicScheduler",
"pos": [
1350,
490
],
"size": [
210,
106
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 456
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
439
]
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
1
]
},
{
"id": 53,
"type": "DualCFGGuider",
"pos": [
1350,
200
],
"size": [
211.419921875,
166
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 457
},
{
"name": "cond1",
"type": "CONDITIONING",
"link": 433
},
{
"name": "cond2",
"type": "CONDITIONING",
"link": 434
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 452
},
{
"name": "cfg_conds",
"type": "FLOAT",
"widget": {
"name": "cfg_conds"
},
"link": 454
},
{
"name": "cfg_cond2_negative",
"type": "FLOAT",
"widget": {
"name": "cfg_cond2_negative"
},
"link": 455
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"slot_index": 0,
"links": [
437
]
}
],
"properties": {
"Node name for S&R": "DualCFGGuider"
},
"widgets_values": [
3,
1.5,
"nested"
]
},
{
"id": 54,
"type": "SamplerCustomAdvanced",
"pos": [
1570,
200
],
"size": [
202.53378295898438,
106
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 436
},
{
"name": "guider",
"type": "GUIDER",
"link": 437
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 438
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 439
},
{
"name": "latent_image",
"type": "LATENT",
"link": 440
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"slot_index": 0,
"links": [
446
]
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1780,
200
],
"size": [
140,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 446
},
{
"name": "vae",
"type": "VAE",
"link": 422
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1940,
200
],
"size": [
978.4276733398438,
966.8090209960938
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 52,
"type": "InstructPixToPixConditioning",
"pos": [
1110,
210
],
"size": [
217.31991577148438,
86
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 453
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 451
},
{
"name": "vae",
"type": "VAE",
"link": 444
},
{
"name": "pixels",
"type": "IMAGE",
"link": 445
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
433
]
},
{
"name": "negative",
"type": "CONDITIONING",
"slot_index": 1,
"links": [
434
]
},
{
"name": "latent",
"type": "LATENT",
"slot_index": 2,
"links": [
440
]
}
],
"properties": {
"Node name for S&R": "InstructPixToPixConditioning"
},
"widgets_values": []
},
{
"id": 55,
"type": "CFGNorm",
"pos": [
1110,
330
],
"size": [
220,
60
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 449
}
],
"outputs": [
{
"name": "patched_model",
"type": "MODEL",
"links": [
456,
457
]
}
],
"properties": {
"Node name for S&R": "CFGNorm"
},
"widgets_values": [
1
]
},
{
"id": 56,
"type": "PrimitiveNode",
"pos": [
1110,
550
],
"size": [
210,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"widget": {
"name": "cfg_conds"
},
"links": [
454
]
}
],
"title": "CFG",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
3,
"fixed"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 47,
"type": "RandomNoise",
"pos": [
1110,
430
],
"size": [
210,
82
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
436
]
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
712422729595905,
"randomize"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 57,
"type": "PrimitiveNode",
"pos": [
1110,
670
],
"size": [
210,
82
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"widget": {
"name": "cfg_cond2_negative"
},
"links": [
455
]
}
],
"title": "Image CFG",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
1.5,
"fixed"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
670,
400
],
"size": [
425.27801513671875,
180.6060791015625
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 421
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
451
]
}
],
"title": "Negative",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"low quality, blurry, distorted"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 45,
"type": "ImageScaleToTotalPixels",
"pos": [
310,
470
],
"size": [
270,
82
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 427
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
445
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"area",
1
]
},
{
"id": 13,
"type": "LoadImage",
"pos": [
-220,
470
],
"size": [
500.7899169921875,
405.3478698730469
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
427
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"flux_dev_example.png",
"image"
]
}
],
"links": [
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
420,
42,
0,
6,
0,
"CLIP"
],
[
421,
42,
0,
7,
0,
"CLIP"
],
[
422,
43,
0,
8,
1,
"VAE"
],
[
427,
13,
0,
45,
0,
"IMAGE"
],
[
433,
52,
0,
53,
1,
"CONDITIONING"
],
[
434,
52,
1,
53,
2,
"CONDITIONING"
],
[
436,
47,
0,
54,
0,
"NOISE"
],
[
437,
53,
0,
54,
1,
"GUIDER"
],
[
438,
46,
0,
54,
2,
"SAMPLER"
],
[
439,
49,
0,
54,
3,
"SIGMAS"
],
[
440,
52,
2,
54,
4,
"LATENT"
],
[
444,
43,
0,
52,
2,
"VAE"
],
[
445,
45,
0,
52,
3,
"IMAGE"
],
[
446,
54,
0,
8,
0,
"LATENT"
],
[
449,
41,
0,
55,
0,
"MODEL"
],
[
451,
7,
0,
52,
1,
"CONDITIONING"
],
[
452,
6,
0,
53,
3,
"CONDITIONING"
],
[
453,
6,
0,
52,
0,
"CONDITIONING"
],
[
454,
56,
0,
53,
4,
"FLOAT"
],
[
455,
57,
0,
53,
5,
"FLOAT"
],
[
456,
55,
0,
49,
0,
"MODEL"
],
[
457,
55,
0,
53,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9229599817706609,
"offset": [
237.69629740250994,
-8.106066563304672
]
},
"frontendVersion": "1.23.4",
"groupNodes": {
"IP2PSampler": {
"nodes": [
{
"type": "KSamplerSelect",
"pos": [
912,
1536
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [],
"localized_name": "SAMPLER"
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
],
"index": 0,
"inputs": [
{
"name": "sampler_name",
"localized_name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"boundingRect": [
0,
0,
0,
0
],
"link": null
}
]
},
{
"type": "RandomNoise",
"pos": [
912,
1200
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [],
"localized_name": "NOISE"
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
156680208700303,
"fixed"
],
"index": 1,
"inputs": [
{
"name": "noise_seed",
"localized_name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"boundingRect": [
0,
0,
0,
0
],
"link": null
}
]
},
{
"type": "Reroute",
"pos": [
720,
1488
],
"size": [
75,
26
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "",
"type": "*",
"links": null
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"index": 2
},
{
"type": "BasicScheduler",
"pos": [
912,
1632
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null,
"localized_name": "model"
},
{
"name": "scheduler",
"localized_name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"boundingRect": [
0,
0,
0,
0
],
"link": null
},
{
"name": "steps",
"localized_name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"boundingRect": [
0,
0,
0,
0
],
"link": null
},
{
"name": "denoise",
"localized_name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"boundingRect": [
0,
0,
0,
0
],
"link": null
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [],
"localized_name": "SIGMAS"
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"normal",
20,
1
],
"index": 3
},
{
"type": "Reroute",
"pos": [
575,
1344
],
"size": [
75,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "",
"type": "*",
"links": null
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"index": 4
},
{
"type": "Reroute",
"pos": [
570,
1386
],
"size": [
75,
26
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "",
"type": "*",
"links": null
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"index": 5
},
{
"type": "InstructPixToPixConditioning",
"pos": [
672,
1344
],
"size": {
"0": 235.1999969482422,
"1": 86
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": null,
"localized_name": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null,
"localized_name": "negative"
},
{
"name": "vae",
"type": "VAE",
"link": null,
"localized_name": "vae"
},
{
"name": "pixels",
"type": "IMAGE",
"link": null,
"localized_name": "pixels"
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [],
"slot_index": 0,
"localized_name": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [],
"slot_index": 1,
"localized_name": "negative"
},
{
"name": "latent",
"type": "LATENT",
"links": [],
"slot_index": 2,
"localized_name": "latent"
}
],
"properties": {
"Node name for S&R": "InstructPixToPixConditioning"
},
"index": 6,
"widgets_values": []
},
{
"type": "DualCFGGuider",
"pos": [
912,
1344
],
"size": {
"0": 315,
"1": 142
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null,
"localized_name": "model"
},
{
"name": "cond1",
"type": "CONDITIONING",
"link": null,
"localized_name": "cond1"
},
{
"name": "cond2",
"type": "CONDITIONING",
"link": null,
"localized_name": "cond2"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null,
"localized_name": "negative"
},
{
"name": "cfg_conds",
"localized_name": "cfg_conds",
"type": "FLOAT",
"widget": {
"name": "cfg_conds"
},
"boundingRect": [
0,
0,
0,
0
],
"link": null
},
{
"name": "cfg_cond2_negative",
"localized_name": "cfg_cond2_negative",
"type": "FLOAT",
"widget": {
"name": "cfg_cond2_negative"
},
"boundingRect": [
0,
0,
0,
0
],
"link": null
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [],
"slot_index": 0,
"localized_name": "GUIDER"
}
],
"properties": {
"Node name for S&R": "DualCFGGuider"
},
"widgets_values": [
3,
1.5
],
"index": 7
},
{
"type": "SamplerCustomAdvanced",
"pos": [
1296,
1200
],
"size": {
"0": 355.20001220703125,
"1": 106
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": null,
"slot_index": 0,
"localized_name": "noise"
},
{
"name": "guider",
"type": "GUIDER",
"link": null,
"slot_index": 1,
"localized_name": "guider"
},
{
"name": "sampler",
"type": "SAMPLER",
"link": null,
"slot_index": 2,
"localized_name": "sampler"
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": null,
"slot_index": 3,
"localized_name": "sigmas"
},
{
"name": "latent_image",
"type": "LATENT",
"link": null,
"slot_index": 4,
"localized_name": "latent_image"
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [],
"slot_index": 0,
"localized_name": "output"
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"localized_name": "denoised_output"
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"index": 8,
"widgets_values": []
}
],
"links": [
[
null,
0,
2,
0,
4,
"MODEL"
],
[
2,
0,
3,
0,
26,
"MODEL"
],
[
null,
0,
5,
0,
7,
"CONDITIONING"
],
[
null,
0,
4,
0,
6,
"CONDITIONING"
],
[
4,
0,
6,
0,
35,
"CONDITIONING"
],
[
5,
0,
6,
1,
29,
"CONDITIONING"
],
[
null,
2,
6,
2,
4,
"VAE"
],
[
null,
0,
6,
3,
13,
"IMAGE"
],
[
2,
0,
7,
0,
26,
"MODEL"
],
[
6,
0,
7,
1,
33,
"CONDITIONING"
],
[
6,
1,
7,
2,
33,
"CONDITIONING"
],
[
5,
0,
7,
3,
29,
"CONDITIONING"
],
[
1,
0,
8,
0,
19,
"NOISE"
],
[
7,
0,
8,
1,
28,
"GUIDER"
],
[
0,
0,
8,
2,
20,
"SAMPLER"
],
[
3,
0,
8,
3,
21,
"SIGMAS"
],
[
6,
2,
8,
4,
33,
"LATENT"
]
],
"external": [
[
{
"type": "SamplerCustomAdvanced",
"pos": [
1296,
1200
],
"size": {
"0": 355.20001220703125,
"1": 106
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": null,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": null,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": null,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": null,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": null,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"index": 8
},
0,
"LATENT"
]
],
"config": {
"0": {},
"1": {},
"2": {
"input": {
"MODEL": {
"name": "model"
}
}
},
"3": {},
"4": {
"input": {
"CONDITIONING": {
"name": "positive"
}
}
},
"5": {
"input": {
"CONDITIONING": {
"name": "negative"
}
}
},
"6": {},
"7": {
"input": {
"cfg_conds": {
"name": "cfg_text"
},
"cfg_cond2_negative": {
"name": "cfg_image"
}
}
},
"8": {}
}
}
}
},
"version": 0.4
}