{
  "last_node_id": 97,
  "last_link_id": 176,
  "nodes": [
    {
      "id": 49,
      "type": "PreviewImage",
      "pos": [
        1268,
        -64,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "size": {
        "0": 373.6378173828125,
        "1": 380.4117431640625
      },
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 55,
          "label": "图像"
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 81,
      "type": "EmptyLatentImage",
      "pos": [
        634,
        245,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "size": {
        "0": 315,
        "1": 106
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            140
          ],
          "shape": 3,
          "label": "Latent"
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        768,
        512,
        1
      ]
    },
    {
      "id": 54,
      "type": "KSampler",
      "pos": [
        636,
        -71,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "size": {
        "0": 315,
        "1": 262
      },
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 66,
          "label": "模型"
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 164,
          "label": "正面条件"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 68,
          "label": "负面条件"
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 140,
          "label": "Latent"
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            69
          ],
          "slot_index": 0,
          "shape": 3,
          "label": "Latent"
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        1023129979027222,
        "fixed",
        20,
        8,
        "euler",
        "normal",
        1
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 48,
      "type": "VAEDecode",
      "pos": [
        1011,
        -49,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 69,
          "label": "Latent"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 99,
          "label": "VAE"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            55
          ],
          "slot_index": 0,
          "shape": 3,
          "label": "图像"
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 53,
      "type": "CLIPTextEncode",
      "pos": [
        258,
        83,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "size": {
        "0": 316.62384033203125,
        "1": 94.17559814453125
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 112,
          "label": "CLIP"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            68
          ],
          "slot_index": 0,
          "shape": 3,
          "label": "条件"
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "lowres, error, cropped, worst quality, low quality, jpeg artifacts, out of frame, watermark, signature，blurry"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 28,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -181,
        -59,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            66
          ],
          "slot_index": 0,
          "shape": 3,
          "label": "模型"
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            111
          ],
          "slot_index": 1,
          "shape": 3,
          "label": "CLIP"
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            99
          ],
          "slot_index": 2,
          "shape": 3,
          "label": "VAE"
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "majicmixRealistic_v7.safetensors"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 65,
      "type": "CLIPTextEncode",
      "pos": [
        251,
        -102,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "size": {
        "0": 316.9378967285156,
        "1": 128.1354217529297
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 113,
          "label": "CLIP"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            163
          ],
          "slot_index": 0,
          "shape": 3,
          "label": "条件"
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "masterpiece,best quality,high definition, "
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 66,
      "type": "CLIPSetLastLayer",
      "pos": [
        -180,
        100,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 111,
          "label": "CLIP"
        }
      ],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            112,
            113
          ],
          "slot_index": 0,
          "shape": 3,
          "label": "CLIP"
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPSetLastLayer"
      },
      "widgets_values": [
        -2
      ]
    },
    {
      "id": 94,
      "type": "ImageGenResolutionFromImage",
      "pos": [
        -175,
        -556
      ],
      "size": [
        148.3343783243672,
        46
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 167,
          "label": "图像"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE_GEN_WIDTH (INT)",
          "type": "INT",
          "links": [
            168
          ],
          "shape": 3,
          "label": "宽度(整数)",
          "slot_index": 0
        },
        {
          "name": "IMAGE_GEN_HEIGHT (INT)",
          "type": "INT",
          "links": [
            169
          ],
          "shape": 3,
          "label": "高度(整数)",
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "ImageGenResolutionFromImage"
      }
    },
    {
      "id": 95,
      "type": "PixelPerfectResolution",
      "pos": [
        23,
        -599
      ],
      "size": [
        222.55424133695738,
        106
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "original_image",
          "type": "IMAGE",
          "link": 170,
          "label": "图像"
        },
        {
          "name": "image_gen_width",
          "type": "INT",
          "link": 168,
          "widget": {
            "name": "image_gen_width"
          },
          "label": "宽度"
        },
        {
          "name": "image_gen_height",
          "type": "INT",
          "link": 169,
          "widget": {
            "name": "image_gen_height"
          },
          "label": "高度"
        }
      ],
      "outputs": [
        {
          "name": "RESOLUTION (INT)",
          "type": "INT",
          "links": [
            171
          ],
          "shape": 3,
          "label": "分辨率(整数)",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "PixelPerfectResolution"
      },
      "widgets_values": [
        512,
        512,
        "Just Resize"
      ]
    },
    {
      "id": 96,
      "type": "MiDaS-DepthMapPreprocessor",
      "pos": [
        271,
        -614
      ],
      "size": [
        315,
        106
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 172,
          "label": "图像"
        },
        {
          "name": "resolution",
          "type": "INT",
          "link": 171,
          "widget": {
            "name": "resolution"
          },
          "label": "分辨率"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            173,
            175
          ],
          "shape": 3,
          "label": "图像",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "MiDaS-DepthMapPreprocessor"
      },
      "widgets_values": [
        6.283185307179586,
        0.1,
        512
      ]
    },
    {
      "id": 83,
      "type": "PreviewImage",
      "pos": [
        300,
        -466,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "size": [
        238.44522320546844,
        220.6381127999855
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 173,
          "label": "图像"
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 91,
      "type": "ControlNetApply",
      "pos": [
        593,
        -364
      ],
      "size": {
        "0": 317.4000244140625,
        "1": 98
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 163,
          "label": "条件",
          "slot_index": 0
        },
        {
          "name": "control_net",
          "type": "CONTROL_NET",
          "link": 176,
          "label": "ControlNet",
          "slot_index": 1
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 175,
          "label": "图像"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            164
          ],
          "shape": 3,
          "label": "条件",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetApply"
      },
      "widgets_values": [
        1
      ]
    },
    {
      "id": 97,
      "type": "ControlNetLoader",
      "pos": [
        605,
        -479
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "CONTROL_NET",
          "type": "CONTROL_NET",
          "links": [
            176
          ],
          "shape": 3,
          "label": "ControlNet"
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetLoader"
      },
      "widgets_values": [
        "control_v11f1p_sd15_depth.pth"
      ]
    },
    {
      "id": 93,
      "type": "PainterNode",
      "pos": [
        -802,
        -930
      ],
      "size": [
        600,
        690
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            167,
            170,
            172
          ],
          "shape": 3,
          "label": "图像",
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3,
          "label": "遮罩"
        }
      ],
      "properties": {
        "Node name for S&R": "PainterNode"
      },
      "widgets_values": [
        "Paint_93.png",
        true,
        "clear_painer",
        null
      ]
    }
  ],
  "links": [
    [
      55,
      48,
      0,
      49,
      0,
      "IMAGE"
    ],
    [
      66,
      28,
      0,
      54,
      0,
      "MODEL"
    ],
    [
      68,
      53,
      0,
      54,
      2,
      "CONDITIONING"
    ],
    [
      69,
      54,
      0,
      48,
      0,
      "LATENT"
    ],
    [
      99,
      28,
      2,
      48,
      1,
      "VAE"
    ],
    [
      111,
      28,
      1,
      66,
      0,
      "CLIP"
    ],
    [
      112,
      66,
      0,
      53,
      0,
      "CLIP"
    ],
    [
      113,
      66,
      0,
      65,
      0,
      "CLIP"
    ],
    [
      140,
      81,
      0,
      54,
      3,
      "LATENT"
    ],
    [
      163,
      65,
      0,
      91,
      0,
      "CONDITIONING"
    ],
    [
      164,
      91,
      0,
      54,
      1,
      "CONDITIONING"
    ],
    [
      167,
      93,
      0,
      94,
      0,
      "IMAGE"
    ],
    [
      168,
      94,
      0,
      95,
      1,
      "INT"
    ],
    [
      169,
      94,
      1,
      95,
      2,
      "INT"
    ],
    [
      170,
      93,
      0,
      95,
      0,
      "IMAGE"
    ],
    [
      171,
      95,
      0,
      96,
      1,
      "INT"
    ],
    [
      172,
      93,
      0,
      96,
      0,
      "IMAGE"
    ],
    [
      173,
      96,
      0,
      83,
      0,
      "IMAGE"
    ],
    [
      175,
      96,
      0,
      91,
      2,
      "IMAGE"
    ],
    [
      176,
      97,
      0,
      91,
      1,
      "CONTROL_NET"
    ]
  ],
  "groups": [
    {
      "title": "Group",
      "bounding": [
        -199,
        -176,
        1862,
        536
      ],
      "color": "#3f789e",
      "font_size": 24
    },
    {
      "title": "Group",
      "bounding": [
        -812,
        -1004,
        1742,
        774
      ],
      "color": "#3f789e",
      "font_size": 24
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6303940863128502,
      "offset": [
        757.801267649156,
        1065.9153116604139
      ]
    }
  },
  "version": 0.4
}