GlassPrism-kontext-LoRA / workflow /Kontext-LoRA- Workflow.json
drbaph's picture
Upload Kontext-LoRA- Workflow.json
f0feb9f verified
{
"id": "7cbcec68-7fa6-47bb-a38a-da689949a001",
"revision": 0,
"last_node_id": 188,
"last_link_id": 300,
"nodes": [
{
"id": 187,
"type": "ImageScaleToTotalPixels",
"pos": [
300,
1340
],
"size": [
270,
82
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 293
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
294
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "ImageScaleToTotalPixels",
"widget_ue_connectable": {},
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [
"bicubic",
1
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 124,
"type": "VAEEncode",
"pos": [
350,
860
],
"size": [
270,
50
],
"flags": {
"collapsed": false
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 294
},
{
"name": "vae",
"type": "VAE",
"link": 223
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
295,
296
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.39",
"Node name for S&R": "VAEEncode",
"widget_ue_connectable": {},
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 182,
"type": "CLIPTextEncode",
"pos": [
350,
1140
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {
"collapsed": true
},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 285
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
280
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "CLIPTextEncode",
"widget_ue_connectable": {}
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 176,
"type": "ReferenceLatent",
"pos": [
360,
1190
],
"size": [
197.712890625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 274
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 295
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
282
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "ReferenceLatent",
"widget_ue_connectable": {},
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 183,
"type": "UNETLoader",
"pos": [
0,
820
],
"size": [
270,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
289
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "UNETLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"flux1-kontext-dev.safetensors",
"fp8_e4m3fn_fast"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 39,
"type": "VAELoader",
"pos": [
-70,
1140
],
"size": [
337.76861572265625,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
223,
297
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "VAELoader",
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
"directory": "vae"
}
],
"widget_ue_connectable": {}
},
"widgets_values": [
"ae.sft"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 184,
"type": "DualCLIPLoader",
"pos": [
-60,
950
],
"size": [
337.76861572265625,
130
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
284,
285
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "DualCLIPLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"SD3\\clip_l.safetensors",
"SD3\\t5xxl_fp8_e4m3fn.safetensors",
"flux",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 177,
"type": "VAEDecode",
"pos": [
657.2835083007812,
823.780029296875
],
"size": [
210,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 276
},
{
"name": "vae",
"type": "VAE",
"link": 297
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
283
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "VAEDecode",
"widget_ue_connectable": {},
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 178,
"type": "KSampler",
"pos": [
699.6721801757812,
946.4093627929688
],
"size": [
315,
474.00006103515625
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 300
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 279
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 280
},
{
"name": "latent_image",
"type": "LATENT",
"link": 296
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
276
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "KSampler",
"widget_ue_connectable": {},
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [
1097463480041380,
"randomize",
25,
1,
"euler",
"simple",
1
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 179,
"type": "FluxGuidance",
"pos": [
370,
1610
],
"size": [
211.60000610351562,
58
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 282
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
279
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "FluxGuidance",
"widget_ue_connectable": {},
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [
62.900000000000006
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 180,
"type": "SaveImage",
"pos": [
1072.358642578125,
822.124755859375
],
"size": [
985.3012084960938,
1060.3828125
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 283
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "SaveImage",
"widget_ue_connectable": {},
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [
"ComfyUI"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 181,
"type": "CLIPTextEncode",
"pos": [
340,
970
],
"size": [
290,
120
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 284
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
274
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "CLIPTextEncode",
"widget_ue_connectable": {}
},
"widgets_values": [
"make this object a glass prism, with reflections. black background"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 186,
"type": "LoraLoaderModelOnly",
"pos": [
247.0482940673828,
1470.6708984375
],
"size": [
310,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 289
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
300
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "LoraLoaderModelOnly",
"widget_ue_connectable": {}
},
"widgets_values": [
"glass-prism-kontext-lora.safetensors",
1
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 133,
"type": "LoadImage",
"pos": [
-139.27587890625,
1307.648681640625
],
"size": [
340,
350
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
293
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.39",
"Node name for S&R": "LoadImage",
"widget_ue_connectable": {}
},
"widgets_values": [
"0162500000_0_3.webp",
"image"
],
"color": "#322",
"bgcolor": "#533"
}
],
"links": [
[
223,
39,
0,
124,
1,
"VAE"
],
[
274,
181,
0,
176,
0,
"CONDITIONING"
],
[
276,
178,
0,
177,
0,
"LATENT"
],
[
279,
179,
0,
178,
1,
"CONDITIONING"
],
[
280,
182,
0,
178,
2,
"CONDITIONING"
],
[
282,
176,
0,
179,
0,
"CONDITIONING"
],
[
283,
177,
0,
180,
0,
"IMAGE"
],
[
284,
184,
0,
181,
0,
"CLIP"
],
[
285,
184,
0,
182,
0,
"CLIP"
],
[
289,
183,
0,
186,
0,
"MODEL"
],
[
293,
133,
0,
187,
0,
"IMAGE"
],
[
294,
187,
0,
124,
0,
"IMAGE"
],
[
295,
124,
0,
176,
1,
"LATENT"
],
[
296,
124,
0,
178,
3,
"LATENT"
],
[
297,
39,
0,
177,
1,
"VAE"
],
[
300,
186,
0,
178,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7247295000000008,
"offset": [
1011.1877800925919,
-202.75599942836675
]
},
"frontendVersion": "1.20.7",
"groupNodes": {},
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ue_links": [],
"links_added_by_ue": []
},
"version": 0.4
}