Node display names, category, descriptions, tooltips and all frontend labels are now English so the nodes are usable for the general Manager audience. Node class IDs, parameter identifiers and enum values are unchanged, so existing workflows stay compatible. Also documents how this pack differs from ComfyUI's built-in modal mask editor and Painter node.
695 lines
12 KiB
JSON
695 lines
12 KiB
JSON
{
|
|
"id": "00000000-0000-0000-0000-000000000000",
|
|
"revision": 0,
|
|
"last_node_id": 8,
|
|
"last_link_id": 11,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "AdachiInlineMask",
|
|
"pos": [
|
|
40,
|
|
80
|
|
],
|
|
"size": [
|
|
660,
|
|
700
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "image"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "mask_data",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "mask_data"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "source_data",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "source_data"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
7,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": [
|
|
8
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "AdachiInlineMask"
|
|
},
|
|
"widgets_values": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "CheckpointLoaderSimple",
|
|
"pos": [
|
|
780,
|
|
80
|
|
],
|
|
"size": [
|
|
340,
|
|
130.65625
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "ckpt_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "ckpt_name"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
3
|
|
]
|
|
},
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [
|
|
1,
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": [
|
|
4
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CheckpointLoaderSimple"
|
|
},
|
|
"widgets_values": [
|
|
"CHOOSE_YOUR_CHECKPOINT.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
780,
|
|
250
|
|
],
|
|
"size": [
|
|
350,
|
|
150
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
5
|
|
]
|
|
}
|
|
],
|
|
"title": "Positive",
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"A detailed natural photograph, coherent lighting, high quality"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
780,
|
|
450
|
|
],
|
|
"size": [
|
|
350,
|
|
150
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 2
|
|
},
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
6
|
|
]
|
|
}
|
|
],
|
|
"title": "Negative",
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"blurry, distorted, artifacts"
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "AdachiWebUIInpaint",
|
|
"pos": [
|
|
1220,
|
|
80
|
|
],
|
|
"size": [
|
|
430,
|
|
1020
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 3
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 5
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 6
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 4
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 7
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 8
|
|
},
|
|
{
|
|
"name": "refiner_model",
|
|
"shape": 7,
|
|
"type": "MODEL",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "refiner_positive",
|
|
"shape": 7,
|
|
"type": "CONDITIONING",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "refiner_negative",
|
|
"shape": 7,
|
|
"type": "CONDITIONING",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "area",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "area"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "width"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "height"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "padding",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "padding"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "mask_blur",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "mask_blur"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "mask_grow",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "mask_grow"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "mask_mode",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "mask_mode"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "fill",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "fill"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "resize_mode",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "resize_mode"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "seed",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "seed"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "steps",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "steps"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "cfg",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "cfg"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "sampler_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "sampler_name"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "scheduler",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "scheduler"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "denoise",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "denoise"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "batch_size",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "batch_size"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "refiner_switch",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "refiner_switch"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "inpaint_model",
|
|
"shape": 7,
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "inpaint_model"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "soft_edge",
|
|
"shape": 7,
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "soft_edge"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "soft_strength",
|
|
"shape": 7,
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "soft_strength"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
10
|
|
]
|
|
},
|
|
{
|
|
"name": "crop",
|
|
"type": "IMAGE",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "AdachiWebUIInpaint"
|
|
},
|
|
"widgets_values": [
|
|
"only_masked",
|
|
1024,
|
|
1024,
|
|
32,
|
|
4,
|
|
0,
|
|
"inside",
|
|
"original",
|
|
"stretch",
|
|
42,
|
|
"fixed",
|
|
20,
|
|
7,
|
|
"dpmpp_2m",
|
|
"karras",
|
|
0.75,
|
|
1,
|
|
0.8,
|
|
false,
|
|
false,
|
|
0.5
|
|
]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "AdachiImageCompare",
|
|
"pos": [
|
|
1770,
|
|
80
|
|
],
|
|
"size": [
|
|
590,
|
|
620
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "original",
|
|
"type": "IMAGE",
|
|
"link": 9
|
|
},
|
|
{
|
|
"name": "result",
|
|
"type": "IMAGE",
|
|
"link": 10
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
11
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "AdachiImageCompare"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "SaveImage",
|
|
"pos": [
|
|
2470,
|
|
80
|
|
],
|
|
"size": [
|
|
430,
|
|
450
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 11
|
|
},
|
|
{
|
|
"name": "filename_prefix",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "filename_prefix"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"Adachi/Inpaint"
|
|
]
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "Note",
|
|
"pos": [
|
|
780,
|
|
670
|
|
],
|
|
"size": [
|
|
350,
|
|
220
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"Adachi-Inpaint-Workbench\n1. Pick your own checkpoint\n2. Load an image in the left node and paint directly on it\n3. Select the brush and adjust inpainting parameters in the WebUI Inpaint node\n4. width/height is the sampling resolution; the final image is composited back at the source size\nTick \"Embed source in workflow\" in the inpaint node before sharing"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
2,
|
|
1,
|
|
3,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
2,
|
|
2,
|
|
1,
|
|
4,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
3,
|
|
2,
|
|
0,
|
|
5,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
4,
|
|
2,
|
|
2,
|
|
5,
|
|
3,
|
|
"VAE"
|
|
],
|
|
[
|
|
5,
|
|
3,
|
|
0,
|
|
5,
|
|
1,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
6,
|
|
4,
|
|
0,
|
|
5,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
7,
|
|
1,
|
|
0,
|
|
5,
|
|
4,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
8,
|
|
1,
|
|
1,
|
|
5,
|
|
5,
|
|
"MASK"
|
|
],
|
|
[
|
|
9,
|
|
1,
|
|
0,
|
|
6,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
10,
|
|
5,
|
|
0,
|
|
6,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
11,
|
|
6,
|
|
0,
|
|
7,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1,
|
|
"offset": [
|
|
0,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
}
|