Files
adachi0130-Adachi-Inpaint-W…/examples/01-inline-inpaint.json
T

746 lines
14 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": [
{
"localized_name": "image",
"name": "image",
"type": "STRING",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "mask_data",
"name": "mask_data",
"type": "STRING",
"widget": {
"name": "mask_data"
},
"link": null
},
{
"localized_name": "source_data",
"name": "source_data",
"type": "STRING",
"widget": {
"name": "source_data"
},
"link": null
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [
7,
9
]
},
{
"localized_name": "mask",
"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": [
{
"localized_name": "Checkpoint名称",
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
},
"link": null
}
],
"outputs": [
{
"localized_name": "模型",
"name": "MODEL",
"type": "MODEL",
"links": [
3
]
},
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
1,
2
]
},
{
"localized_name": "VAE",
"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": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 1
},
{
"localized_name": "文本",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"localized_name": "条件",
"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": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 2
},
{
"localized_name": "文本",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"localized_name": "条件",
"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": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 3
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 5
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 4
},
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 7
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 8
},
{
"localized_name": "refiner_model",
"name": "refiner_model",
"shape": 7,
"type": "MODEL",
"link": null
},
{
"localized_name": "refiner_positive",
"name": "refiner_positive",
"shape": 7,
"type": "CONDITIONING",
"link": null
},
{
"localized_name": "refiner_negative",
"name": "refiner_negative",
"shape": 7,
"type": "CONDITIONING",
"link": null
},
{
"localized_name": "area",
"name": "area",
"type": "COMBO",
"widget": {
"name": "area"
},
"link": null
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": null
},
{
"localized_name": "padding",
"name": "padding",
"type": "INT",
"widget": {
"name": "padding"
},
"link": null
},
{
"localized_name": "mask_blur",
"name": "mask_blur",
"type": "FLOAT",
"widget": {
"name": "mask_blur"
},
"link": null
},
{
"localized_name": "mask_grow",
"name": "mask_grow",
"type": "INT",
"widget": {
"name": "mask_grow"
},
"link": null
},
{
"localized_name": "mask_mode",
"name": "mask_mode",
"type": "COMBO",
"widget": {
"name": "mask_mode"
},
"link": null
},
{
"localized_name": "fill",
"name": "fill",
"type": "COMBO",
"widget": {
"name": "fill"
},
"link": null
},
{
"localized_name": "resize_mode",
"name": "resize_mode",
"type": "COMBO",
"widget": {
"name": "resize_mode"
},
"link": null
},
{
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
},
{
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
},
{
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": null
},
{
"localized_name": "refiner_switch",
"name": "refiner_switch",
"type": "FLOAT",
"widget": {
"name": "refiner_switch"
},
"link": null
},
{
"localized_name": "inpaint_model",
"name": "inpaint_model",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "inpaint_model"
},
"link": null
},
{
"localized_name": "soft_edge",
"name": "soft_edge",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "soft_edge"
},
"link": null
},
{
"localized_name": "soft_strength",
"name": "soft_strength",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "soft_strength"
},
"link": null
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [
10
]
},
{
"localized_name": "crop",
"name": "crop",
"type": "IMAGE",
"links": null
},
{
"localized_name": "mask",
"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": [
{
"localized_name": "original",
"name": "original",
"type": "IMAGE",
"link": 9
},
{
"localized_name": "result",
"name": "result",
"type": "IMAGE",
"link": 10
}
],
"outputs": [
{
"localized_name": "image",
"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": [
{
"localized_name": "图片",
"name": "images",
"type": "IMAGE",
"link": 11
},
{
"localized_name": "文件名前缀",
"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. 选择自己的 checkpoint 喵\n2. 在左侧节点载入原图并直接涂抹喵\n3. 在 WebUI 重绘节点中选择画笔并调整重绘参数喵\n4. width/height 是采样分辨率,最终 image 回贴为原图尺寸喵\n分享时在重绘节点勾选「原图嵌入工作流」喵"
],
"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
}