flux.basic.i2i / FLUX-12gb_img2img_v1.4_with_Realism.json
plasmo's picture
Upload FLUX-12gb_img2img_v1.4_with_Realism.json
e396244 verified
{
"last_node_id": 82,
"last_link_id": 138,
"nodes": [
{
"id": 69,
"type": "UpscaleModelLoader",
"pos": [
4076.740364583337,
-495.992783610024
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
116
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"4x_NMKD-Superscale-SP_178000_G.pth"
]
},
{
"id": 70,
"type": "ImageScaleBy",
"pos": [
4406.7403645833365,
-495.992783610024
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 117
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
118
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleBy"
},
"widgets_values": [
"lanczos",
0.5
]
},
{
"id": 71,
"type": "SaveImage",
"pos": [
4066.7403645833374,
-345.9927836100242
],
"size": {
"0": 686.9293823242188,
"1": 1089.4158935546875
},
"flags": {
"collapsed": false
},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 118
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"%date:yyyy-MM-dd%/UPSCALED/dreamUP%date:hh-mm-ss%"
]
},
{
"id": 68,
"type": "ImageUpscaleWithModel",
"pos": [
4156.7403645833365,
-405.99278361002405
],
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {
"collapsed": false
},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 116,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 119,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
117
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageUpscaleWithModel"
}
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
1661,
-402
],
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 121,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 123,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicGuider"
}
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
1213,
-106
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
124
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev.sft",
"fp8_e4m3fn"
],
"color": "#53d5de",
"bgcolor": "#3fc1ca"
},
{
"id": 77,
"type": "Int Literal",
"pos": [
1226,
275
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
129
],
"shape": 3,
"slot_index": 0
}
],
"title": "Height",
"properties": {
"Node name for S&R": "Int Literal"
},
"widgets_values": [
1024
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 74,
"type": "FluxGuidance",
"pos": [
1415,
-407
],
"size": [
211.60000610351562,
58
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 122
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
123
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
2
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": [
1215,
-256
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
],
"color": "#52d3dc",
"bgcolor": "#3ebfc8"
},
{
"id": 50,
"type": "RandomNoise",
"pos": [
1585,
-295
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
86
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
113973402439828,
"randomize"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 10,
"type": "VAELoader",
"pos": [
1586,
-60
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12,
132
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"FLUX1\\ae.sft"
],
"color": "#52d2da",
"bgcolor": "#3ebec6"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1991,
-204
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
94,
105,
119
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 78,
"type": "VAEEncode",
"pos": [
1997,
-112
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 135,
"slot_index": 0
},
{
"name": "vae",
"type": "VAE",
"link": 132,
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
131
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
1586,
-164
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 73,
"type": "LoraLoaderModelOnly",
"pos": [
1578,
151
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 124
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
120
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"flux_realism_lora.safetensors",
1
],
"color": "#64d766",
"bgcolor": "#50c352"
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
2251,
-334
],
"size": {
"0": 355.20001220703125,
"1": 326
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 86,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": 30,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 60,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 131,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
24
],
"shape": 3,
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 79,
"type": "RepeatImageBatch",
"pos": [
1583,
48
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 138,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
135
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "RepeatImageBatch"
},
"widgets_values": [
1
]
},
{
"id": 58,
"type": "LoadImage",
"pos": [
668,
18
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
106,
136,
138
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"00115-3325333134.png",
"image"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
2631,
-350
],
"size": {
"0": 686.9293823242188,
"1": 1089.4158935546875
},
"flags": {
"collapsed": false
},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 94
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"flux/ComfyUI"
]
},
{
"id": 63,
"type": "Image Comparer (rgthree)",
"pos": {
"0": 3347,
"1": -349,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 688.4932861328125,
"1": 1127.301025390625
},
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 106,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 105,
"dir": 3
}
],
"outputs": [],
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_asykm_00011_.png&type=temp&subfolder=&rand=0.08908714274453366"
},
{
"name": "B",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_asykm_00012_.png&type=temp&subfolder=&rand=0.23343025637332127"
}
]
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
1180,
-384
],
"size": [
243.0364077955362,
54
],
"flags": {
"collapsed": true
},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 10
},
{
"name": "text",
"type": "STRING",
"link": 112,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
122
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"best quality, high quality, 4k"
]
},
{
"id": 53,
"type": "Note",
"pos": [
1233,
372
],
"size": {
"0": 289.4256286621094,
"1": 205.32461547851562
},
"flags": {},
"order": 8,
"mode": 0,
"title": "List of Common Aspect Ratios",
"properties": {
"text": ""
},
"widgets_values": [
"512x512-\n\n1:1 = 512 x 512\n4:5 = 456 x 568\n9:16 = 384 x 688\n4:3 = 592 x 448\n3:2 = 624 x 416\n\n1024x1024-\n\n1:1 = 1024 x 1024\n4:5 = 912 x 1136\n9:16 = 768 x 1376\n4:3 = 1184 x 896\n3:2 = 1248 x 832\n"
],
"color": "#432",
"bgcolor": "#653",
"shape": 1
},
{
"id": 76,
"type": "Int Literal",
"pos": [
1227,
175
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 9,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
128
],
"shape": 3,
"slot_index": 0
}
],
"title": "Width",
"properties": {
"Node name for S&R": "Int Literal"
},
"widgets_values": [
1024
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 56,
"type": "ShowText|pysssss",
"pos": [
633,
-325
],
"size": {
"0": 405.0133972167969,
"1": 176
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 115,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
112
],
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
[
"The image shows a person in a kitchen, wearing a white space suit and a helmet. The person is in mid-air, with their arms and legs stretched out to the sides. The helmet is tilted upwards, as if they are about to take off. The background shows a kitchen countertop and a window with a view of trees outside. Above the person's head, there is a large splash of black paint splatter. The overall mood of the image is surreal and dreamlike."
],
"The image is a portrait of a woman's head and upper body. The woman has long black hair styled in loose curls and is wearing a white headband with colorful polka dots. Her eyes are painted red and her lips are painted a deep red. She is also wearing a green wig with multiple small white faces attached to it. The background is a plain white wall. The overall mood of the image is surreal and dreamlike."
]
},
{
"id": 55,
"type": "Florence2Run",
"pos": [
911,
-389
],
"size": {
"0": 290.8155517578125,
"1": 352
},
"flags": {
"collapsed": true
},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 136,
"slot_index": 0
},
{
"name": "florence2_model",
"type": "FL2MODEL",
"link": 107
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"links": null,
"shape": 3
},
{
"name": "caption",
"type": "STRING",
"links": [
115
],
"shape": 3,
"slot_index": 2
},
{
"name": "data",
"type": "JSON",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Florence2Run"
},
"widgets_values": [
"",
"more_detailed_caption",
true,
false,
1024,
3,
true,
"",
269300048356135,
"randomize"
]
},
{
"id": 54,
"type": "DownloadAndLoadFlorence2Model",
"pos": [
636,
-389
],
"size": {
"0": 268.2561950683594,
"1": 106
},
"flags": {
"collapsed": true
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "lora",
"type": "PEFTLORA",
"link": null
}
],
"outputs": [
{
"name": "florence2_model",
"type": "FL2MODEL",
"links": [
107
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadFlorence2Model"
},
"widgets_values": [
"microsoft/Florence-2-base",
"fp32",
"sdpa"
]
},
{
"id": 72,
"type": "ModelSamplingFlux",
"pos": [
1582,
277
],
"size": {
"0": 321.8402404785156,
"1": 122
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 120
},
{
"name": "width",
"type": "INT",
"link": 128,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 129,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
121,
125
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
0.5,
0.3,
1024,
1024
],
"color": "#64d766",
"bgcolor": "#50c352"
},
{
"id": 81,
"type": "Note",
"pos": [
1983,
223
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 11,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"denoise 0.35 = add only detail\ndenoise 0.90 = more realism"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 38,
"type": "SplitSigmas",
"pos": [
2029,
-247
],
"size": {
"0": 315,
"1": 78
},
"flags": {
"collapsed": true
},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "sigmas",
"type": "SIGMAS",
"link": 59
}
],
"outputs": [
{
"name": "high_sigmas",
"type": "SIGMAS",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "low_sigmas",
"type": "SIGMAS",
"links": [
60
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "SplitSigmas"
},
"widgets_values": [
0
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 80,
"type": "Note",
"pos": [
723,
-92
],
"size": [
210,
62.296752687448446
],
"flags": {},
"order": 12,
"mode": 0,
"title": "Flux IMG2IMG+Realism",
"properties": {
"text": ""
},
"widgets_values": [
"Should work with 12GB cards\nv1.4 - feel free to modify"
],
"color": "#692020",
"bgcolor": "#550c0c"
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
1981,
74
],
"size": [
210,
106
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 125,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
59
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
35,
0.85
],
"color": "#b448b6",
"bgcolor": "#a034a2"
}
],
"links": [
[
10,
11,
0,
6,
0,
"CLIP"
],
[
12,
10,
0,
8,
1,
"VAE"
],
[
19,
16,
0,
13,
2,
"SAMPLER"
],
[
24,
13,
0,
8,
0,
"LATENT"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
59,
17,
0,
38,
0,
"SIGMAS"
],
[
60,
38,
1,
13,
3,
"SIGMAS"
],
[
86,
50,
0,
13,
0,
"NOISE"
],
[
94,
8,
0,
9,
0,
"IMAGE"
],
[
105,
8,
0,
63,
1,
"IMAGE"
],
[
106,
58,
0,
63,
0,
"IMAGE"
],
[
107,
54,
0,
55,
1,
"FL2MODEL"
],
[
112,
56,
0,
6,
1,
"STRING"
],
[
115,
55,
2,
56,
0,
"STRING"
],
[
116,
69,
0,
68,
0,
"UPSCALE_MODEL"
],
[
117,
68,
0,
70,
0,
"IMAGE"
],
[
118,
70,
0,
71,
0,
"IMAGE"
],
[
119,
8,
0,
68,
1,
"IMAGE"
],
[
120,
73,
0,
72,
0,
"MODEL"
],
[
121,
72,
0,
22,
0,
"MODEL"
],
[
122,
6,
0,
74,
0,
"CONDITIONING"
],
[
123,
74,
0,
22,
1,
"CONDITIONING"
],
[
124,
12,
0,
73,
0,
"MODEL"
],
[
125,
72,
0,
17,
0,
"MODEL"
],
[
128,
76,
0,
72,
1,
"INT"
],
[
129,
77,
0,
72,
2,
"INT"
],
[
131,
78,
0,
13,
4,
"LATENT"
],
[
132,
10,
0,
78,
1,
"VAE"
],
[
135,
79,
0,
78,
0,
"IMAGE"
],
[
136,
58,
0,
55,
0,
"IMAGE"
],
[
138,
58,
0,
79,
0,
"IMAGE"
]
],
"groups": [
{
"title": "Final Upscaled Image",
"bounding": [
4038,
-616,
743,
1385
],
"color": "#b58b2a",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.33809166040571415,
"offset": [
-416.71122464696543,
869.88886277508
]
}
},
"version": 0.4
}