Added Flux img2img example workflow

This commit is contained in:
Jonseed
2024-11-01 10:41:05 -06:00
parent 437c1420f0
commit bbcc3e6ce3
2 changed files with 848 additions and 0 deletions
+848
View File
@@ -0,0 +1,848 @@
{
"last_node_id": 63,
"last_link_id": 150,
"nodes": [
{
"id": 9,
"type": "SaveImage",
"pos": {
"0": 1790,
"1": 230
},
"size": {
"0": 367.5887451171875,
"1": 74.19313049316406
},
"flags": {},
"order": 15,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 134
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 48,
"type": "UnetLoaderGGUF",
"pos": {
"0": 20,
"1": 90
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
130
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UnetLoaderGGUF"
},
"widgets_values": [
"flux\\flux1-dev-Q8_0.gguf"
]
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": {
"0": 20,
"1": 210
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
144
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"ViT-L-14-BEST-smooth-GmP-TE-only-HF-format.safetensors",
"t5xxl_fp16.safetensors",
"flux"
]
},
{
"id": 10,
"type": "VAELoader",
"pos": {
"0": 20,
"1": 370
},
"size": {
"0": 311.81634521484375,
"1": 60.429901123046875
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12,
132
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 22,
"type": "BasicGuider",
"pos": {
"0": 900,
"1": 183
},
"size": {
"0": 222.3482666015625,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 54,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 146,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicGuider"
},
"widgets_values": []
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": {
"0": 1209,
"1": 183
},
"size": {
"0": 272.3617858886719,
"1": 124.53733825683594
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": 30,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 138,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 133,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
24
],
"slot_index": 0,
"shape": 3
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 41,
"type": "LoadImage",
"pos": {
"0": 20,
"1": 490
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
148
],
"slot_index": 0,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"Screenshot 2023-09-18 091517.png",
"image"
]
},
{
"id": 62,
"type": "ImageResize+",
"pos": {
"0": 25,
"1": 858
},
"size": {
"0": 315,
"1": 218
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 148
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
149
],
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
1024,
1024,
"nearest",
"keep proportion",
"always",
0
]
},
{
"id": 49,
"type": "VAEEncode",
"pos": {
"0": 896,
"1": 353
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 149
},
{
"name": "vae",
"type": "VAE",
"link": 132
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
133
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 50,
"type": "PreviewImage",
"pos": {
"0": 1793,
"1": 359
},
"size": {
"0": 535.2194213867188,
"1": 523.0248413085938
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 135
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": {
"0": 1535,
"1": 259
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
134,
135
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 52,
"type": "DetailDaemonSamplerNode",
"pos": {
"0": 880,
"1": 502
},
"size": {
"0": 250.63522338867188,
"1": 274
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "sampler",
"type": "SAMPLER",
"link": 137
}
],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
138
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DetailDaemonSamplerNode"
},
"widgets_values": [
0.8,
0.05,
0.9,
0.5,
0.5,
0,
0,
0,
true,
0
]
},
{
"id": 61,
"type": "CLIPTextEncodeFlux",
"pos": {
"0": 403,
"1": 92
},
"size": [
402.8331782636767,
333.1784071867411
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 144
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
146
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"a close-up photograph of a majestic lion resting in the savannah at dusk. The lion's golden fur shimmers under the soft, fading light of the setting sun, casting long shadows across the grasslands. Using a Canon EOS-1D X Mark III paired with a Canon EF 70-200mm f/2.8L IS III USM lens, every detail of the lion's face is crisp, from its piercing amber eyes to the intricate texture of its mane. The backdrop features a hazy orange sky with silhouettes of distant acacia trees, creating a breathtaking scene that encapsulates the wild beauty of the African savannah.",
"a close-up photograph of a majestic lion resting in the savannah at dusk. The lion's golden fur shimmers under the soft, fading light of the setting sun, casting long shadows across the grasslands. Using a Canon EOS-1D X Mark III paired with a Canon EF 70-200mm f/2.8L IS III USM lens, every detail of the lion's face is crisp, from its piercing amber eyes to the intricate texture of its mane. The backdrop features a hazy orange sky with silhouettes of distant acacia trees, creating a breathtaking scene that encapsulates the wild beauty of the African savannah.",
3
]
},
{
"id": 25,
"type": "RandomNoise",
"pos": {
"0": 457,
"1": 502
},
"size": [
315,
82
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
1010815042691718,
"fixed"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": {
"0": 460,
"1": 654
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
137
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"dpmpp_2m"
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": {
"0": 455,
"1": 781
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 55,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"beta",
16,
0.8
]
},
{
"id": 30,
"type": "ModelSamplingFlux",
"pos": {
"0": 457,
"1": 939
},
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 130,
"slot_index": 0
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
54,
55
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
}
],
"links": [
[
12,
10,
0,
8,
1,
"VAE"
],
[
20,
17,
0,
13,
3,
"SIGMAS"
],
[
24,
13,
0,
8,
0,
"LATENT"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
37,
25,
0,
13,
0,
"NOISE"
],
[
54,
30,
0,
22,
0,
"MODEL"
],
[
55,
30,
0,
17,
0,
"MODEL"
],
[
130,
48,
0,
30,
0,
"MODEL"
],
[
132,
10,
0,
49,
1,
"VAE"
],
[
133,
49,
0,
13,
4,
"LATENT"
],
[
134,
8,
0,
9,
0,
"IMAGE"
],
[
135,
8,
0,
50,
0,
"IMAGE"
],
[
137,
16,
0,
52,
0,
"SAMPLER"
],
[
138,
52,
0,
13,
2,
"SAMPLER"
],
[
144,
11,
0,
61,
0,
"CLIP"
],
[
146,
61,
0,
22,
1,
"CONDITIONING"
],
[
148,
41,
0,
62,
0,
"IMAGE"
],
[
149,
62,
0,
49,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.5644739300537774,
"offset": [
644.4923323021252,
344.4655124672261
]
},
"groupNodes": {}
},
"version": 0.4
}
BIN
View File
Binary file not shown.