{
  "last_node_id": 8,
  "last_link_id": 11,
  "nodes": [
    {
      "id": 1,
      "type": "LoadImage",
      "pos": [
        0,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            3,
            8
          ],
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "portrait_src.png"
      ]
    },
    {
      "id": 2,
      "type": "DownloadAndLoadLivePortraitModels",
      "pos": [
        300,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "live_portrait_pipe",
          "type": "LIVEPORTRAITPIPE",
          "links": [
            1,
            4
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "DownloadAndLoadLivePortraitModels"
      },
      "widgets_values": [
        "auto",
        "human"
      ]
    },
    {
      "id": 3,
      "type": "LivePortraitLoadCropper",
      "pos": [
        600,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "cropper",
          "type": "LPCROPPER",
          "links": [
            2
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "LivePortraitLoadCropper"
      },
      "widgets_values": [
        "CUDA",
        true,
        0.5
      ]
    },
    {
      "id": 4,
      "type": "VHS_LoadVideo",
      "pos": [
        900,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "meta_batch",
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            7
          ],
          "slot_index": 0
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": [],
          "slot_index": 1
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [],
          "slot_index": 2
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": [],
          "slot_index": 3
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": [
        "driving_d0.mp4",
        0,
        0,
        0,
        80,
        0,
        1,
        "None"
      ]
    },
    {
      "id": 5,
      "type": "LivePortraitCropper",
      "pos": [
        1200,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "pipeline",
          "type": "LIVEPORTRAITPIPE",
          "link": 1
        },
        {
          "name": "cropper",
          "type": "LPCROPPER",
          "link": 2
        },
        {
          "name": "source_image",
          "type": "IMAGE",
          "link": 3
        }
      ],
      "outputs": [
        {
          "name": "cropped_image",
          "type": "IMAGE",
          "links": [
            6
          ],
          "slot_index": 0
        },
        {
          "name": "crop_info",
          "type": "CROPINFO",
          "links": [
            5
          ],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LivePortraitCropper"
      },
      "widgets_values": [
        512,
        2.3,
        0.0,
        -0.125,
        0,
        "large-small",
        true
      ]
    },
    {
      "id": 6,
      "type": "LivePortraitProcess",
      "pos": [
        1500,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "pipeline",
          "type": "LIVEPORTRAITPIPE",
          "link": 4
        },
        {
          "name": "crop_info",
          "type": "CROPINFO",
          "link": 5
        },
        {
          "name": "source_image",
          "type": "IMAGE",
          "link": 6
        },
        {
          "name": "driving_images",
          "type": "IMAGE",
          "link": 7
        },
        {
          "name": "opt_retargeting_info",
          "type": "RETARGETINGINFO",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "cropped_image",
          "type": "IMAGE",
          "links": [
            9
          ],
          "slot_index": 0
        },
        {
          "name": "output",
          "type": "LP_OUT",
          "links": [
            10
          ],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LivePortraitProcess"
      },
      "widgets_values": [
        false,
        0.03,
        true,
        1.0,
        "constant",
        "relative",
        3e-06,
        false,
        1.0
      ]
    },
    {
      "id": 8,
      "type": "LivePortraitComposite",
      "pos": [
        0,
        360
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "source_image",
          "type": "IMAGE",
          "link": 8
        },
        {
          "name": "cropped_image",
          "type": "IMAGE",
          "link": 9
        },
        {
          "name": "liveportrait_out",
          "type": "LP_OUT",
          "link": 10
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "full_images",
          "type": "IMAGE",
          "links": [
            11
          ],
          "slot_index": 0
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": [],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LivePortraitComposite"
      },
      "widgets_values": []
    },
    {
      "id": 7,
      "type": "VHS_VideoCombine",
      "pos": [
        300,
        360
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 11
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": [],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": [
        24,
        0,
        "liveportrait",
        "image/gif",
        false,
        true
      ]
    }
  ],
  "links": [
    [
      1,
      2,
      0,
      5,
      0,
      "LIVEPORTRAITPIPE"
    ],
    [
      2,
      3,
      0,
      5,
      1,
      "LPCROPPER"
    ],
    [
      3,
      1,
      0,
      5,
      2,
      "IMAGE"
    ],
    [
      4,
      2,
      0,
      6,
      0,
      "LIVEPORTRAITPIPE"
    ],
    [
      5,
      5,
      1,
      6,
      1,
      "CROPINFO"
    ],
    [
      6,
      5,
      0,
      6,
      2,
      "IMAGE"
    ],
    [
      7,
      4,
      0,
      6,
      3,
      "IMAGE"
    ],
    [
      8,
      1,
      0,
      8,
      0,
      "IMAGE"
    ],
    [
      9,
      6,
      0,
      8,
      1,
      "IMAGE"
    ],
    [
      10,
      6,
      1,
      8,
      2,
      "LP_OUT"
    ],
    [
      11,
      8,
      0,
      7,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {},
  "version": 0.4
}