159 lines
2.5 KiB
JSON
159 lines
2.5 KiB
JSON
{
|
|
"37": {
|
|
"inputs": {
|
|
"seed": 541389199520417
|
|
},
|
|
"class_type": "OutpaintCanvasTool",
|
|
"_meta": {
|
|
"title": "OutpaintCanvasTool"
|
|
}
|
|
},
|
|
"41": {
|
|
"inputs": {
|
|
"images": [
|
|
"47",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "PreviewImage",
|
|
"_meta": {
|
|
"title": "Preview Image"
|
|
}
|
|
},
|
|
"42": {
|
|
"inputs": {
|
|
"filename_prefix": "ComfyUI",
|
|
"images": [
|
|
"43",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "SaveImage_Canvas",
|
|
"_meta": {
|
|
"title": "SaveImage_Canvas"
|
|
}
|
|
},
|
|
"43": {
|
|
"inputs": {
|
|
"image": [
|
|
"49",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "ComfyNodesToSaveCanvas",
|
|
"_meta": {
|
|
"title": "ComfyNodesToSaveCanvas"
|
|
}
|
|
},
|
|
"44": {
|
|
"inputs": {
|
|
"keep_model_loaded": true,
|
|
"individual_objects": false,
|
|
"sam2_model": [
|
|
"45",
|
|
0
|
|
],
|
|
"image": [
|
|
"37",
|
|
2
|
|
],
|
|
"mask": [
|
|
"48",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "Sam2Segmentation",
|
|
"_meta": {
|
|
"title": "Sam2Segmentation"
|
|
}
|
|
},
|
|
"45": {
|
|
"inputs": {
|
|
"model": "sam2_hiera_base_plus.safetensors",
|
|
"segmentor": "single_image",
|
|
"device": "cuda",
|
|
"precision": "fp16"
|
|
},
|
|
"class_type": "DownloadAndLoadSAM2Model",
|
|
"_meta": {
|
|
"title": "(Down)Load SAM2Model"
|
|
}
|
|
},
|
|
"47": {
|
|
"inputs": {
|
|
"mask": [
|
|
"44",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "MaskToImage",
|
|
"_meta": {
|
|
"title": "Convert Mask to Image"
|
|
}
|
|
},
|
|
"48": {
|
|
"inputs": {
|
|
"channel": "red",
|
|
"image": [
|
|
"37",
|
|
1
|
|
]
|
|
},
|
|
"class_type": "ImageToMask",
|
|
"_meta": {
|
|
"title": "Convert Image to Mask"
|
|
}
|
|
},
|
|
"49": {
|
|
"inputs": {
|
|
"blend_percentage": 1,
|
|
"image_a": [
|
|
"50",
|
|
0
|
|
],
|
|
"image_b": [
|
|
"37",
|
|
0
|
|
],
|
|
"mask": [
|
|
"47",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "Image Blend by Mask",
|
|
"_meta": {
|
|
"title": "Image Blend by Mask"
|
|
}
|
|
},
|
|
"50": {
|
|
"inputs": {
|
|
"width": [
|
|
"51",
|
|
0
|
|
],
|
|
"height": [
|
|
"51",
|
|
1
|
|
],
|
|
"red": 0,
|
|
"green": 0,
|
|
"blue": 0
|
|
},
|
|
"class_type": "Image Blank",
|
|
"_meta": {
|
|
"title": "Image Blank"
|
|
}
|
|
},
|
|
"51": {
|
|
"inputs": {
|
|
"image": [
|
|
"37",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "Get Image Size",
|
|
"_meta": {
|
|
"title": "Get Image Size"
|
|
}
|
|
}
|
|
} |