| { | |
| "1": { | |
| "inputs": { | |
| "precision": "fp16", | |
| "mode": "human" | |
| }, | |
| "class_type": "DownloadAndLoadLivePortraitModels", | |
| "_meta": { | |
| "title": "(Down)Load LivePortraitModels" | |
| } | |
| }, | |
| "8": { | |
| "inputs": { | |
| "video": "d11.mp4", | |
| "force_rate": 16, | |
| "force_size": "Disabled", | |
| "custom_width": 512, | |
| "custom_height": 512, | |
| "frame_load_cap": 128, | |
| "skip_first_frames": 0, | |
| "select_every_nth": 1 | |
| }, | |
| "class_type": "VHS_LoadVideo", | |
| "_meta": { | |
| "title": "Load Video (Upload) 🎥🅥🅗🅢" | |
| } | |
| }, | |
| "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" | |
| } | |
| }, | |
| "129": { | |
| "inputs": { | |
| "onnx_device": "CUDA", | |
| "keep_model_loaded": true, | |
| "detection_threshold": 0.5 | |
| }, | |
| "class_type": "LivePortraitLoadCropper", | |
| "_meta": { | |
| "title": "LivePortrait Load InsightFaceCropper" | |
| } | |
| }, | |
| "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, | |
| "crop": "disabled", | |
| "image": [ | |
| "196", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "ImageResizeKJ", | |
| "_meta": { | |
| "title": "Resize Image" | |
| } | |
| }, | |
| "168": { | |
| "inputs": { | |
| "frame_rate": 16, | |
| "loop_count": 0, | |
| "filename_prefix": "LivePortrait", | |
| "format": "video/h264-mp4", | |
| "pix_fmt": "yuv420p", | |
| "crf": 19, | |
| "save_metadata": false, | |
| "pingpong": false, | |
| "save_output": true, | |
| "images": [ | |
| "181", | |
| 0 | |
| ], | |
| "audio": [ | |
| "8", | |
| 2 | |
| ] | |
| }, | |
| "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": [ | |
| "8", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "GetImageSizeAndCount", | |
| "_meta": { | |
| "title": "Get Image Size & Count" | |
| } | |
| }, | |
| "189": { | |
| "inputs": { | |
| "dsize": 512, | |
| "scale": 2.3, | |
| "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, | |
| "expression_friendly": true, | |
| "expression_friendly_multiplier": 1, | |
| "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": "s4.jpg", | |
| "upload": "image" | |
| }, | |
| "class_type": "LoadImage", | |
| "_meta": { | |
| "title": "Load Image" | |
| } | |
| }, | |
| "197": { | |
| "inputs": { | |
| "dsize": 512, | |
| "scale": 2.3, | |
| "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": "torch_gpu", | |
| "keep_model_loaded": true | |
| }, | |
| "class_type": "LivePortraitLoadMediaPipeCropper", | |
| "_meta": { | |
| "title": "LivePortrait Load MediaPipeCropper" | |
| } | |
| }, | |
| "201": { | |
| "inputs": { | |
| "face_detector": "blazeface_back_camera", | |
| "landmarkrunner_device": "torch_gpu", | |
| "face_detector_device": "cuda", | |
| "face_detector_dtype": "fp16", | |
| "keep_model_loaded": true | |
| }, | |
| "class_type": "LivePortraitLoadFaceAlignmentCropper", | |
| "_meta": { | |
| "title": "LivePortrait Load FaceAlignmentCropper" | |
| } | |
| } | |
| } |