475 lines
8.0 KiB
JSON
475 lines
8.0 KiB
JSON
{
|
|
"last_node_id": 4,
|
|
"last_link_id": 3,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "UtilMegaPack_ImagePro",
|
|
"pos": [
|
|
60,
|
|
60
|
|
],
|
|
"size": [
|
|
320,
|
|
1052
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "source",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "reference",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "background",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "foreground",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
1
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": [],
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": [],
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": [],
|
|
"slot_index": 3
|
|
},
|
|
{
|
|
"name": "metadata_json",
|
|
"type": "STRING",
|
|
"links": [],
|
|
"slot_index": 4
|
|
}
|
|
],
|
|
"properties": {
|
|
"recipe_id": "loader",
|
|
"Node name for S&R": "UtilMegaPack_ImagePro"
|
|
},
|
|
"widgets_values": [
|
|
"load_image_glob",
|
|
"(use pack default)",
|
|
"C:/ComfyUI/input",
|
|
"*.png",
|
|
"",
|
|
0,
|
|
"randomize",
|
|
0,
|
|
0.0,
|
|
1.0,
|
|
1.0,
|
|
0.0,
|
|
1.0,
|
|
1.0,
|
|
4,
|
|
0.5,
|
|
1.0,
|
|
"normal",
|
|
1.0,
|
|
8,
|
|
2.0,
|
|
150,
|
|
4,
|
|
0.6,
|
|
0.2,
|
|
2,
|
|
2,
|
|
64,
|
|
0.0,
|
|
0.5,
|
|
30,
|
|
8,
|
|
16,
|
|
6,
|
|
8,
|
|
"high_frequency",
|
|
"swap_rgb_to_bgr",
|
|
5
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "UtilMegaPack_ImagePro",
|
|
"pos": [
|
|
460,
|
|
60
|
|
],
|
|
"size": [
|
|
320,
|
|
1052
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 1
|
|
},
|
|
{
|
|
"name": "source",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "reference",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "background",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "foreground",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
2
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": [],
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": [],
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": [],
|
|
"slot_index": 3
|
|
},
|
|
{
|
|
"name": "metadata_json",
|
|
"type": "STRING",
|
|
"links": [],
|
|
"slot_index": 4
|
|
}
|
|
],
|
|
"properties": {
|
|
"recipe_id": "blur",
|
|
"Node name for S&R": "UtilMegaPack_ImagePro"
|
|
},
|
|
"widgets_values": [
|
|
"blur_gaussian",
|
|
"(use pack default)",
|
|
"",
|
|
"*.png",
|
|
"",
|
|
-1,
|
|
"randomize",
|
|
0,
|
|
0.0,
|
|
1.0,
|
|
1.0,
|
|
0.0,
|
|
1.0,
|
|
1.0,
|
|
4,
|
|
0.5,
|
|
1.0,
|
|
"normal",
|
|
1.0,
|
|
8,
|
|
3.0,
|
|
150,
|
|
4,
|
|
0.6,
|
|
0.2,
|
|
2,
|
|
2,
|
|
64,
|
|
0.0,
|
|
0.5,
|
|
30,
|
|
8,
|
|
16,
|
|
6,
|
|
8,
|
|
"high_frequency",
|
|
"swap_rgb_to_bgr",
|
|
5
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "UtilMegaPack_IOWorkflow",
|
|
"pos": [
|
|
860,
|
|
60
|
|
],
|
|
"size": [
|
|
320,
|
|
1356
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"links": [
|
|
3
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "parsed",
|
|
"type": "DICT",
|
|
"links": [],
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [],
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "status_code",
|
|
"type": "INT",
|
|
"links": [],
|
|
"slot_index": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"recipe_id": "zipper",
|
|
"Node name for S&R": "UtilMegaPack_IOWorkflow"
|
|
},
|
|
"widgets_values": [
|
|
"save_images_zip",
|
|
"(use pack default)",
|
|
"",
|
|
true,
|
|
"",
|
|
false,
|
|
"",
|
|
"",
|
|
false,
|
|
false,
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"_",
|
|
"",
|
|
30,
|
|
"{}",
|
|
"{}",
|
|
"{date}_{seed}_{prompt_slug}.png",
|
|
0,
|
|
"randomize",
|
|
"",
|
|
"png",
|
|
"",
|
|
"{}",
|
|
"",
|
|
"MegaPack",
|
|
false,
|
|
0.0,
|
|
1.0,
|
|
0.1,
|
|
"",
|
|
0.0,
|
|
".png,.jpg,.jpeg,.webp",
|
|
"C:/ComfyUI/output/batch_blurred.zip",
|
|
"blurred_",
|
|
"png",
|
|
"."
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "ShowText|pysssss",
|
|
"pos": [
|
|
1260,
|
|
60
|
|
],
|
|
"size": [
|
|
320,
|
|
188
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"link": 3,
|
|
"widget": {
|
|
"name": "text"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"links": [],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"recipe_id": "path_out",
|
|
"Node name for S&R": "ShowText|pysssss"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
2,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
2,
|
|
2,
|
|
0,
|
|
3,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
3,
|
|
3,
|
|
0,
|
|
4,
|
|
0,
|
|
"STRING"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Load",
|
|
"bounding": [
|
|
35,
|
|
-9,
|
|
370,
|
|
1146
|
|
],
|
|
"color": "#3F789E",
|
|
"font_size": 24,
|
|
"locked": false
|
|
},
|
|
{
|
|
"title": "Process",
|
|
"bounding": [
|
|
435,
|
|
-9,
|
|
370,
|
|
1146
|
|
],
|
|
"color": "#3F789E",
|
|
"font_size": 24,
|
|
"locked": false
|
|
},
|
|
{
|
|
"title": "Save",
|
|
"bounding": [
|
|
835,
|
|
-9,
|
|
770,
|
|
1450
|
|
],
|
|
"color": "#3F789E",
|
|
"font_size": 24,
|
|
"locked": false
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1.0,
|
|
"offset": [
|
|
0,
|
|
0
|
|
]
|
|
},
|
|
"description": "Load all PNG images from a folder with ImagePro glob loader, apply gaussian blur, then pack the processed batch into a ZIP archive with IOWorkflow.",
|
|
"title": "MegaPack \u2014 Batch Image Processor",
|
|
"tier": 2,
|
|
"pack": "ComfyUI-Utility-MegaPack"
|
|
},
|
|
"version": 0.4
|
|
} |