Files
2025-04-19 16:09:20 -04:00

192 lines
3.5 KiB
JSON

{
"1": {
"inputs": {
"image": "broccoli.png",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image"
}
},
"2": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"7",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
},
"3": {
"inputs": {
"num_faces": 1,
"min_face_detection_confidence": 0.5,
"min_face_presence_confidence": 0.5,
"min_tracking_confidence": 0.5,
"output_blendshapes": true,
"output_transform_matrix": true,
"running_mode": "video",
"delegate": "cpu",
"image": [
"6",
0
],
"model_info": [
"4",
0
]
},
"class_type": "MediaPipeFaceLandmarker",
"_meta": {
"title": "Face Landmarker (MediaPipe)"
}
},
"4": {
"inputs": {
"model_variant": "default"
},
"class_type": "MediaPipeFaceLandmarkerModelLoader",
"_meta": {
"title": "Load Face Landmarker Model (MediaPipe)"
}
},
"5": {
"inputs": {
"component": "roll",
"value_min": 0,
"value_max": 60,
"output_min_float": 0,
"output_max_float": 1,
"clamp": true,
"face_transform_matrices": [
"3",
2
]
},
"class_type": "HeadPoseControlFloat",
"_meta": {
"title": "Head Pose Control (Float)"
}
},
"6": {
"inputs": {
"image": "harold.png",
"upload": "image"
},
"class_type": "PrimaryInputLoadImage",
"_meta": {
"title": "PrimaryInputLoadImage"
}
},
"7": {
"inputs": {
"x": 0,
"y": 0,
"resize_source": false,
"destination": [
"6",
0
],
"source": [
"1",
0
],
"mask": [
"18",
0
]
},
"class_type": "ImageCompositeMasked",
"_meta": {
"title": "ImageCompositeMasked"
}
},
"8": {
"inputs": {
"value": [
"5",
0
],
"width": 512,
"height": 512
},
"class_type": "SolidMask",
"_meta": {
"title": "SolidMask"
}
},
"15": {
"inputs": {
"part_name": "FACE_OVAL",
"face_landmarks": [
"16",
0
],
"image_for_dimensions": [
"6",
0
]
},
"class_type": "MaskFromFaceLandmarks",
"_meta": {
"title": "Mask From Face Landmarks (MediaPipe)"
}
},
"16": {
"inputs": {
"num_faces": 1,
"min_face_detection_confidence": 0.5,
"min_face_presence_confidence": 0.5,
"min_tracking_confidence": 0.5,
"output_blendshapes": true,
"output_transform_matrix": true,
"running_mode": "video",
"delegate": "cpu",
"image": [
"6",
0
],
"model_info": [
"17",
0
]
},
"class_type": "MediaPipeFaceLandmarker",
"_meta": {
"title": "Face Landmarker (MediaPipe)"
}
},
"17": {
"inputs": {
"model_variant": "default"
},
"class_type": "MediaPipeFaceLandmarkerModelLoader",
"_meta": {
"title": "Load Face Landmarker Model (MediaPipe)"
}
},
"18": {
"inputs": {
"x": 0,
"y": 0,
"operation": "subtract",
"destination": [
"8",
0
],
"source": [
"15",
0
]
},
"class_type": "MaskComposite",
"_meta": {
"title": "MaskComposite"
}
}
}