ComfyUI Workflow

View and download your workflow JSON

{
  "last_node_id": 8,
  "last_link_id": 7,
  "nodes": [
    {
      "id": 1,
      "type": "LoadImage",
      "pos": [
        100,
        200
      ],
      "size": {
        "0": 315,
        "1": 180
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "node": "LoadImage"
      },
      "widgets_values": []
    },
    {
      "id": 2,
      "type": "CLIPTextEncode",
      "pos": [
        100,
        400
      ],
      "size": {
        "0": 425,
        "1": 180
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 3,
          "slot_index": 0
        },
        {
          "name": "text",
          "type": "STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            4
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "node": "CLIPTextEncode"
      },
      "widgets_values": [
        "positive prompt"
      ]
    },
    {
      "id": 3,
      "type": "CLIPTextEncode",
      "pos": [
        100,
        600
      ],
      "size": {
        "0": 425,
        "1": 180
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 3,
          "slot_index": 0
        },
        {
          "name": "text",
          "type": "STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            5
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "node": "CLIPTextEncode"
      },
      "widgets_values": [
        "negative prompt"
      ]
    },
    {
      "id": 4,
      "type": "LoadCheckpoint",
      "pos": [
        100,
        50
      ],
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "ckpt_name",
          "type": "COMBO",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            6
          ],
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            3
          ],
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            7
          ],
          "slot_index": 2
        }
      ],
      "properties": {
        "node": "LoadCheckpoint"
      },
      "widgets_values": [
        "qwen_image_edit_2509.safetensors"
      ]
    },
    {
      "id": 5,
      "type": "VAEDecode",
      "pos": [
        800,
        300
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 2,
          "slot_index": 0
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 7,
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            0
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "node": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 6,
      "type": "KSampler",
      "pos": [
        550,
        300
      ],
      "size": {
        "0": 315,
        "1": 262
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 6,
          "slot_index": 0
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 4,
          "slot_index": 1
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 5,
          "slot_index": 2
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            2
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "node": "KSampler"
      },
      "widgets_values": [
        20,
        7,
        1,
        "euler",
        12345
      ]
    },
    {
      "id": 7,
      "type": "VAEEncode",
      "pos": [
        350,
        200
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 1,
          "slot_index": 0
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 7,
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": null,
          "slot_index": 0
        }
      ],
      "properties": {
        "node": "VAEEncode"
      },
      "widgets_values": []
    },
    {
      "id": 8,
      "type": "SaveImage",
      "pos": [
        1000,
        300
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 0,
          "slot_index": 0
        }
      ],
      "outputs": [],
      "properties": {
        "node": "SaveImage"
      },
      "widgets_values": []
    }
  ],
  "links": [
    [
      1,
      0,
      7,
      0,
      "IMAGE"
    ],
    [
      2,
      0,
      6,
      0,
      "LATENT"
    ],
    [
      3,
      1,
      2,
      0,
      "CLIP"
    ],
    [
      3,
      1,
      3,
      0,
      "CLIP"
    ],
    [
      4,
      0,
      6,
      1,
      "CONDITIONING"
    ],
    [
      5,
      0,
      6,
      2,
      "CONDITIONING"
    ],
    [
      6,
      0,
      6,
      0,
      "MODEL"
    ],
    [
      7,
      2,
      5,
      1,
      "VAE"
    ],
    [
      7,
      2,
      7,
      1,
      "VAE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {},
  "version": 0.4
}