{
"last_node_id": 31,
"last_link_id": 75,
"nodes": [
{
"id": 8,
"type": "VAEDecode",
"pos": [
1488,
192
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
672,
384
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 57
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 18,
"type": "CLIPMergeSubtract",
"pos": [
-48,
-96
],
"size": {
"0": 210,
"1": 78
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip1",
"type": "CLIP",
"link": 52
},
{
"name": "clip2",
"type": "CLIP",
"link": 53
}
],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
54
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPMergeSubtract"
},
"widgets_values": [
1
]
},
{
"id": 15,
"type": "ModelMergeSubtract",
"pos": [
-48,
48
],
"size": {
"0": 210,
"1": 78
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model1",
"type": "MODEL",
"link": 46
},
{
"name": "model2",
"type": "MODEL",
"link": 47,
"slot_index": 1
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
48
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelMergeSubtract"
},
"widgets_values": [
1
]
},
{
"id": 19,
"type": "CLIPMergeAdd",
"pos": [
192,
-96
],
"size": {
"0": 140,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip1",
"type": "CLIP",
"link": 54
},
{
"name": "clip2",
"type": "CLIP",
"link": 55,
"slot_index": 1
}
],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
57,
68,
73
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPMergeAdd"
}
},
{
"id": 17,
"type": "ModelMergeAdd",
"pos": [
192,
48
],
"size": {
"0": 140,
"1": 46
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model1",
"type": "MODEL",
"link": 48
},
{
"name": "model2",
"type": "MODEL",
"link": 58,
"slot_index": 1
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
63
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelMergeAdd"
}
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
-432,
-96
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
46
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
52
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
75
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"cosxl.safetensors"
]
},
{
"id": 16,
"type": "CheckpointLoaderSimple",
"pos": [
-432,
48
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
47
],
"shape": 3
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
53
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_1.0.safetensors"
]
},
{
"id": 24,
"type": "CheckpointSave",
"pos": [
1520,
-40
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 17,
"mode": 2,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 74
},
{
"name": "clip",
"type": "CLIP",
"link": 73
},
{
"name": "vae",
"type": "VAE",
"link": 75
}
],
"properties": {
"Node name for S&R": "CheckpointSave"
},
"widgets_values": [
"checkpoints/cosxl_merge"
]
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
768,
624
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
4
]
},
{
"id": 25,
"type": "Note",
"pos": [
-16,
237
],
"size": {
"0": 335.5303039550781,
"1": 333.66693115234375
},
"flags": {},
"order": 3,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"This is a workflow used to convert most SDXL checkpoints into a CosXL checkpoint.\n\nBasically how it works is:\n\n(cosxl - sdxl) + other_checkpoint"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 28,
"type": "Note",
"pos": [
384,
714
],
"size": [
291.0806177198033,
127.39669040877652
],
"flags": {},
"order": 4,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Adjusting the ratio of the output blocks 0 to 4 of the model can be used to make it more faithful to the original model.\n\nNote that these values work like:\n\nmodel1 * ratio + model2 * (1.0 - ratio)"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
672,
192
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 68
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"beautiful scenery nature glass bottle with a galaxy inside at sunset"
]
},
{
"id": 13,
"type": "ModelMergeSDXL",
"pos": [
384,
46
],
"size": {
"0": 251.28329467773438,
"1": 630
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model1",
"type": "MODEL",
"link": 63
},
{
"name": "model2",
"type": "MODEL",
"link": 64
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
71
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelMergeSDXL"
},
"widgets_values": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0.5,
0.5,
0.5,
0.5,
0.5,
1,
1,
1,
1,
1
]
},
{
"id": 12,
"type": "CheckpointLoaderSimple",
"pos": [
-531,
194
],
"size": {
"0": 413.8030090332031,
"1": 98
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
58,
64
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
55
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"albedobaseXL_v21.safetensors"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1730,
192
],
"size": {
"0": 725.7374877929688,
"1": 778.832275390625
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 23,
"type": "ModelSamplingContinuousEDM",
"pos": [
674,
27
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 71
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
72,
74
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingContinuousEDM"
},
"widgets_values": [
"v_prediction",
120,
0.002
]
},
{
"id": 26,
"type": "Note",
"pos": [
672,
-96
],
"size": {
"0": 310.07574462890625,
"1": 82.39419555664062
},
"flags": {},
"order": 6,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"The sigma_min and sigma_max values here are saved in the checkpoint so you should try adjusting them."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 27,
"type": "Note",
"pos": [
1152,
502
],
"size": {
"0": 313.5343322753906,
"1": 229.41488647460938
},
"flags": {},
"order": 7,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"A good starting point is the sampling settings of the base model but you might have to adjust them for optimal results."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 3,
"type": "KSampler",
"pos": [
1152,
192
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 72
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 2
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
156680208700286,
"fixed",
20,
8,
"euler",
"normal",
1
]
}
],
"links": [
[
2,
5,
0,
3,
3,
"LATENT"
],
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
46,
4,
0,
15,
0,
"MODEL"
],
[
47,
16,
0,
15,
1,
"MODEL"
],
[
48,
15,
0,
17,
0,
"MODEL"
],
[
52,
4,
1,
18,
0,
"CLIP"
],
[
53,
16,
1,
18,
1,
"CLIP"
],
[
54,
18,
0,
19,
0,
"CLIP"
],
[
55,
12,
1,
19,
1,
"CLIP"
],
[
57,
19,
0,
7,
0,
"CLIP"
],
[
58,
12,
0,
17,
1,
"MODEL"
],
[
63,
17,
0,
13,
0,
"MODEL"
],
[
64,
12,
0,
13,
1,
"MODEL"
],
[
68,
19,
0,
6,
0,
"CLIP"
],
[
71,
13,
0,
23,
0,
"MODEL"
],
[
72,
23,
0,
3,
0,
"MODEL"
],
[
73,
19,
0,
24,
1,
"CLIP"
],
[
74,
23,
0,
24,
0,
"MODEL"
],
[
75,
4,
2,
24,
2,
"VAE"
]
],
"groups": [
{
"title": "Save checkpoint when done (CTRL-M to unmute)",
"bounding": [
1401,
-135,
566,
239
],
"color": "#8A8",
"font_size": 24
}
],
"config": {},
"extra": {},
"version": 0.4
}