ComfyUI Workflow

View and download your workflow JSON

{
  "last_node_id": 12,
  "last_link_id": 15,
  "nodes": [
    {
      "id": 1,
      "type": "CheckpointLoaderSimple",
      "pos": [
        50,
        100
      ],
      "size": [
        315,
        98
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            1
          ],
          "shape": 3
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            2,
            3
          ],
          "shape": 3
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            4
          ],
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "flux2-schnell.safetensors"
      ]
    },
    {
      "id": 2,
      "type": "CLIPTextEncodeFlux",
      "pos": [
        400,
        50
      ],
      "size": [
        400,
        150
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            5
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncodeFlux"
      },
      "widgets_values": [
        "a beautiful landscape with mountains and a lake, serene atmosphere, high quality"
      ]
    },
    {
      "id": 3,
      "type": "CLIPTextEncodeFlux",
      "pos": [
        400,
        250
      ],
      "size": [
        400,
        150
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 3
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            6
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncodeFlux"
      },
      "widgets_values": [
        "blurry, low quality, distorted, bad anatomy"
      ]
    },
    {
      "id": 4,
      "type": "EmptyLatentImage",
      "pos": [
        400,
        450
      ],
      "size": [
        315,
        106
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            7
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        1024,
        1024,
        1
      ]
    },
    {
      "id": 5,
      "type": "KSampler",
      "pos": [
        850,
        100
      ],
      "size": [
        315,
        474
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 1
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 5
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 6
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            8
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        156680208700286,
        "fixed",
        4,
        1,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 6,
      "type": "VAEDecode",
      "pos": [
        1250,
        150
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 8
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 4
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            9,
            10
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 7,
      "type": "SaveImage",
      "pos": [
        1250,
        250
      ],
      "size": [
        315,
        270
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 9
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "Flux2-Generated"
      ]
    },
    {
      "id": 8,
      "type": "QwenImageEdit",
      "pos": [
        1600,
        150
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 10
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            11
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "QwenImageEdit"
      },
      "widgets_values": [
        "add a rainbow in the sky",
        7.5,
        50
      ]
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        2050,
        150
      ],
      "size": [
        315,
        270
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 11
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "Qwen-Edited"
      ]
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      5,
      0,
      "MODEL"
    ],
    [
      2,
      1,
      1,
      2,
      0,
      "CLIP"
    ],
    [
      3,
      1,
      1,
      3,
      0,
      "CLIP"
    ],
    [
      4,
      1,
      2,
      6,
      1,
      "VAE"
    ],
    [
      5,
      2,
      0,
      5,
      1,
      "CONDITIONING"
    ],
    [
      6,
      3,
      0,
      5,
      2,
      "CONDITIONING"
    ],
    [
      7,
      4,
      0,
      5,
      3,
      "LATENT"
    ],
    [
      8,
      5,
      0,
      6,
      0,
      "LATENT"
    ],
    [
      9,
      6,
      0,
      7,
      0,
      "IMAGE"
    ],
    [
      10,
      6,
      0,
      8,
      0,
      "IMAGE"
    ],
    [
      11,
      8,
      0,
      9,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "info": "Built with anycoder - https://huggingface.co/spaces/akhaliq/anycoder",
    "workflow": {
      "node_count": 9,
      "models": [
        "flux2-schnell.safetensors"
      ],
      "editors": [
        "Qwen/Qwen-Image-Edit"
      ]
    }
  },
  "version": 0.4
}