{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        1082.28391560426,
        901.0101579642593
      ],
      "scale": 0.4411459484463057
    },
    "frontendVersion": "1.27.10"
  },
  "groups": [
    {
      "bounding": [
        -200,
        -280,
        335,
        437.6000061035156
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 1,
      "title": "Step 1 - Load models"
    },
    {
      "bounding": [
        150,
        -280,
        440,
        440
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 2,
      "title": "Step 3 - Prompt"
    },
    {
      "bounding": [
        -200,
        170,
        335,
        535.5999755859375
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 3,
      "title": "Step 2 - Upload image"
    }
  ],
  "id": "90469c7e-4751-418c-9bd5-e43b3745a118",
  "last_link_id": 72,
  "last_node_id": 37,
  "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"
    ],
    [
      49,
      17,
      0,
      18,
      0,
      "IMAGE"
    ],
    [
      57,
      31,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      60,
      32,
      0,
      8,
      1,
      "VAE"
    ],
    [
      62,
      34,
      0,
      23,
      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"
    ],
    [
      69,
      32,
      0,
      35,
      2,
      "VAE"
    ],
    [
      70,
      18,
      0,
      35,
      3,
      "IMAGE"
    ],
    [
      71,
      23,
      0,
      37,
      0,
      "CONDITIONING"
    ],
    [
      72,
      37,
      0,
      35,
      1,
      "CONDITIONING"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 34,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            62
          ],
          "name": "CLIP",
          "type": "CLIP"
        }
      ],
      "pos": [
        -190,
        -86
      ],
      "properties": {
        "Node name for S&R": "DualCLIPLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "text_encoders",
            "name": "clip_l.safetensors",
            "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors?download=true"
          },
          {
            "directory": "text_encoders",
            "name": "t5xxl_fp16.safetensors",
            "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true"
          }
        ],
        "ver": "0.3.64"
      },
      "size": [
        315,
        130
      ],
      "type": "DualCLIPLoader",
      "widgets_values": [
        "clip_l.safetensors",
        "t5xxl_fp16.safetensors",
        "flux",
        "default"
      ]
    },
    {
      "flags": {},
      "id": 37,
      "inputs": [
        {
          "link": 71,
          "name": "conditioning",
          "type": "CONDITIONING"
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            72
          ],
          "name": "CONDITIONING",
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        380,
        100
      ],
      "properties": {
        "Node name for S&R": "ConditioningZeroOut",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        197.712890625,
        26
      ],
      "type": "ConditioningZeroOut",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 31,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            57
          ],
          "name": "MODEL",
          "slot_index": 0,
          "type": "MODEL"
        }
      ],
      "pos": [
        -190,
        -210
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "diffusion_models",
            "name": "flux1-canny-dev.safetensors",
            "url": "https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/split_files/diffusion_models/flux1-canny-dev.safetensors"
          }
        ],
        "ver": "0.3.64"
      },
      "size": [
        315,
        82
      ],
      "type": "UNETLoader",
      "widgets_values": [
        "flux1-canny-dev.safetensors",
        "default"
      ]
    },
    {
      "flags": {},
      "id": 32,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            60,
            69
          ],
          "name": "VAE",
          "slot_index": 0,
          "type": "VAE"
        }
      ],
      "pos": [
        -190,
        86
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "vae",
            "name": "ae.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors"
          }
        ],
        "ver": "0.3.64"
      },
      "size": [
        315,
        58
      ],
      "type": "VAELoader",
      "widgets_values": [
        "ae.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 26,
      "inputs": [
        {
          "link": 41,
          "name": "conditioning",
          "type": "CONDITIONING"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            67
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        260,
        0
      ],
      "properties": {
        "Node name for S&R": "FluxGuidance",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        317.3999938964844,
        58
      ],
      "type": "FluxGuidance",
      "widgets_values": [
        30
      ]
    },
    {
      "flags": {},
      "id": 18,
      "inputs": [
        {
          "link": 49,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            26,
            70
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        }
      ],
      "pos": [
        -190,
        610
      ],
      "properties": {
        "Node name for S&R": "Canny",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        315,
        82
      ],
      "type": "Canny",
      "widgets_values": [
        0.15,
        0.3
      ]
    },
    {
      "flags": {},
      "id": 17,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            49
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -190,
        240
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        315,
        314
      ],
      "type": "LoadImage",
      "widgets_values": [
        "flux_canny_model_example_input_image.png",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 9,
      "inputs": [
        {
          "link": 9,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [],
      "pos": [
        980,
        -230
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        828.9500122070312,
        893.8499755859375
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "flags": {},
      "id": 8,
      "inputs": [
        {
          "link": 7,
          "name": "samples",
          "type": "LATENT"
        },
        {
          "link": 60,
          "name": "vae",
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            9
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        }
      ],
      "pos": [
        720,
        330
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        210,
        46
      ],
      "type": "VAEDecode",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": 57,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": 64,
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "link": 65,
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "link": 66,
          "name": "latent_image",
          "type": "LATENT"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            7
          ],
          "name": "LATENT",
          "slot_index": 0,
          "type": "LATENT"
        }
      ],
      "pos": [
        620,
        -230
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        320,
        510
      ],
      "type": "KSampler",
      "widgets_values": [
        1125476660951871,
        "randomize",
        20,
        1,
        "euler",
        "normal",
        1
      ]
    },
    {
      "flags": {},
      "id": 35,
      "inputs": [
        {
          "link": 67,
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "link": 72,
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "link": 69,
          "name": "vae",
          "type": "VAE"
        },
        {
          "link": 70,
          "name": "pixels",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            64
          ],
          "name": "positive",
          "slot_index": 0,
          "type": "CONDITIONING"
        },
        {
          "links": [
            65
          ],
          "name": "negative",
          "slot_index": 1,
          "type": "CONDITIONING"
        },
        {
          "links": [
            66
          ],
          "name": "latent",
          "slot_index": 2,
          "type": "LATENT"
        }
      ],
      "pos": [
        350,
        230
      ],
      "properties": {
        "Node name for S&R": "InstructPixToPixConditioning",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        235.1999969482422,
        86
      ],
      "type": "InstructPixToPixConditioning",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 19,
      "inputs": [
        {
          "link": 26,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [],
      "pos": [
        190,
        390
      ],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        330,
        330
      ],
      "type": "PreviewImage",
      "widgets_values": []
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 23,
      "inputs": [
        {
          "link": 62,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            41,
            71
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        160,
        -210
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "size": [
        422.8500061035156,
        164.30999755859375
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "type": "CLIPTextEncode",
      "widgets_values": [
        "A vibrant red ladybug rests on a blooming deep purple rose with lush, velvety petals. The background is a soft pink, filled with subtly blurred roses of the same pink shade, creating a dreamy and romantic atmosphere."
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 36,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [],
      "pos": [
        -640,
        -250
      ],
      "properties": {},
      "size": [
        430,
        410
      ],
      "title": "Note: Model links",
      "type": "MarkdownNote",
      "widgets_values": [
        "[Tutorial](https://docs.comfy.org/tutorials/flux/flux-1-controlnet)\n\n\n## Model links\n\n**text_encoders**\n\n- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors?download=true)\n- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true)\n\n**diffusion_models**\n\n- [flux1-canny-dev.safetensors](https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/split_files/diffusion_models/flux1-canny-dev.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 text_encoders/\n│   │      ├── clip_l.safetensors\n│   │      └── t5xxl_fp16.safetensors\n│   ├── 📂 diffusion_models/\n│   │      └── flux1-canny-dev.safetensors\n│   └── 📂 vae/\n│          └── ae.safetensors\n```\n"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}