363 lines
6.9 KiB
JSON
363 lines
6.9 KiB
JSON
{
|
|
"id": "1595f158-b586-4169-a0be-23aa732d65a0",
|
|
"revision": 0,
|
|
"last_node_id": 22,
|
|
"last_link_id": 31,
|
|
"nodes": [
|
|
{
|
|
"id": 10,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
256.8000793457031,
|
|
185.55999755859375
|
|
],
|
|
"size": [
|
|
274.080078125,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
27
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.49",
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"pexels-enesersahin-29529439.jpg",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
252.08010864257812,
|
|
570.3101806640625
|
|
],
|
|
"size": [
|
|
274.080078125,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
29
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.49",
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"PixelArtSave_00005_.webp",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1066.429443359375,
|
|
679.0447998046875
|
|
],
|
|
"size": [
|
|
329.20001220703125,
|
|
339.2799987792969
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 31
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.49",
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1020.5164184570312,
|
|
281.189208984375
|
|
],
|
|
"size": [
|
|
409.5052490234375,
|
|
309.8037414550781
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 12
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.49",
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "PixelArtPaletteGenerator",
|
|
"pos": [
|
|
620.5237426757812,
|
|
184.30917358398438
|
|
],
|
|
"size": [
|
|
281.7564392089844,
|
|
102
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 28
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
12
|
|
]
|
|
},
|
|
{
|
|
"name": "color_palettes",
|
|
"type": "LIST",
|
|
"links": [
|
|
30
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-pixelart-detector",
|
|
"ver": "2d93ea745eeae2dd1cc2205284a76ab52d33140c",
|
|
"Node name for S&R": "PixelArtPaletteGenerator"
|
|
},
|
|
"widgets_values": [
|
|
24,
|
|
"Chart"
|
|
]
|
|
},
|
|
{
|
|
"id": 21,
|
|
"type": "ImageScaleBy",
|
|
"pos": [
|
|
621.9645385742188,
|
|
340.80157470703125
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 27
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
28
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.49",
|
|
"Node name for S&R": "ImageScaleBy"
|
|
},
|
|
"widgets_values": [
|
|
"lanczos",
|
|
0.8
|
|
]
|
|
},
|
|
{
|
|
"id": 22,
|
|
"type": "PixelArtDetectorConverter",
|
|
"pos": [
|
|
590,
|
|
630
|
|
],
|
|
"size": [
|
|
400,
|
|
420
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 29
|
|
},
|
|
{
|
|
"name": "paletteList",
|
|
"shape": 7,
|
|
"type": "LIST",
|
|
"link": 30
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"shape": 6,
|
|
"type": "IMAGE",
|
|
"links": [
|
|
31
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-pixelart-detector",
|
|
"ver": "51cf5d2390b15f00e0005609f8cd9a5c8c968486",
|
|
"Node name for S&R": "PixelArtDetectorConverter"
|
|
},
|
|
"widgets_values": [
|
|
"GAMEBOY",
|
|
512,
|
|
512,
|
|
"contain",
|
|
"Image.quantize",
|
|
2,
|
|
true,
|
|
"Image.quantize",
|
|
128,
|
|
true,
|
|
"MAXCOVERAGE",
|
|
"OpenCV.kmeans: only when reducing is enabled.\nRANDOM_CENTERS: Fast but doesn't guarantee same labels for the same image.\nPP_CENTERS: Slow but will yield optimum and consistent results for same input image.\nattempts: to run criteria_max_iterations so it gets the best labels. Increasing this value will slow down the runtime a lot, but improves the colors!\n",
|
|
"RANDOM_CENTERS",
|
|
10,
|
|
10,
|
|
"EUCLIDEAN_SQUARE",
|
|
"Clean up colors: Iterate and eliminate pixels while there was none left covering less than the 'cleanup_pixels_threshold' of the image.\nOptionally, enable the 'reduce colors' option, which runs before this cleanup. Good cleanup_threshold values: between .01 & .05",
|
|
true,
|
|
0.02,
|
|
"none"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
12,
|
|
11,
|
|
0,
|
|
12,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
27,
|
|
10,
|
|
0,
|
|
21,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
28,
|
|
21,
|
|
0,
|
|
11,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
29,
|
|
14,
|
|
0,
|
|
22,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
30,
|
|
11,
|
|
1,
|
|
22,
|
|
1,
|
|
"LIST"
|
|
],
|
|
[
|
|
31,
|
|
22,
|
|
0,
|
|
15,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1.1000000000000005,
|
|
"offset": [
|
|
-181.5020371860196,
|
|
-106.4883041096391
|
|
]
|
|
},
|
|
"frontendVersion": "1.25.11",
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |