After Black Forest released the Flux model, I think everyone started trying it and comparing with DALL-E3, Midjourney and Stable Diffusion 3. I am cancelling my Midjourney subscription. (Not that I used it a lot, local SD-3 was mostly good enough for me)
On Mac, Flux just works with the following conda env setup:
Python 3.11.3,
pip install torch==2.3.1 torchaudio==2.3.1 torchvision==0.18.1 einops==0.6.1 numba==0.57.0 numpy==1.24.3 transformers==4.33.1 tqdm==4.65.0 tts==0.21.1
Please use
the text encoder and
Flux-1-dev.
ComfyUI pic & config:
{ "last_node_id": 17, "last_link_id": 23, "nodes": [
{ "id": 8, "type": "VAEDecode", "pos": [ 1209, 188 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 11, "mode": 0,
"inputs": [ { "name": "samples", "type": "LATENT", "link": 19 },
{ "name": "vae", "type": "VAE", "link": 13 } ],
"outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 9 ], "slot_index": 0 } ],
"properties": { "Node name for S&R": "VAEDecode" } },
{ "id": 12, "type": "VAELoader", "pos": [ 989, 592 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 13 ], "shape": 3, "slot_index": 0 } ],
"properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "ae.sft" ] },
{ "id": 10, "type": "UNETLoader", "pos": [ -34, 232 ], "size": { "0": 315, "1": 82 },
"flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 15, 23 ], "shape": 3, "slot_index": 0 } ],
"properties": { "Node name for S&R": "UNETLoader" }, "widgets_values": [ "flux1-dev.sft", "default" ] },
{ "id": 11, "type": "DualCLIPLoader", "pos": [ -13, 472 ], "size": { "0": 315, "1": 106 },
"flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 11, 12 ], "shape": 3, "slot_index": 0 } ],
"properties": { "Node name for S&R": "DualCLIPLoader" }, "widgets_values": [ "t5xxl_fp16.safetensors", "clip_l.safetensors", "flux" ] },
{ "id": 13, "type": "SamplerCustomAdvanced", "pos": [ 870, 391 ], "size": { "0": 355.20001220703125, "1": 106 }, "flags": {}, "order": 10, "mode": 0, "inputs": [
{ "name": "noise", "type": "NOISE", "link": 21 }, { "name": "guider", "type": "GUIDER", "link": 18 }, { "name": "sampler", "type": "SAMPLER", "link": 20 }, { "name": "sigmas", "type": "SIGMAS", "link": 22 },
{ "name": "latent_image", "type": "LATENT", "link": 14 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": null, "shape": 3 },
{ "name": "denoised_output", "type": "LATENT", "links": [ 19 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced" } },
{ "id": 5, "type": "EmptyLatentImage", "pos": [ 481, 965 ], "size": { "0": 315, "1": 106 },
"flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 14 ], "slot_index": 0 } ],
"properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 1280, 768, 2 ] },
{ "id": 15, "type": "KSamplerSelect", "pos": [ 452, 778 ], "size": { "0": 315, "1": 58 },
"flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 20 ], "shape": 3, "slot_index": 0 } ],
"properties": { "Node name for S&R": "KSamplerSelect" }, "widgets_values": [ "euler" ] },
{ "id": 14, "type": "CFGGuider", "pos": [ 892, 19 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 9, "mode": 0,
"inputs": [ { "name": "model", "type": "MODEL", "link": 15 }, { "name": "positive", "type": "CONDITIONING", "link": 16 }, { "name": "negative", "type": "CONDITIONING", "link": 17 } ],
"outputs": [ { "name": "GUIDER", "type": "GUIDER", "links": [ 18 ], "shape": 3, "slot_index": 0 } ],
"properties": { "Node name for S&R": "CFGGuider" }, "widgets_values": [ 0.6 ] },
{ "id": 17, "type": "BasicScheduler", "pos": [ 12, 711 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 23 } ],
"outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 22 ], "shape": 3, "slot_index": 0 } ],
"properties": { "Node name for S&R": "BasicScheduler" }, "widgets_values": [ "normal", 10, 1 ] },
{ "id": 16, "type": "RandomNoise", "pos": [ 364, 527 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 5, "mode": 0, "outputs": [
{ "name": "NOISE", "type": "NOISE", "links": [ 21 ], "shape": 3, "slot_index": 0 } ],
"properties": { "Node name for S&R": "RandomNoise" }, "widgets_values": [ 983837843024480, "randomize" ] },
{ "id": 7, "type": "CLIPTextEncode", "pos": [ 376, 286 ], "size": { "0": 425.27801513671875, "1": 180.6060791015625 }, "flags": {}, "order": 7, "mode": 0,
"inputs": [ { "name": "clip", "type": "CLIP", "link": 11 } ],
"outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 17 ], "slot_index": 0 } ],
"properties": { "Node name for S&R": "CLIPTextEncode" },
"widgets_values": [ "text, watermark, drawing" ] },
{ "id": 6, "type": "CLIPTextEncode", "pos": [ 368, 71 ], "size": { "0": 422.84503173828125, "1": 164.31304931640625 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP",
"link": 12 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 16 ], "slot_index": 0 } ], "properties": {
"Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "Minecraft villager and pillager fighting in Minecraft village under square sun, photo" ] }, { "id": 9, "type": "SaveImage", "pos": [ 1390, 304 ], "size": [
210, 270 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 9 } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ],
"links": [ [ 9, 8, 0, 9, 0, "IMAGE" ], [ 11, 11, 0, 7, 0, "CLIP" ], [ 12, 11, 0, 6, 0, "CLIP" ], [ 13, 12, 0, 8, 1, "VAE" ], [ 14, 5, 0, 13, 4, "LATENT" ],
[ 15, 10, 0, 14, 0, "MODEL" ], [ 16, 6, 0, 14, 1, "CONDITIONING" ], [ 17, 7, 0, 14, 2, "CONDITIONING" ], [ 18, 14, 0, 13, 1, "GUIDER" ], [ 19, 13, 1, 8, 0, "LATENT" ],
[ 20, 15, 0, 13, 2, "SAMPLER" ], [ 21, 16, 0, 13, 0, "NOISE" ], [ 22, 17, 0, 13, 3, "SIGMAS" ], [ 23, 10, 0, 17, 0, "MODEL" ] ],
"groups": [], "config": {}, "extra": { "ds": { "scale": 1.4864362802414366, "offset": [ -595.571820355373, -35.052955700408404 ] } }, "version": 0.4 }