{
  "last_node_id": 17,
  "last_link_id": 22,
  "nodes": [
    {
      "id": 11,
      "type": "FaceRestoreCFWithModel",
      "pos": [
        1164,
        162
      ],
      "size": {
        "0": 315,
        "1": 102
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "facerestore_model",
          "type": "FACERESTORE_MODEL",
          "link": 18,
          "slot_index": 0
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 16
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            22
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "FaceRestoreCFWithModel"
      },
      "widgets_values": [
        "retinaface_resnet50",
        1
      ]
    },
    {
      "id": 4,
      "type": "PreviewImage",
      "pos": [
        782,
        275
      ],
      "size": {
        "0": 330,
        "1": 600
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 3
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 17,
      "type": "SaveImage",
      "pos": [
        1520,
        280
      ],
      "size": {
        "0": 330,
        "1": 600
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 22
        }
      ],
      "properties": {},
      "widgets_values": [
        "%date:yyyy-MM-dd%/faceswapped"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 13,
      "type": "FaceRestoreModelLoader",
      "pos": [
        785,
        37
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "FACERESTORE_MODEL",
          "type": "FACERESTORE_MODEL",
          "links": [
            18
          ],
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "FaceRestoreModelLoader"
      },
      "widgets_values": [
        "codeformer-v0.1.0.pth"
      ]
    },
    {
      "id": 1,
      "type": "ReActorFaceSwap",
      "pos": [
        402,
        181
      ],
      "size": {
        "0": 315,
        "1": 338
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "source_image",
          "type": "IMAGE",
          "link": 1,
          "slot_index": 0
        },
        {
          "name": "input_image",
          "type": "IMAGE",
          "link": 2,
          "slot_index": 1
        },
        {
          "name": "face_model",
          "type": "FACE_MODEL",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            3,
            16
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "FACE_MODEL",
          "type": "FACE_MODEL",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "ReActorFaceSwap"
      },
      "widgets_values": [
        "inswapper_128.onnx",
        "inswapper_128_fp16.onnx",
        "retinaface_resnet50",
        "codeformer-v0.1.0.pth",
        1,
        0,
        "no",
        "no",
        "0",
        "0",
        1
      ]
    },
    {
      "id": 3,
      "type": "LoadImage",
      "pos": [
        19,
        472
      ],
      "size": [
        356.00189208984375,
        536.9718933105469
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2
          ],
          "shape": 3
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "00000-343109544.png",
        "image"
      ]
    },
    {
      "id": 2,
      "type": "LoadImage",
      "pos": [
        21,
        -152
      ],
      "size": [
        353.8868777768867,
        578.0813289655745
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1
          ],
          "shape": 3
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "00007-2215964370.png",
        "image"
      ]
    }
  ],
  "links": [
    [
      1,
      2,
      0,
      1,
      0,
      "IMAGE"
    ],
    [
      2,
      3,
      0,
      1,
      1,
      "IMAGE"
    ],
    [
      3,
      1,
      0,
      4,
      0,
      "IMAGE"
    ],
    [
      16,
      1,
      0,
      11,
      1,
      "IMAGE"
    ],
    [
      18,
      13,
      0,
      11,
      0,
      "FACERESTORE_MODEL"
    ],
    [
      22,
      11,
      0,
      17,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {},
  "version": 0.4
}