✦ GenAI make images now
TemplatesComfyUIColabReel makerGalleryWiki

FLUX.1 [dev] — Text to Image txt2img

← all ComfyUI workflows

FLUX uses a separate UNET + dual CLIP/T5 text encoders + a FLUX VAE. State-of-the-art prompt following and text-in-image. Heavy: best on a good GPU. Grab the model files from the linked example page.

Models: flux1-dev.safetensors, clip_l.safetensors, t5xxl_fp16.safetensors, ae.safetensors · 8 nodes

Workflow JSON

{
  "3": {
    "class_type": "KSampler",
    "inputs": {
      "seed": 0,
      "steps": 20,
      "cfg": 1,
      "sampler_name": "euler",
      "scheduler": "simple",
      "denoise": 1,
      "model": [
        "12",
        0
      ],
      "positive": [
        "6",
        0
      ],
      "negative": [
        "6",
        0
      ],
      "latent_image": [
        "5",
        0
      ]
    }
  },
  "5": {
    "class_type": "EmptyLatentImage",
    "inputs": {
      "width": 1024,
      "height": 1024,
      "batch_size": 1
    }
  },
  "6": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "text": "a clean circular MELEK coin logo, ankh motif, gold metallic finish, vector style",
      "clip": [
        "11",
        0
      ]
    }
  },
  "8": {
    "class_type": "VAEDecode",
    "inputs": {
      "samples": [
        "3",
        0
      ],
      "vae": [
        "10",
        0
      ]
    }
  },
  "9": {
    "class_type": "SaveImage",
    "inputs": {
      "filename_prefix": "MELEK-FLUX",
      "images": [
        "8",
        0
      ]
    }
  },
  "10": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "ae.safetensors"
    }
  },
  "11": {
    "class_type": "DualCLIPLoader",
    "inputs": {
      "clip_name1": "t5xxl_fp16.safetensors",
      "clip_name2": "clip_l.safetensors",
      "type": "flux"
    }
  },
  "12": {
    "class_type": "UNETLoader",
    "inputs": {
      "unet_name": "flux1-dev.safetensors",
      "weight_dtype": "default"
    }
  }
}