mycomfyuiworkflows / Flux1 /Flux.1 Kontext Dev.json
Bhanu Khan
Upload My ComfyUI workflows
2128e05 verified
{
"id": "dbefb627-ffdd-4b0c-b088-7a9451674baa",
"revision": 0,
"last_node_id": 16,
"last_link_id": 21,
"nodes": [
{
"id": 2,
"type": "DualCLIPLoader",
"pos": [
4003.6201171875,
863.860595703125
],
"size": [
270,
130
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
1
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"clip_l.safetensors",
"t5xxl_fp8_e4m3fn_scaled.safetensors",
"flux",
"default"
]
},
{
"id": 1,
"type": "UNETLoader",
"pos": [
4001.002197265625,
733.2302856445312
],
"size": [
270,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
2
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev-kontext_fp8_scaled.safetensors",
"default"
]
},
{
"id": 11,
"type": "FluxGuidance",
"pos": [
4734.7470703125,
590.9367065429688
],
"size": [
270,
58
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 9
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
10
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
2.5
]
},
{
"id": 14,
"type": "GetImageSize",
"pos": [
4516.599609375,
535.5548095703125
],
"size": [
140,
124
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 14
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
15,
17
]
},
{
"name": "height",
"type": "INT",
"links": [
16,
18
]
},
{
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "GetImageSize"
},
"widgets_values": []
},
{
"id": 3,
"type": "VAELoader",
"pos": [
4001.142578125,
1037.412841796875
],
"size": [
270,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
6,
20
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 7,
"type": "LoadImageOutput",
"pos": [
4007.589111328125,
313.1712951660156
],
"size": [
274,
362
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
4
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "LoadImageOutput"
},
"widgets_values": [
"ComfyUI_00249_.png [output]",
false,
"refresh",
"image"
]
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
4327.96728515625,
865.5213623046875
],
"size": [
400,
200
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
9,
11
]
}
],
"title": "Positive Prompt",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"transform this image into ghibli art style"
]
},
{
"id": 6,
"type": "ModelSamplingFlux",
"pos": [
4343.32568359375,
742.4375610351562
],
"size": [
270,
130
],
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 2
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 17
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 18
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
3
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
},
{
"id": 12,
"type": "ConditioningZeroOut",
"pos": [
4754.677734375,
814.148193359375
],
"size": [
197.66665649414062,
56.74610137939453
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 11
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
12
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "ConditioningZeroOut"
},
"widgets_values": []
},
{
"id": 5,
"type": "KSampler",
"pos": [
5015.4775390625,
781.9383544921875
],
"size": [
270,
262
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 3
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 8
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 12
},
{
"name": "latent_image",
"type": "LATENT",
"link": 13
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
19
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "KSampler"
},
"widgets_values": [
779816648921421,
"randomize",
20,
1,
"euler",
"simple",
1
]
},
{
"id": 13,
"type": "EmptySD3LatentImage",
"pos": [
4723.4833984375,
1120.9940185546875
],
"size": [
270,
106
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 15
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 16
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 10,
"type": "ReferenceLatent",
"pos": [
5020.06884765625,
682.6324462890625
],
"size": [
197.66665649414062,
46
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 10
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 7
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
8
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "ReferenceLatent"
},
"widgets_values": []
},
{
"id": 9,
"type": "VAEEncode",
"pos": [
4729.9599609375,
496.1231689453125
],
"size": [
140,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 5
},
{
"name": "vae",
"type": "VAE",
"link": 6
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 8,
"type": "FluxKontextImageScale",
"pos": [
4310.32958984375,
408.15631103515625
],
"size": [
187.71665954589844,
26
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 4
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
5,
14
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "FluxKontextImageScale"
},
"widgets_values": []
},
{
"id": 15,
"type": "VAEDecode",
"pos": [
5314.181640625,
782.9696655273438
],
"size": [
140,
46
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 19
},
{
"name": "vae",
"type": "VAE",
"link": 20
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
21
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 16,
"type": "SaveImage",
"pos": [
5484.767578125,
782.1886596679688
],
"size": [
428,
372
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 21
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
[
1,
2,
0,
4,
0,
"CLIP"
],
[
2,
1,
0,
6,
0,
"MODEL"
],
[
3,
6,
0,
5,
0,
"MODEL"
],
[
4,
7,
0,
8,
0,
"IMAGE"
],
[
5,
8,
0,
9,
0,
"IMAGE"
],
[
6,
3,
0,
9,
1,
"VAE"
],
[
7,
9,
0,
10,
1,
"LATENT"
],
[
8,
10,
0,
5,
1,
"CONDITIONING"
],
[
9,
4,
0,
11,
0,
"CONDITIONING"
],
[
10,
11,
0,
10,
0,
"CONDITIONING"
],
[
11,
4,
0,
12,
0,
"CONDITIONING"
],
[
12,
12,
0,
5,
2,
"CONDITIONING"
],
[
13,
13,
0,
5,
3,
"LATENT"
],
[
14,
8,
0,
14,
0,
"IMAGE"
],
[
15,
14,
0,
13,
0,
"INT"
],
[
16,
14,
1,
13,
1,
"INT"
],
[
17,
14,
0,
6,
1,
"INT"
],
[
18,
14,
1,
6,
2,
"INT"
],
[
19,
5,
0,
15,
0,
"LATENT"
],
[
20,
3,
0,
15,
1,
"VAE"
],
[
21,
15,
0,
16,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
-4132.644216093163,
-533.9971816378669
]
},
"frontendVersion": "1.23.4"
},
"version": 0.4
}