Pre-Filled Template
{
"last_node_id": 40,
"last_link_id": 418,
"nodes": [
{
"id": 8,
"type": "VAEDecode",
"pos": [
1536,
240
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 411
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1776,
240
],
"size": {
"0": 1081.208740234375,
"1": 743.9793090820312
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
670,
401
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 124
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
413
],
"slot_index": 0
}
],
"title": "Negative",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 13,
"type": "LoadImage",
"pos": [
-329,
471
],
"size": {
"0": 500.7899169921875,
"1": 405.3478698730469
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
417
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"mountains.png",
"image"
]
},
{
"id": 38,
"type": "ImageScaleToTotalPixels",
"pos": [
256,
465
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 4,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 417
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
418
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"bilinear",
1
]
},
{
"id": 39,
"type": "Note",
"pos": [
254,
600
],
"size": {
"0": 306.53076171875,
"1": 148.01629638671875
},
"flags": {},
"order": 1,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Enable this (CTRL-B or right click -> Bypass) if your images are large and you need to downscale them."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
672,
192
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 125
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
414
],
"slot_index": 0
}
],
"title": "Positive",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"snow at sunset oil painting"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 37,
"type": "workflow/IP2PSampler",
"pos": [
1152,
240
],
"size": {
"0": 358.8717041015625,
"1": 306
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 412
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 414
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 413
},
{
"name": "vae",
"type": "VAE",
"link": 415
},
{
"name": "pixels",
"type": "IMAGE",
"link": 418
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
411
],
"shape": 3
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "workflow/IP2PSampler"
},
"widgets_values": [
"euler",
11652752290163,
"randomize",
"normal",
20,
1,
5,
1.5
]
},
{
"id": 40,
"type": "Note",
"pos": [
1152,
624
],
"size": {
"0": 336,
"1": 192
},
"flags": {},
"order": 2,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"This IP2PSampler node is a group node, you can right click it then \"Convert to nodes\" to see how it works."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
174,
249
],
"size": {
"0": 442.8365478515625,
"1": 98
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
412
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
124,
125
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
415
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"cosxl_edit.safetensors"
]
}
],
"links": [
[
8,
4,
2,
8,
1,
"VAE"
],
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
124,
4,
1,
7,
0,
"CLIP"
],
[
125,
4,
1,
6,
0,
"CLIP"
],
[
411,
37,
0,
8,
0,
"LATENT"
],
[
412,
4,
0,
37,
0,
"MODEL"
],
[
413,
7,
0,
37,
2,
"CONDITIONING"
],
[
414,
6,
0,
37,
1,
"CONDITIONING"
],
[
415,
4,
2,
37,
3,
"VAE"
],
[
417,
13,
0,
38,
0,
"IMAGE"
],
[
418,
38,
0,
37,
4,
"IMAGE"
]
],
"groups": [
{
"title": "Optional Image Rescale",
"bounding": [
201,
373,
419,
211
],
"color": "#3f789e",
"font_size": 24
}
],
"config": {},
"extra": {
"groupNodes": {
"IP2PSampler": {
"nodes": [
{
"type": "KSamplerSelect",
"pos": [
912,
1536
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
],
"index": 0
},
{
"type": "RandomNoise",
"pos": [
912,
1200
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
156680208700303,
"fixed"
],
"index": 1
},
{
"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
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [],
"shape": 3
}
],
"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
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "vae",
"type": "VAE",
"link": null
},
{
"name": "pixels",
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [],
"shape": 3,
"slot_index": 1
},
{
"name": "latent",
"type": "LATENT",
"links": [],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "InstructPixToPixConditioning"
},
"index": 6
},
{
"type": "DualCFGGuider",
"pos": [
912,
1344
],
"size": {
"0": 315,
"1": 142
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null
},
{
"name": "cond1",
"type": "CONDITIONING",
"link": null
},
{
"name": "cond2",
"type": "CONDITIONING",
"link": null
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"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
},
{
"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
}
],
"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
}