Download example_workflows/FLUX_CONTEXT_MI.json from ROYERBIN1/SONIC: direct link, hf CLI and curl.
- Browser
- Download file 19.2 kB
-
https://huggingface.co/ROYERBIN1/SONIC/resolve/main/example_workflows/FLUX_CONTEXT_MI.json
- Command line
-
hf download hf://ROYERBIN1/SONIC/example_workflows/FLUX_CONTEXT_MI.json
-
curl -L -o FLUX_CONTEXT_MI.json https://huggingface.co/ROYERBIN1/SONIC/resolve/main/example_workflows/FLUX_CONTEXT_MI.json
19.2 kB
{
"id": "279e078e-d512-472c-8c05-36ed6fe476a8",
"revision": 0,
"last_node_id": 73,
"last_link_id": 189,
"nodes": [
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
938.7512817382812,
-730.4540405273438
],
"size": [
315,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "KSamplerSelect",
"widget_ue_connectable": {}
},
"widgets_values": [
"euler"
]
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
938.7512817382812,
-874.4542236328125
],
"size": [
315,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "RandomNoise",
"widget_ue_connectable": {}
},
"widgets_values": [
789089123094686,
"randomize"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
1597.6763916015625,
-730.7459106445312
],
"size": [
272.3617858886719,
380.3617858886719
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37
},
{
"name": "guider",
"type": "GUIDER",
"link": 30
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20
},
{
"name": "latent_image",
"type": "LATENT",
"link": 116
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"slot_index": 0,
"links": [
24
]
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "SamplerCustomAdvanced",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1910.302001953125,
-726.661865234375
],
"size": [
210,
46
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "VAEDecode",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
1317.4056396484375,
-523.2149658203125
],
"size": [
222.3482666015625,
46
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 54
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 157
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"slot_index": 0,
"links": [
30
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "BasicGuider",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 39,
"type": "VAEEncode",
"pos": [
318.2060546875,
-468.73931884765625
],
"size": [
140,
46
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 143
},
{
"name": "vae",
"type": "VAE",
"link": 120
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
138
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "VAEEncode",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-171.28970336914062,
-660.0718994140625
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 10
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
41
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "CLIPTextEncode",
"widget_ue_connectable": {}
},
"widgets_values": [
"the woman carries a bottle of refreshing soda."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 40,
"type": "FluxKontextImageScale",
"pos": [
-347.48504638671875,
-438.56256103515625
],
"size": [
187.75448608398438,
26
],
"flags": {
"collapsed": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 185
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
142
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "FluxKontextImageScale",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 53,
"type": "ImageScaleBy",
"pos": [
-14.940001487731934,
-474.5970764160156
],
"size": [
210,
82
],
"flags": {},
"order": 14,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 142
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
143
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "ImageScaleBy",
"widget_ue_connectable": {}
},
"widgets_values": [
"area",
0.5000000000000001
]
},
{
"id": 10,
"type": "VAELoader",
"pos": [
-243.45413208007812,
-311.9941711425781
],
"size": [
311.81634521484375,
60.429901123046875
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
12,
120
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "VAELoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"FLUX1/ae.safetensors"
]
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": [
-537.6398315429688,
-654.3479614257812
],
"size": [
315,
130
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
10
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "DualCLIPLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"t5/t5xxl_fp8_e4m3fn_scaled.safetensors",
"clip_l.safetensors",
"flux",
"default"
]
},
{
"id": 26,
"type": "FluxGuidance",
"pos": [
279.8924865722656,
-650.16357421875
],
"size": [
317.4000244140625,
58
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 41
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
123
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "FluxGuidance",
"widget_ue_connectable": {}
},
"widgets_values": [
2.5
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 42,
"type": "ReferenceLatent",
"pos": [
651.7164916992188,
-617.0902709960938
],
"size": [
240.169921875,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 123
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 138
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
157
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "ReferenceLatent",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
938.7512817382812,
-634.4539184570312
],
"size": [
315,
106
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 55
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "BasicScheduler",
"widget_ue_connectable": {}
},
"widgets_values": [
"beta",
10,
1
]
},
{
"id": 30,
"type": "ModelSamplingFlux",
"pos": [
900.0314331054688,
-474.96575927734375
],
"size": [
315,
130
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 189
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
54,
55
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "ModelSamplingFlux",
"widget_ue_connectable": {
"width": true,
"height": true
}
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
},
{
"id": 27,
"type": "EmptySD3LatentImage",
"pos": [
918.2927856445312,
-291.60968017578125
],
"size": [
315,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
116
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "EmptySD3LatentImage",
"widget_ue_connectable": {
"width": true,
"height": true
}
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 73,
"type": "UNETLoader",
"pos": [
525.5899658203125,
-335.7911376953125
],
"size": [
270,
82
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
189
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"widget_ue_connectable": {},
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"FLUX1/flux1-dev-kontext_fp8_scaled.safetensors",
"default"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
2207.786376953125,
-763.5404663085938
],
"size": [
985.3012084960938,
1060.3828125
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "SaveImage",
"widget_ue_connectable": {}
},
"widgets_values": [
"Open Source Flux Kontext Q5"
]
},
{
"id": 61,
"type": "ImageStitch",
"pos": [
-875.75830078125,
-653.868896484375
],
"size": [
270,
150
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 162
},
{
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 163
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
185
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "ImageStitch",
"widget_ue_connectable": {}
},
"widgets_values": [
"up",
true,
8,
"white"
]
},
{
"id": 62,
"type": "LoadImage",
"pos": [
-1198.58251953125,
-657.0145874023438
],
"size": [
274.080078125,
314
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
162
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "LoadImage",
"widget_ue_connectable": {}
},
"widgets_values": [
"Snapshot_3.PNG",
"image"
]
},
{
"id": 63,
"type": "LoadImage",
"pos": [
-1196.551025390625,
-283.5710754394531
],
"size": [
274.080078125,
314
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
163
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.38",
"Node name for S&R": "LoadImage",
"widget_ue_connectable": {}
},
"widgets_values": [
"mili.jpg",
"image"
]
}
],
"links": [
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
10,
11,
0,
6,
0,
"CLIP"
],
[
12,
10,
0,
8,
1,
"VAE"
],
[
19,
16,
0,
13,
2,
"SAMPLER"
],
[
20,
17,
0,
13,
3,
"SIGMAS"
],
[
24,
13,
0,
8,
0,
"LATENT"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
37,
25,
0,
13,
0,
"NOISE"
],
[
41,
6,
0,
26,
0,
"CONDITIONING"
],
[
54,
30,
0,
22,
0,
"MODEL"
],
[
55,
30,
0,
17,
0,
"MODEL"
],
[
116,
27,
0,
13,
4,
"LATENT"
],
[
120,
10,
0,
39,
1,
"VAE"
],
[
123,
26,
0,
42,
0,
"CONDITIONING"
],
[
138,
39,
0,
42,
1,
"LATENT"
],
[
142,
40,
0,
53,
0,
"IMAGE"
],
[
143,
53,
0,
39,
0,
"IMAGE"
],
[
157,
42,
0,
22,
1,
"CONDITIONING"
],
[
162,
62,
0,
61,
0,
"IMAGE"
],
[
163,
63,
0,
61,
1,
"IMAGE"
],
[
185,
61,
0,
40,
0,
"IMAGE"
],
[
189,
73,
0,
30,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.4665073802097336,
"offset": [
-785.8462328588729,
801.0272269090316
]
},
"frontendVersion": "1.23.4",
"groupNodes": {},
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ue_links": [],
"links_added_by_ue": []
},
"version": 0.4
}
{
"id": "279e078e-d512-472c-8c05-36ed6fe476a8",
"revision": 0,
"last_node_id": 73,
"last_link_id": 189,
"nodes": [
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
938.7512817382812,
-730.4540405273438
],
"size": [
315,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "KSamplerSelect",
"widget_ue_connectable": {}
},
"widgets_values": [
"euler"
]
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
938.7512817382812,
-874.4542236328125
],
"size": [
315,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "RandomNoise",
"widget_ue_connectable": {}
},
"widgets_values": [
789089123094686,
"randomize"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
1597.6763916015625,
-730.7459106445312
],
"size": [
272.3617858886719,
380.3617858886719
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37
},
{
"name": "guider",
"type": "GUIDER",