{
  "last_node_id": 38,
  "last_link_id": 76,
  "nodes": [
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        1290,
        40
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 71,
          "label": "model"
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 64,
          "label": "positive"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 65,
          "label": "negative"
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 66,
          "label": "latent_image"
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            7
          ],
          "slot_index": 0,
          "label": "LATENT"
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        896617285614695,
        "randomize",
        20,
        1,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 35,
      "type": "InstructPixToPixConditioning",
      "pos": [
        1040,
        50
      ],
      "size": [
        235.1999969482422,
        86
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 67,
          "label": "positive"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 68,
          "label": "negative"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 69,
          "label": "vae"
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 70,
          "label": "pixels"
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            64
          ],
          "slot_index": 0,
          "label": "positive"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            65
          ],
          "slot_index": 1,
          "label": "negative"
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            66
          ],
          "slot_index": 2,
          "label": "latent"
        }
      ],
      "properties": {
        "Node name for S&R": "InstructPixToPixConditioning"
      },
      "widgets_values": []
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        1620,
        40
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 7,
          "label": "samples"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 60,
          "label": "vae"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            9
          ],
          "slot_index": 0,
          "label": "IMAGE"
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        1850,
        40
      ],
      "size": [
        828.9535522460938,
        893.8475341796875
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 9,
          "label": "images"
        }
      ],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 32,
      "type": "VAELoader",
      "pos": [
        1290,
        350
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            60,
            69
          ],
          "slot_index": 0,
          "label": "VAE"
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "ae.safetensors"
      ]
    },
    {
      "id": 26,
      "type": "FluxGuidance",
      "pos": [
        700,
        50
      ],
      "size": [
        317.4000244140625,
        58
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 41,
          "label": "conditioning"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            67
          ],
          "slot_index": 0,
          "shape": 3,
          "label": "CONDITIONING"
        }
      ],
      "properties": {
        "Node name for S&R": "FluxGuidance"
      },
      "widgets_values": [
        30
      ]
    },
    {
      "id": 34,
      "type": "DualCLIPLoader",
      "pos": [
        -80,
        110
      ],
      "size": [
        315,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            62,
            63
          ],
          "label": "CLIP"
        }
      ],
      "properties": {
        "Node name for S&R": "DualCLIPLoader"
      },
      "widgets_values": [
        "clip_l.safetensors",
        "t5xxl_fp16.safetensors",
        "flux",
        "default"
      ]
    },
    {
      "id": 23,
      "type": "CLIPTextEncode",
      "pos": [
        260,
        50
      ],
      "size": [
        422.84503173828125,
        164.31304931640625
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 62,
          "label": "clip"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            41
          ],
          "slot_index": 0,
          "label": "CONDITIONING"
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "A robot made of exotic candies and chocolates of different kinds. The background is filled with confetti and celebratory gifts."
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 19,
      "type": "PreviewImage",
      "pos": [
        1127.9403076171875,
        554.3356323242188
      ],
      "size": [
        571.5869140625,
        625.5296020507812
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 26,
          "label": "images"
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 18,
      "type": "Canny",
      "pos": [
        744.2684936523438,
        566.853515625
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 76,
          "label": "image"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            26,
            70
          ],
          "slot_index": 0,
          "shape": 3,
          "label": "IMAGE"
        }
      ],
      "properties": {
        "Node name for S&R": "Canny"
      },
      "widgets_values": [
        0.15,
        0.3
      ]
    },
    {
      "id": 38,
      "type": "ImageScale",
      "pos": [
        379.69903564453125,
        565.2651977539062
      ],
      "size": [
        315,
        130
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 75
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            76
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageScale"
      },
      "widgets_values": [
        "nearest-exact",
        1024,
        1024,
        "center"
      ]
    },
    {
      "id": 17,
      "type": "LoadImage",
      "pos": [
        6.694743633270264,
        562.3865966796875
      ],
      "size": [
        315,
        314.0000305175781
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            75
          ],
          "slot_index": 0,
          "shape": 3,
          "label": "IMAGE"
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3,
          "label": "MASK"
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "robot.png",
        "image"
      ]
    },
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        323.8695068359375,
        387.9589538574219
      ],
      "size": [
        425.27801513671875,
        180.6060791015625
      ],
      "flags": {
        "collapsed": true
      },
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 63,
          "label": "clip"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            68
          ],
          "slot_index": 0,
          "label": "CONDITIONING"
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 36,
      "type": "SVDQuantFluxDiTLoader",
      "pos": [
        823.9686279296875,
        -126.4416275024414
      ],
      "size": [
        395.6002197265625,
        105.77959442138672
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            71
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SVDQuantFluxDiTLoader"
      },
      "widgets_values": [
        "mit-han-lab/svdq-int4-flux.1-canny-dev",
        0
      ]
    }
  ],
  "links": [
    [
      7,
      3,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      9,
      8,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      26,
      18,
      0,
      19,
      0,
      "IMAGE"
    ],
    [
      41,
      23,
      0,
      26,
      0,
      "CONDITIONING"
    ],
    [
      60,
      32,
      0,
      8,
      1,
      "VAE"
    ],
    [
      62,
      34,
      0,
      23,
      0,
      "CLIP"
    ],
    [
      63,
      34,
      0,
      7,
      0,
      "CLIP"
    ],
    [
      64,
      35,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      65,
      35,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      66,
      35,
      2,
      3,
      3,
      "LATENT"
    ],
    [
      67,
      26,
      0,
      35,
      0,
      "CONDITIONING"
    ],
    [
      68,
      7,
      0,
      35,
      1,
      "CONDITIONING"
    ],
    [
      69,
      32,
      0,
      35,
      2,
      "VAE"
    ],
    [
      70,
      18,
      0,
      35,
      3,
      "IMAGE"
    ],
    [
      71,
      36,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      75,
      17,
      0,
      38,
      0,
      "IMAGE"
    ],
    [
      76,
      38,
      0,
      18,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.895430243255241,
      "offset": [
        838.4305404853558,
        332.05158795287764
      ]
    },
    "node_versions": {
      "comfy-core": "0.3.14"
    }
  },
  "version": 0.4
}