{
  "id": "aff23af9-e8f4-41f8-8e4c-0854e355b753",
  "revision": 0,
  "last_node_id": 46,
  "last_link_id": 100,
  "nodes": [
    {
      "id": 34,
      "type": "DualCLIPLoader",
      "pos": [-240, 120],
      "size": [315, 130],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [62]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "DualCLIPLoader",
        "models": [
          {
            "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",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "clip_l.safetensors",
        "t5xxl_fp16.safetensors",
        "flux",
        "default"
      ]
    },
    {
      "id": 31,
      "type": "UNETLoader",
      "pos": [-240, -10],
      "size": [315, 82],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [85]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "UNETLoader",
        "models": [
          {
            "name": "flux1-fill-dev.safetensors",
            "url": "https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/split_files/diffusion_models/flux1-fill-dev.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": ["flux1-fill-dev.safetensors", "default"]
    },
    {
      "id": 23,
      "type": "CLIPTextEncode",
      "pos": [120, 110],
      "size": [422.8500061035156, 164.30999755859375],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 62
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [41, 99]
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": ["beautiful scenery"],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 32,
      "type": "VAELoader",
      "pos": [-240, 290],
      "size": [315, 58],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [60, 82]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "VAELoader",
        "models": [
          {
            "name": "ae.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": ["ae.safetensors"]
    },
    {
      "id": 46,
      "type": "ConditioningZeroOut",
      "pos": [320, 430],
      "size": [197.712890625, 26],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 99
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [100]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "ConditioningZeroOut"
      },
      "widgets_values": []
    },
    {
      "id": 26,
      "type": "FluxGuidance",
      "pos": [210, 330],
      "size": [317.3999938964844, 58],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 41
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [80]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "FluxGuidance"
      },
      "widgets_values": [30]
    },
    {
      "id": 39,
      "type": "DifferentialDiffusion",
      "pos": [120, -40],
      "size": [277.20001220703125, 58],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 85
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [86]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "DifferentialDiffusion"
      },
      "widgets_values": [1]
    },
    {
      "id": 44,
      "type": "ImagePadForOutpaint",
      "pos": [120, 530],
      "size": [315, 174],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 96
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [97]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "slot_index": 1,
          "links": [98]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "ImagePadForOutpaint"
      },
      "widgets_values": [400, 0, 400, 400, 24]
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [580, -130],
      "size": [210, 46],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 7
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 60
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [95]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 38,
      "type": "InpaintModelConditioning",
      "pos": [580, 530],
      "size": [302.3999938964844, 138],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 80
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 100
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 82
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 97
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 98
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [77]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "slot_index": 1,
          "links": [78]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "slot_index": 2,
          "links": [88]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "InpaintModelConditioning"
      },
      "widgets_values": [false]
    },
    {
      "id": 3,
      "type": "KSampler",
      "pos": [580, -40],
      "size": [310, 510],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 86
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 77
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 78
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 88
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [7]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        164211176398261,
        "randomize",
        20,
        1,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [920, -100],
      "size": [828.9500122070312, 893.8499755859375],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 95
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": ["ComfyUI"]
    },
    {
      "id": 17,
      "type": "LoadImage",
      "pos": [-240, 450],
      "size": [315, 314],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [96]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "slot_index": 1,
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": ["flux_fill_outpaint_example_input_image.png", "image"]
    },
    {
      "id": 45,
      "type": "MarkdownNote",
      "pos": [-660, -50],
      "size": [390, 400],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Model links",
      "properties": {},
      "widgets_values": [
        "[Tutorial](https://docs.comfy.org/tutorials/flux/flux-1-fill-dev)\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-fill-dev.safetensors](https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/split_files/diffusion_models/flux1-fill-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-fill-dev.safetensors\n│   └── 📂 vae/\n│          └── ae.safetensors\n```\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    }
  ],
  "links": [
    [7, 3, 0, 8, 0, "LATENT"],
    [41, 23, 0, 26, 0, "CONDITIONING"],
    [60, 32, 0, 8, 1, "VAE"],
    [62, 34, 0, 23, 0, "CLIP"],
    [77, 38, 0, 3, 1, "CONDITIONING"],
    [78, 38, 1, 3, 2, "CONDITIONING"],
    [80, 26, 0, 38, 0, "CONDITIONING"],
    [82, 32, 0, 38, 2, "VAE"],
    [85, 31, 0, 39, 0, "MODEL"],
    [86, 39, 0, 3, 0, "MODEL"],
    [88, 38, 2, 3, 3, "LATENT"],
    [95, 8, 0, 9, 0, "IMAGE"],
    [96, 17, 0, 44, 0, "IMAGE"],
    [97, 44, 0, 38, 3, "IMAGE"],
    [98, 44, 1, 38, 4, "MASK"],
    [99, 23, 0, 46, 0, "CONDITIONING"],
    [100, 46, 0, 38, 1, "CONDITIONING"]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Prompt",
      "bounding": [110, 40, 442.8500061035156, 429.6000061035156],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 2,
      "title": "Step 1 - Load models",
      "bounding": [-250, -80, 335, 437.6000061035156],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 3,
      "title": "Step 2 - Load image",
      "bounding": [-250, 380, 335, 397.6000061035156],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.3728858397068122,
      "offset": [1324.264639087212, 801.5085744213577]
    },
    "frontendVersion": "1.27.10",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}
