Skip to content

Instantly share code, notes, and snippets.

@RageshAntonyHM
Created November 20, 2024 10:01
Show Gist options
  • Save RageshAntonyHM/d109447a40bcb54a1c6e9553078fbbcc to your computer and use it in GitHub Desktop.
Save RageshAntonyHM/d109447a40bcb54a1c6e9553078fbbcc to your computer and use it in GitHub Desktop.
SD 3.5 Large + Flux Dev Combined
{
"last_node_id": 90,
"last_link_id": 143,
"nodes": [
{
"id": 56,
"type": "BasicGuider",
"pos": {
"0": 1450,
"1": 1030
},
"size": {
"0": 222.3482666015625,
"1": 46
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 136,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 105,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
104
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicGuider"
},
"widgets_values": []
},
{
"id": 57,
"type": "FluxGuidance",
"pos": {
"0": 1180,
"1": 1180
},
"size": {
"0": 317.4000244140625,
"1": 58
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 123
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
105
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
3.5
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 66,
"type": "Reroute",
"pos": {
"0": -9.597888946533203,
"1": 1074.404052734375
},
"size": [
75,
26
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 143,
"widget": {
"name": "value"
}
}
],
"outputs": [
{
"name": "",
"type": "STRING",
"links": [
117
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 70,
"type": "KSamplerSelect",
"pos": {
"0": 1155,
"1": 1459
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
118
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 72,
"type": "RandomNoise",
"pos": {
"0": 1175,
"1": 1590
},
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
120
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
624568533963279,
"randomize"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 63,
"type": "CLIPTextEncode",
"pos": {
"0": 270,
"1": 1550
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 112
},
{
"name": "text",
"type": "STRING",
"link": 117,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
123
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 74,
"type": "PrimitiveNode",
"pos": {
"0": 744,
"1": 1349
},
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
125,
127
],
"slot_index": 0,
"widget": {
"name": "width"
}
}
],
"title": "width",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
1024,
"fixed"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 75,
"type": "PrimitiveNode",
"pos": {
"0": 994,
"1": 1341
},
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
126,
128
],
"slot_index": 0,
"widget": {
"name": "height"
}
}
],
"title": "height",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
1024,
"fixed"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 76,
"type": "EmptySD3LatentImage",
"pos": {
"0": 1239,
"1": 1313
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 127,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 128,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
129
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 71,
"type": "BasicScheduler",
"pos": {
"0": 1261,
"1": 1730
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 119,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
121
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
1
]
},
{
"id": 55,
"type": "SamplerCustomAdvanced",
"pos": {
"0": 1778,
"1": 1103
},
"size": {
"0": 272.3617858886719,
"1": 124.53733825683594
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 120,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": 104,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 118,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 121,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 129,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
131
],
"slot_index": 0,
"shape": 3
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 79,
"type": "VAEDecode",
"pos": {
"0": 2174.7841796875,
"1": 1104.257080078125
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 131
},
{
"name": "vae",
"type": "VAE",
"link": 137
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
133
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 73,
"type": "ModelSamplingFlux",
"pos": {
"0": 860,
"1": 1757
},
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 135,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"link": 125,
"slot_index": 1,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 126,
"slot_index": 2,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
119
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
},
{
"id": 62,
"type": "DualCLIPLoaderMultiGPU",
"pos": {
"0": -160,
"1": 1439
},
"size": {
"0": 327.5999755859375,
"1": 130
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
112
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderMultiGPU"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"cuda:0"
]
},
{
"id": 81,
"type": "UNETLoaderMultiGPU",
"pos": {
"0": 208,
"1": 1242
},
"size": {
"0": 403.1999816894531,
"1": 106
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
135,
136
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoaderMultiGPU"
},
"widgets_values": [
"flux1-dev.safetensors",
"default",
"cuda:0"
]
},
{
"id": 82,
"type": "VAELoaderMultiGPU",
"pos": {
"0": 1745,
"1": 1470
},
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
137
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"ae.safetensors",
"cuda:0"
]
},
{
"id": 83,
"type": "CLIPLoaderMultiGPU",
"pos": {
"0": -100,
"1": -10
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
138,
139
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPLoaderMultiGPU"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"sd3",
"cuda:0"
]
},
{
"id": 40,
"type": "CLIPTextEncode",
"pos": {
"0": 380,
"1": 340
},
"size": {
"0": 432,
"1": 192
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 138
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
108
],
"slot_index": 0,
"shape": 3
}
],
"title": "Negative Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 53,
"type": "EmptySD3LatentImage",
"pos": {
"0": 480,
"1": 580
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
109
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 84,
"type": "CheckpointLoaderMultiGPU",
"pos": {
"0": -120,
"1": 450
},
"size": {
"0": 340.20001220703125,
"1": 122
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
140
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": null
},
{
"name": "VAE",
"type": "VAE",
"links": [
141
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderMultiGPU"
},
"widgets_values": [
"sd3.5_large.safetensors",
"cuda:0"
]
},
{
"id": 16,
"type": "CLIPTextEncode",
"pos": {
"0": 380,
"1": 70
},
"size": {
"0": 432,
"1": 192
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 139
},
{
"name": "text",
"type": "STRING",
"link": 142,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
107
],
"slot_index": 0
}
],
"title": "Positive Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 58,
"type": "KSamplerAdvanced",
"pos": {
"0": 910,
"1": 200
},
"size": {
"0": 315,
"1": 334
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 140
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 107
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 108
},
{
"name": "latent_image",
"type": "LATENT",
"link": 109
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
110
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
"enable",
668696614443828,
"randomize",
20,
8,
"euler",
"normal",
0,
10000,
"disable"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": {
"0": 1200,
"1": 100
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 110
},
{
"name": "vae",
"type": "VAE",
"link": 141,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
51
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 86,
"type": "workflow>Main prompt",
"pos": {
"0": -1254.30859375,
"1": 584.3606567382812
},
"size": {
"0": 400,
"1": 224
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
142,
143
]
}
],
"properties": {
"Node name for S&R": "workflow>Main prompt"
},
"widgets_values": [
"append",
"no",
"a ship on a sparkliing sea in a fantasy world ",
"",
""
]
},
{
"id": 87,
"type": "Note",
"pos": {
"0": -1510,
"1": 640
},
"size": {
"0": 210,
"1": 60
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"only text_a is needed"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 9,
"type": "SaveImage",
"pos": {
"0": 2154,
"1": 313
},
"size": {
"0": 604.2587280273438,
"1": 300.3414306640625
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 51,
"slot_index": 0
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 80,
"type": "SaveImage",
"pos": {
"0": 2428,
"1": 1019
},
"size": {
"0": 315,
"1": 270
},
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 133
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
[
51,
8,
0,
9,
0,
"IMAGE"
],
[
104,
56,
0,
55,
1,
"GUIDER"
],
[
105,
57,
0,
56,
1,
"CONDITIONING"
],
[
107,
16,
0,
58,
1,
"CONDITIONING"
],
[
108,
40,
0,
58,
2,
"CONDITIONING"
],
[
109,
53,
0,
58,
3,
"LATENT"
],
[
110,
58,
0,
8,
0,
"LATENT"
],
[
112,
62,
0,
63,
0,
"CLIP"
],
[
117,
66,
0,
63,
1,
"STRING"
],
[
118,
70,
0,
55,
2,
"SAMPLER"
],
[
119,
73,
0,
71,
0,
"MODEL"
],
[
120,
72,
0,
55,
0,
"NOISE"
],
[
121,
71,
0,
55,
3,
"SIGMAS"
],
[
123,
63,
0,
57,
0,
"CONDITIONING"
],
[
125,
74,
0,
73,
1,
"INT"
],
[
126,
75,
0,
73,
2,
"INT"
],
[
127,
74,
0,
76,
0,
"INT"
],
[
128,
75,
0,
76,
1,
"INT"
],
[
129,
76,
0,
55,
4,
"LATENT"
],
[
131,
55,
0,
79,
0,
"LATENT"
],
[
133,
79,
0,
80,
0,
"IMAGE"
],
[
135,
81,
0,
73,
0,
"MODEL"
],
[
136,
81,
0,
56,
0,
"MODEL"
],
[
137,
82,
0,
79,
1,
"VAE"
],
[
138,
83,
0,
40,
0,
"CLIP"
],
[
139,
83,
0,
16,
0,
"CLIP"
],
[
140,
84,
0,
58,
0,
"MODEL"
],
[
141,
84,
2,
8,
1,
"VAE"
],
[
142,
86,
0,
16,
1,
"STRING"
],
[
143,
86,
0,
66,
0,
"*"
]
],
"groups": [
{
"title": "SD3 CLIP",
"bounding": [
-140,
-100,
440,
225
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"title": "Main Prompt",
"bounding": [
-1264,
510,
420,
308
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.5209868481924461,
"offset": [
1404.8910757035053,
-324.3394276158141
]
},
"groupNodes": {
"Main prompt": {
"nodes": [
{
"id": -1,
"type": "StringFunction|pysssss",
"pos": {
"0": -1264.05908203125,
"1": 567.6669921875
},
"size": {
"0": 334.20855712890625,
"1": 528.8370971679688
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "StringFunction|pysssss"
},
"widgets_values": [
"append",
"no",
"a bottle with a steampunk market inside it on top of a wooden table on a snowy mountain top with the ocean and clouds in the background",
"",
""
],
"index": 0
},
{
"id": -1,
"type": "Note",
"pos": {
"0": -1445,
"1": 710
},
"size": [
140,
60
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Only text_a is needed"
],
"color": "#432",
"bgcolor": "#653",
"index": 1
}
],
"links": [],
"external": [
[
0,
0,
"STRING"
]
]
}
}
},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment