n8n-nodes-hjhcomfyui
Version:
n8n node to integrate with ComfyUI stable diffusion workflows
228 lines (227 loc) • 5.76 kB
JSON
{
"1": {
"inputs": {
"image": "//NAS65A682/Web/images/openapi_img/tmp/2025/06/18/0_0_67_00277_.webp",
"image_path": "",
"keep_alpha": false
},
"class_type": "LoadImageAdv",
"_meta": {
"title": "HJH Load Image Advanced"
}
},
"2": {
"inputs": {
"image": "//NAS65A682/Web/images/openapi_img/tmp/2025/06/18/0_0_67_00278_.webp",
"image_path": "",
"keep_alpha": false
},
"class_type": "LoadImageAdv",
"_meta": {
"title": "HJH Load Image Advanced"
}
},
"3": {
"inputs": {
"image": "//NAS65A682/Web/images/openapi_img/tmp/2025/06/18/0_0_67_00279_.webp",
"image_path": "",
"keep_alpha": false
},
"class_type": "LoadImageAdv",
"_meta": {
"title": "HJH Load Image Advanced"
}
},
"4": {
"inputs": {
"image": "//NAS65A682/Web/images/openapi_img/tmp/2025/06/18/0_0_67_00280_.webp",
"image_path": "",
"keep_alpha": false
},
"class_type": "LoadImageAdv",
"_meta": {
"title": "HJH Load Image Advanced"
}
},
"5": {
"inputs": {
"image1": [
"1",
0
],
"image2": [
"4",
0
]
},
"class_type": "ImageBatch",
"_meta": {
"title": "Batch Images"
}
},
"6": {
"inputs": {
"image1": [
"2",
0
],
"image2": [
"3",
0
]
},
"class_type": "ImageBatch",
"_meta": {
"title": "Batch Images"
}
},
"7": {
"inputs": {
"image1": [
"5",
0
],
"image2": [
"6",
0
]
},
"class_type": "ImageBatch",
"_meta": {
"title": "Batch Images"
}
},
"8": {
"inputs": {
"image": "//NAS65A682/Web/images/test/user_img/orig/2024/08/09/d873dc55d9ec81bce6c07642ec74e22b_test_AA23GG2.jpg",
"image_path": "",
"keep_alpha": false
},
"class_type": "LoadImageAdv",
"_meta": {
"title": "HJH Load Image Advanced"
}
},
"9": {
"inputs": {
"libraries": "buffalo_l",
"provider": "CUDAExecutionProvider",
"device": 0
},
"class_type": "InsightFaceModel",
"_meta": {
"title": "HJH Load InsightFace Model"
}
},
"10": {
"inputs": {
"model": "\\\\NAS65A682\\SD-Share\\models\\ultralytics\\fastsam\\FastSAM-x.pt",
"device": "CUDA:0"
},
"class_type": "FastSAMModel",
"_meta": {
"title": "HJH Load FastSAM Model"
}
},
"11": {
"inputs": {
"conf": 0.9000000000000001,
"iou": 0.8100000000000002,
"sort_method": "original",
"valid": false,
"debug": false,
"image": [
"8",
0
],
"insightface": [
"9",
0
]
},
"class_type": "InsightFaceAnalysis",
"_meta": {
"title": "HJH InsightFace Analysis"
}
},
"14": {
"inputs": {
"inswapper_model": "\\\\NAS65A682\\SD-Share\\models\\insightface\\models/inswapper\\inswapper_128.onnx",
"provider": "CUDAExecutionProvider",
"device": 0
},
"class_type": "InswapperModel",
"_meta": {
"title": "HJH Load Inswapper Model"
}
},
"15": {
"inputs": {
"face_enhance_model": "\\\\NAS65A682\\SD-Share\\models\\FaceRestore\\GFPGANv1.4.onnx",
"provider": "CUDAExecutionProvider",
"device": 0
},
"class_type": "FaceEnhanceModel",
"_meta": {
"title": "HJH Load Face Enhance Model"
}
},
"16": {
"inputs": {
"conf": 0.9000000000000001,
"iou": 0.9000000000000001,
"pixel_boost": 256,
"blend": 0.8500000000000002,
"mode": "auto",
"feature_align": "jaw_all",
"seg_mask": false,
"enhance_face": true,
"target_image": [
"7",
0
],
"source_image": [
"8",
0
],
"detect_model": [
"9",
0
],
"segment_model": [
"10",
0
],
"swap_model": [
"14",
0
],
"enhance_model": [
"15",
0
]
},
"class_type": "FaceSwapper",
"_meta": {
"title": "HJH Face Swapper"
}
},
"18": {
"inputs": {
"filename_prefix": "//NAS65A682/Web/images/openapi_img/tmp/2025/06/18/0_0_67_00277_faceswap",
"isLossless": false,
"quality": 85,
"print_size": 1344,
"thumb_size": 384,
"EXIF": true,
"images": [
"16",
0
]
},
"class_type": "SaveImageWebp",
"_meta": {
"title": "HJH Save Image as Webp"
}
}
}