{
  "id": "e276a259-3fef-43b1-aa43-2f9c50fc7643",
  "revision": 0,
  "last_node_id": 385,
  "last_link_id": 575,
  "nodes": [
    {
      "id": 82,
      "type": "SetNode",
      "pos": [
        602.3024945848756,
        3748.939215398145
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "link": 105
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_vae",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "vae",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "vae"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 94,
      "type": "SetNode",
      "pos": [
        640.057970702572,
        3851.322328207735
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "link": 131
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_clip",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "clip",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "clip"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 85,
      "type": "ModelNoiseScale",
      "pos": [
        1457.4245551782308,
        3839.737864435621
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 456
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            434
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "ModelNoiseScale",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        7.5
      ]
    },
    {
      "id": 6,
      "type": "VAEDecode",
      "pos": [
        1086.09647422572,
        4131.975401178066
      ],
      "size": [
        179.34342049539373,
        58.64609944494805
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 376
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 377
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            464
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "VAEDecode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 1,
      "type": "CheckpointLoaderSimple",
      "pos": [
        164.9087114583984,
        3760.9298219774682
      ],
      "size": [
        369.73584575357074,
        124.20126086633445
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            112
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            131
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            105,
            377
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "CheckpointLoaderSimple",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "hidream_o1_image_bf16.safetensors"
      ]
    },
    {
      "id": 95,
      "type": "GetNode",
      "pos": [
        161.5224533208943,
        4622.611626555527
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            132,
            427
          ]
        }
      ],
      "title": "Get_clip",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "clip"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 248,
      "type": "MarkdownNote",
      "pos": [
        -691.0247498081497,
        3678.3990862122414
      ],
      "size": [
        513.1397863792702,
        308.63718237946705
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: About Image Size",
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Select and Ctrl-B to enable the  `ImageScaleToTotalPixels` node, if your input image is too large\n\nThe O1 model is trained under the following resolutions:\n| Width | Height | Category   |\n|-------|--------|------------|\n| 2048  | 2048   | Square     |\n| 2304  | 1728   | Landscape  |\n| 2304  | 1792   | Landscape  |\n| 2496  | 1664   | Landscape  |\n| 2560  | 1440   | Landscape  |\n| 3104  | 1312   | Landscape  |\n| 1728  | 2304   | Portrait   |\n| 1792  | 2304   | Portrait   |\n| 1664  | 2496   | Portrait   |\n| 1440  | 2560   | Portrait   |\n| 1312  | 3104   | Portrait   |"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 354,
      "type": "ImageScaleToTotalPixels",
      "pos": [
        -87.62551859377498,
        4909.922424568686
      ],
      "size": [
        296.7125,
        106
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 523
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            531,
            540
          ]
        }
      ],
      "title": "Scale image_1 keep aspect - no stretch",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "Node name for S&R": "ImageScaleToTotalPixels",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        "lanczos",
        4,
        1
      ]
    },
    {
      "id": 362,
      "type": "GetImageSize",
      "pos": [
        -73.78733137819599,
        5076.690707850225
      ],
      "size": [
        225,
        124
      ],
      "flags": {
        "collapsed": false
      },
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 531
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            532
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            533
          ]
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "GetImageSize",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 299,
      "type": "ModelSamplingSD3",
      "pos": [
        1242.4296516056172,
        3704.0295530039557
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 455
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            456
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "Node name for S&R": "ModelSamplingSD3",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        3
      ]
    },
    {
      "id": 286,
      "type": "CLIPTextEncode",
      "pos": [
        361.7208733488201,
        4431.091966949033
      ],
      "size": [
        563.0879101608834,
        251.07514269389503
      ],
      "flags": {
        "collapsed": true
      },
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 427
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            557
          ]
        }
      ],
      "title": "Negative Prompt - block duplicates/pose drift",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "CLIPTextEncode",
        "ue_properties": {
          "widget_ue_connectable": {
            "text": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "two women, second woman, duplicate woman, extra person, another person, multiple people, clone, twin, duplicate face, second face, extra head, extra body, extra torso, extra arms, extra hands, extra legs, overlapping body, ghost body, mirrored body, side by side comparison, before and after, split image, collage, changed pose, changed body position, changed hands, changed face, changed identity, changed camera angle, changed crop, changed framing, changed background, different scene, full scene regeneration, mannequin, floating dress, product-only dress, dress not worn by the woman, text, watermark, logo"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 376,
      "type": "GetImageSize",
      "pos": [
        30.983967888579272,
        6498.785513055408
      ],
      "size": [
        225,
        124
      ],
      "flags": {
        "collapsed": false
      },
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 560
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "name": "height",
          "type": "INT",
          "links": []
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "Node name for S&R": "GetImageSize",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 377,
      "type": "ImageScaleToTotalPixels",
      "pos": [
        91.54577965662442,
        6333.476097803113
      ],
      "size": [
        351.905859375,
        106
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 561
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            560,
            562
          ]
        }
      ],
      "title": "Optional dress reference scale - not connected",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        },
        "Node name for S&R": "ImageScaleToTotalPixels"
      },
      "widgets_values": [
        "lanczos",
        4,
        1
      ]
    },
    {
      "id": 380,
      "type": "GetImageSize",
      "pos": [
        16.395894683788388,
        7362.1440328662065
      ],
      "size": [
        225,
        124
      ],
      "flags": {
        "collapsed": false
      },
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 563
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "name": "height",
          "type": "INT",
          "links": []
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "Node name for S&R": "GetImageSize",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 381,
      "type": "ImageScaleToTotalPixels",
      "pos": [
        76.95770645183347,
        7196.834617613911
      ],
      "size": [
        351.905859375,
        106
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 564
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            563,
            565
          ]
        }
      ],
      "title": "Optional dress reference scale - not connected",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        },
        "Node name for S&R": "ImageScaleToTotalPixels"
      },
      "widgets_values": [
        "lanczos",
        4,
        1
      ]
    },
    {
      "id": 359,
      "type": "ImageResizeKJv2",
      "pos": [
        592.8494933167615,
        4881.161004239993
      ],
      "size": [
        270,
        336
      ],
      "flags": {
        "collapsed": false
      },
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 540
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 534
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 535
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            539,
            541,
            558
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "name": "height",
          "type": "INT",
          "links": []
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Resize image_1 PAD not stretch",
      "properties": {
        "cnr_id": "comfyui_fearnworksnodes",
        "ver": "0.1.2",
        "Node name for S&R": "ImageResizeKJv2",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        512,
        512,
        "lanczos",
        "pad",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "id": 363,
      "type": "PreviewImage",
      "pos": [
        1465.6382200170513,
        5233.905631312589
      ],
      "size": [
        740.9273158287472,
        480.6086708741432
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 539
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "Node name for S&R": "PreviewImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": []
    },
    {
      "id": 308,
      "type": "PreviewImage",
      "pos": [
        1408.2527911063178,
        4016.820539570279
      ],
      "size": [
        713.4326319684321,
        837.26047519039
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 464
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "Node name for S&R": "PreviewImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": []
    },
    {
      "id": 374,
      "type": "HiDreamO1ReferenceImages",
      "pos": [
        592.157859297861,
        4521.313054432614
      ],
      "size": [
        288.4640947709107,
        166
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 556
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 557
        },
        {
          "label": "image_1",
          "name": "images.image_1",
          "type": "IMAGE",
          "link": 558
        },
        {
          "label": "image_2",
          "name": "images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": 559
        },
        {
          "label": "image_3",
          "name": "images.image_3",
          "shape": 7,
          "type": "IMAGE",
          "link": 566
        },
        {
          "label": "image_4",
          "name": "images.image_4",
          "shape": 7,
          "type": "IMAGE",
          "link": 567
        },
        {
          "label": "image_5",
          "name": "images.image_5",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            568
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            569
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "HiDreamO1ReferenceImages",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 365,
      "type": "GetImageSize",
      "pos": [
        916.4489009231166,
        5168.604119015886
      ],
      "size": [
        225,
        124
      ],
      "flags": {
        "collapsed": false
      },
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 541
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            542
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            543
          ]
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "GetImageSize",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 358,
      "type": "EmptyHiDreamO1LatentImage",
      "pos": [
        1149.9389780223198,
        5016.667973047131
      ],
      "size": [
        280,
        150
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 542
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 543
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            571
          ]
        }
      ],
      "title": "Latent same size as padded image_1",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "EmptyHiDreamO1LatentImage",
        "ue_properties": {
          "widget_ue_connectable": {
            "width": true,
            "height": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        1024,
        576,
        1
      ]
    },
    {
      "id": 249,
      "type": "KSampler",
      "pos": [
        938.2148194659636,
        4219.016038244591
      ],
      "size": [
        326.571875,
        262
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 434
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 568
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 569
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 571
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            376
          ]
        }
      ],
      "title": "HiDream O1 Full image edit - preserve pose",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.1",
        "Node name for S&R": "KSampler",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        130794176395926,
        "fixed",
        28,
        1,
        "euler",
        "simple",
        1
      ]
    },
    {
      "id": 368,
      "type": "ImageResizeKJv2",
      "pos": [
        667.8634072270066,
        5472.162802611318
      ],
      "size": [
        356.636328125,
        336
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 546
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 553
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 554
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            559
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "name": "height",
          "type": "INT",
          "links": []
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Optional dress reference resize - not connected",
      "properties": {
        "cnr_id": "comfyui_fearnworksnodes",
        "ver": "0.1.2",
        "Node name for S&R": "ImageResizeKJv2",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        512,
        512,
        "lanczos",
        "pad",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "id": 370,
      "type": "GetImageSize",
      "pos": [
        342.2683988687868,
        5730.523726012268
      ],
      "size": [
        225,
        124
      ],
      "flags": {
        "collapsed": false
      },
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 550
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "name": "height",
          "type": "INT",
          "links": []
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "GetImageSize",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 367,
      "type": "ImageScaleToTotalPixels",
      "pos": [
        80.92912319968245,
        5506.074393421729
      ],
      "size": [
        351.905859375,
        106
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 545
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            546,
            550
          ]
        }
      ],
      "title": "Optional dress reference scale - not connected",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "Node name for S&R": "ImageScaleToTotalPixels",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        "lanczos",
        4,
        1
      ]
    },
    {
      "id": 379,
      "type": "ImageResizeKJv2",
      "pos": [
        964.5260287714684,
        6130.237543558944
      ],
      "size": [
        356.636328125,
        336
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 562
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 572
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 573
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            566
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "name": "height",
          "type": "INT",
          "links": []
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Optional dress reference resize - not connected",
      "properties": {
        "cnr_id": "comfyui_fearnworksnodes",
        "ver": "0.1.2",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        },
        "Node name for S&R": "ImageResizeKJv2"
      },
      "widgets_values": [
        512,
        512,
        "lanczos",
        "pad",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "id": 382,
      "type": "ImageResizeKJv2",
      "pos": [
        747.2857052808212,
        6542.083558775411
      ],
      "size": [
        356.636328125,
        336
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 565
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 574
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 575
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            567
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "name": "height",
          "type": "INT",
          "links": []
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Optional dress reference resize - not connected",
      "properties": {
        "cnr_id": "comfyui_fearnworksnodes",
        "ver": "0.1.2",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        },
        "Node name for S&R": "ImageResizeKJv2"
      },
      "widgets_values": [
        512,
        512,
        "lanczos",
        "pad",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "id": 360,
      "type": "ComfyMathExpression",
      "pos": [
        212.2163147608033,
        4917.65959642692
      ],
      "size": [
        225,
        128
      ],
      "flags": {
        "collapsed": false
      },
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "label": "a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 532
        },
        {
          "label": "b",
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": []
        },
        {
          "name": "INT",
          "type": "INT",
          "links": [
            534,
            553,
            572,
            574
          ]
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "ComfyMathExpression",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "floor(a/32)*32"
      ]
    },
    {
      "id": 361,
      "type": "ComfyMathExpression",
      "pos": [
        198.78107161493148,
        5245.934138828974
      ],
      "size": [
        225,
        128
      ],
      "flags": {
        "collapsed": false
      },
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "label": "a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 533
        },
        {
          "label": "b",
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": []
        },
        {
          "name": "INT",
          "type": "INT",
          "links": [
            535,
            554,
            573,
            575
          ]
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "ComfyMathExpression",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "floor(a/32)*32"
      ]
    },
    {
      "id": 353,
      "type": "LoadImage",
      "pos": [
        -586.4241969843872,
        4648.836023217548
      ],
      "size": [
        425.74063621861376,
        736.4250960716845
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            523
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Main image_1 woman to edit",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "Node name for S&R": "LoadImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        "imported-1779691909736-1779691909790.jpg",
        "image"
      ]
    },
    {
      "id": 371,
      "type": "LoadImage",
      "pos": [
        -577.7140520928313,
        5446.290085560186
      ],
      "size": [
        551.3276401932308,
        686.6522699498164
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            545
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Optional dress reference image - intentionally unconnected",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "Node name for S&R": "LoadImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        "imported-1779640141404-1779640141447.jpg",
        "image"
      ]
    },
    {
      "id": 378,
      "type": "LoadImage",
      "pos": [
        -613.5110146615418,
        6307.379110654628
      ],
      "size": [
        551.3276401932308,
        686.6522699498164
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            561
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Optional dress reference image - intentionally unconnected",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        },
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "imported-1779275428836-1779275428956.jpg",
        "image"
      ]
    },
    {
      "id": 383,
      "type": "LoadImage",
      "pos": [
        -628.0990878663326,
        7170.737630465426
      ],
      "size": [
        551.3276401932308,
        686.6522699498164
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            564
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Optional dress reference image - intentionally unconnected",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.22.2",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        },
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "imported-1779086031173-1779086031304.jpg",
        "image"
      ]
    },
    {
      "id": 3,
      "type": "CLIPTextEncode",
      "pos": [
        177.08289100666374,
        4060.33489285092
      ],
      "size": [
        563.0879101608834,
        251.07514269389503
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 132
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            556
          ]
        }
      ],
      "title": "Positive Prompt - strict one woman dress edit",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "CLIPTextEncode",
        "ue_properties": {
          "widget_ue_connectable": {
            "text": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "chA group of four people standing side-by-side together in a brightly lit modern city street. They are smiling casually and looking directly at the camera. Natural skin pores, faint skin texture, weathered, no retouching. The background is a bustling urban sidewalk with blurred storefronts and cinematic afternoon lighting casting soft shadows. Photorealistic, high-end cinematic group portrait, shot on 85mm lens, shallow depth of field."
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 86,
      "type": "LoraLoaderModelOnly",
      "pos": [
        803.5640111819922,
        3789.8168085990833
      ],
      "size": [
        417.3453003927774,
        102.96098813195886
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 112
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            455
          ]
        }
      ],
      "title": "Dev LoRA disabled for image editing",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "LoraLoaderModelOnly",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "hidream_o1_dev_lora_rank_64_bf16_pruned_v1.safetensors",
        0.2
      ]
    }
  ],
  "links": [
    [
      105,
      1,
      2,
      82,
      0,
      "VAE"
    ],
    [
      112,
      1,
      0,
      86,
      0,
      "MODEL"
    ],
    [
      131,
      1,
      1,
      94,
      0,
      "CLIP"
    ],
    [
      132,
      95,
      0,
      3,
      0,
      "CLIP"
    ],
    [
      376,
      249,
      0,
      6,
      0,
      "LATENT"
    ],
    [
      377,
      1,
      2,
      6,
      1,
      "VAE"
    ],
    [
      427,
      95,
      0,
      286,
      0,
      "CLIP"
    ],
    [
      434,
      85,
      0,
      249,
      0,
      "MODEL"
    ],
    [
      455,
      86,
      0,
      299,
      0,
      "MODEL"
    ],
    [
      456,
      299,
      0,
      85,
      0,
      "MODEL"
    ],
    [
      464,
      6,
      0,
      308,
      0,
      "IMAGE"
    ],
    [
      523,
      353,
      0,
      354,
      0,
      "IMAGE"
    ],
    [
      531,
      354,
      0,
      362,
      0,
      "IMAGE"
    ],
    [
      532,
      362,
      0,
      360,
      0,
      "INT"
    ],
    [
      533,
      362,
      1,
      361,
      0,
      "INT"
    ],
    [
      534,
      360,
      1,
      359,
      2,
      "INT"
    ],
    [
      535,
      361,
      1,
      359,
      3,
      "INT"
    ],
    [
      539,
      359,
      0,
      363,
      0,
      "IMAGE"
    ],
    [
      540,
      354,
      0,
      359,
      0,
      "IMAGE"
    ],
    [
      541,
      359,
      0,
      365,
      0,
      "IMAGE"
    ],
    [
      542,
      365,
      0,
      358,
      0,
      "INT"
    ],
    [
      543,
      365,
      1,
      358,
      1,
      "INT"
    ],
    [
      545,
      371,
      0,
      367,
      0,
      "IMAGE"
    ],
    [
      546,
      367,
      0,
      368,
      0,
      "IMAGE"
    ],
    [
      550,
      367,
      0,
      370,
      0,
      "IMAGE"
    ],
    [
      553,
      360,
      1,
      368,
      2,
      "INT"
    ],
    [
      554,
      361,
      1,
      368,
      3,
      "INT"
    ],
    [
      556,
      3,
      0,
      374,
      0,
      "CONDITIONING"
    ],
    [
      557,
      286,
      0,
      374,
      1,
      "CONDITIONING"
    ],
    [
      558,
      359,
      0,
      374,
      2,
      "IMAGE"
    ],
    [
      559,
      368,
      0,
      374,
      3,
      "IMAGE"
    ],
    [
      560,
      377,
      0,
      376,
      0,
      "IMAGE"
    ],
    [
      561,
      378,
      0,
      377,
      0,
      "IMAGE"
    ],
    [
      562,
      377,
      0,
      379,
      0,
      "IMAGE"
    ],
    [
      563,
      381,
      0,
      380,
      0,
      "IMAGE"
    ],
    [
      564,
      383,
      0,
      381,
      0,
      "IMAGE"
    ],
    [
      565,
      381,
      0,
      382,
      0,
      "IMAGE"
    ],
    [
      566,
      379,
      0,
      374,
      4,
      "IMAGE"
    ],
    [
      567,
      382,
      0,
      374,
      5,
      "IMAGE"
    ],
    [
      568,
      374,
      0,
      249,
      1,
      "CONDITIONING"
    ],
    [
      569,
      374,
      1,
      249,
      2,
      "CONDITIONING"
    ],
    [
      571,
      358,
      0,
      249,
      3,
      "LATENT"
    ],
    [
      572,
      360,
      1,
      379,
      2,
      "INT"
    ],
    [
      573,
      361,
      1,
      379,
      3,
      "INT"
    ],
    [
      574,
      360,
      1,
      382,
      2,
      "INT"
    ],
    [
      575,
      361,
      1,
      382,
      3,
      "INT"
    ]
  ],
  "groups": [
    {
      "id": 4,
      "title": "T2I Sampling",
      "bounding": [
        111.86909067677938,
        3961.0625200238496,
        1221.6851613999252,
        767.0021829977736
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 7,
      "title": "Model",
      "bounding": [
        109.61792499096244,
        3618.4646382663964,
        1650.9910441540974,
        319.90811635807995
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5529569968012474,
      "offset": [
        1836.238073670443,
        -3470.5929191716564
      ]
    },
    "frontendVersion": "1.43.18",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ue_links": [],
    "links_added_by_ue": []
  },
  "version": 0.4
}