Copy {
"1": {
"inputs": {
"precision": "fp16"
},
"class_type": "DownloadAndLoadLivePortraitModels",
"_meta": {
"title": "(Down)Load LivePortraitModels"
}
},
"78": {
"inputs": {
"image": [
"165",
0
]
},
"class_type": "GetImageSizeAndCount",
"_meta": {
"title": "Get Image Size & Count"
}
},
"81": {
"inputs": {
"expand": 0,
"incremental_expandrate": 0,
"tapered_corners": true,
"flip_input": false,
"blur_radius": 13.9,
"lerp_alpha": 1,
"decay_factor": 1,
"fill_holes": false,
"mask": [
"83",
0
]
},
"class_type": "GrowMaskWithBlur",
"_meta": {
"title": "Grow Mask With Blur"
}
},
"82": {
"inputs": {
"mask": [
"81",
0
]
},
"class_type": "MaskPreview+",
"_meta": {
"title": "π§ Mask Preview"
}
},
"83": {
"inputs": {
"shape": "square",
"frames": 1,
"location_x": 256,
"location_y": 256,
"grow": 0,
"frame_width": 512,
"frame_height": 512,
"shape_width": 480,
"shape_height": 480
},
"class_type": "CreateShapeMask",
"_meta": {
"title": "Create Shape Mask"
}
},
"134": {
"inputs": {
"image": [
"197",
0
]
},
"class_type": "GetImageSizeAndCount",
"_meta": {
"title": "Get Image Size & Count"
}
},
"165": {
"inputs": {
"width": 512,
"height": 512,
"upscale_method": "lanczos",
"keep_proportion": true,
"divisible_by": 2,
"image": [
"196",
0
]
},
"class_type": "ImageResizeKJ",
"_meta": {
"title": "Resize Image"
}
},
"168": {
"inputs": {
"frame_rate": 24,
"loop_count": 1,
"filename_prefix": "LivePortrait",
"format": "video/h264-mp4",
"pingpong": false,
"save_output": false,
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"images": [
"181",
0
]
},
"class_type": "VHS_VideoCombine",
"_meta": {
"title": "Video Combine π₯π
₯π
π
’"
}
},
"180": {
"inputs": {
"eye_retargeting": true,
"eyes_retargeting_multiplier": 1,
"lip_retargeting": true,
"lip_retargeting_multiplier": 1,
"driving_crop_info": [
"197",
1
]
},
"class_type": "LivePortraitRetargeting",
"_meta": {
"title": "LivePortrait Retargeting"
}
},
"181": {
"inputs": {
"image": [
"191",
0
]
},
"class_type": "GetImageSizeAndCount",
"_meta": {
"title": "Get Image Size & Count"
}
},
"182": {
"inputs": {
"image": [
"199",
0
]
},
"class_type": "GetImageSizeAndCount",
"_meta": {
"title": "Get Image Size & Count"
}
},
"189": {
"inputs": {
"dsize": 512,
"scale": 2.3000000000000003,
"vx_ratio": 0,
"vy_ratio": -0.125,
"face_index": 0,
"face_index_order": "large-small",
"rotate": true,
"pipeline": [
"1",
0
],
"cropper": [
"198",
0
],
"source_image": [
"78",
0
]
},
"class_type": "LivePortraitCropper",
"_meta": {
"title": "LivePortrait Cropper"
}
},
"190": {
"inputs": {
"lip_zero": false,
"lip_zero_threshold": 0.03,
"stitching": true,
"delta_multiplier": 1,
"mismatch_method": "constant",
"relative_motion_mode": "relative",
"driving_smooth_observation_variance": 0.000003,
"pipeline": [
"1",
0
],
"crop_info": [
"189",
1
],
"source_image": [
"78",
0
],
"driving_images": [
"182",
0
]
},
"class_type": "LivePortraitProcess",
"_meta": {
"title": "LivePortrait Process"
}
},
"191": {
"inputs": {
"source_image": [
"78",
0
],
"cropped_image": [
"190",
0
],
"liveportrait_out": [
"190",
1
],
"mask": [
"81",
0
]
},
"class_type": "LivePortraitComposite",
"_meta": {
"title": "LivePortrait Composite"
}
},
"196": {
"inputs": {
"image": "{portraitgenerator}"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image"
}
},
"197": {
"inputs": {
"dsize": 512,
"scale": 2.3000000000000003,
"vx_ratio": 0,
"vy_ratio": -0.125,
"face_index": 0,
"face_index_order": "large-small",
"rotate": true,
"pipeline": [
"1",
0
],
"cropper": [
"198",
0
],
"source_image": [
"182",
0
]
},
"class_type": "LivePortraitCropper",
"_meta": {
"title": "LivePortrait Cropper"
}
},
"198": {
"inputs": {
"landmarkrunner_onnx_device": "CPU",
"keep_model_loaded": true
},
"class_type": "LivePortraitLoadMediaPipeCropper",
"_meta": {
"title": "LivePortrait Load MediaPipeCropper"
}
},
"199": {
"inputs": {
"video": "https://drive.google.com/uc?export=download&id=1jOUIEO2r_i2JZZgKiDJKmURDffHTqyqA",
"force_rate": 0,
"force_size": "Disabled",
"custom_width": 512,
"custom_height": 512,
"frame_load_cap": 128,
"skip_first_frames": 0,
"select_every_nth": 1
},
"class_type": "VHS_LoadVideoPath",
"_meta": {
"title": "Load Video (Path) π₯π
₯π
π
’"
}
}
}