Files

1384 lines
25 KiB
JSON

{
"id": "a56ae859-2797-46a3-9f48-a4ceea680ee4",
"revision": 0,
"last_node_id": 17,
"last_link_id": 25,
"nodes": [
{
"id": 1,
"type": "CheckpointLoaderSimple",
"pos": [
-850,
-30
],
"size": [
380,
110
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
},
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
9,
12
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
1,
2,
3,
4
]
},
{
"name": "VAE",
"type": "VAE",
"links": [
17,
18
]
}
],
"title": "Select your checkpoint",
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"YOUR_CHECKPOINT.safetensors"
]
},
{
"id": 2,
"type": "CLIPTextEncode",
"pos": [
40,
-340
],
"size": [
390,
180
],
"flags": {},
"order": 1,
"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": "Text to image · Positive",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"a small greenhouse in a quiet garden, morning light, watercolor illustration, detailed plants, soft colors"
]
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [
40,
-90
],
"size": [
390,
150
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
7
]
}
],
"title": "Text to image · Negative",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"blurry, low quality, text, watermark"
]
},
{
"id": 4,
"type": "EmptyLatentImage",
"pos": [
40,
120
],
"size": [
300,
110
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": null
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": null
},
{
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": null
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
15
]
}
],
"title": "Image size",
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 5,
"type": "KSampler",
"pos": [
750,
-340
],
"size": [
300,
310
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 9
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 10
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 11
},
{
"name": "latent_image",
"type": "LATENT",
"link": 15
},
{
"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
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
16
]
}
],
"title": "Text to image · Sampler",
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"randomize",
20,
7,
"euler",
"normal",
1
]
},
{
"id": 6,
"type": "VAEDecode",
"pos": [
1190,
-300
],
"size": [
240,
90
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 16
},
{
"name": "vae",
"type": "VAE",
"link": 17
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
23
]
}
],
"title": "Decode generated image",
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 7,
"type": "AdachiInlineMask",
"pos": [
40,
520
],
"size": [
430,
660
],
"flags": {},
"order": 6,
"mode": 4,
"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
},
{
"name": "edit_mode",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "edit_mode"
},
"link": null
},
{
"name": "crop_state",
"shape": 7,
"type": "STRING",
"widget": {
"name": "crop_state"
},
"link": null
},
{
"name": "blend_data",
"shape": 7,
"type": "STRING",
"widget": {
"name": "blend_data"
},
"link": null
},
{
"name": "layer_image",
"shape": 7,
"type": "STRING",
"widget": {
"name": "layer_image"
},
"link": null
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
19,
21
]
},
{
"name": "mask",
"type": "MASK",
"links": [
20
]
},
{
"name": "full_image",
"type": "IMAGE",
"links": null
}
],
"title": "Inline Mask",
"properties": {
"Node name for S&R": "AdachiInlineMask"
},
"widgets_values": [
"",
"",
"",
"mask",
"{}",
"",
""
]
},
{
"id": 8,
"type": "CLIPTextEncode",
"pos": [
40,
1260
],
"size": [
430,
170
],
"flags": {},
"order": 7,
"mode": 4,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
]
}
],
"title": "Inpaint · Positive",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"a small greenhouse in a quiet garden, blooming lavender beside the path, watercolor illustration, soft morning light"
]
},
{
"id": 9,
"type": "CLIPTextEncode",
"pos": [
40,
1490
],
"size": [
430,
150
],
"flags": {},
"order": 8,
"mode": 4,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 4
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
8
]
}
],
"title": "Inpaint · Negative",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"blurry, low quality, text, watermark"
]
},
{
"id": 10,
"type": "AdachiWebUIInpaint",
"pos": [
610,
520
],
"size": [
520,
1120
],
"flags": {},
"order": 9,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 12
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 13
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 14
},
{
"name": "vae",
"type": "VAE",
"link": 18
},
{
"name": "image",
"type": "IMAGE",
"link": 19
},
{
"name": "mask",
"type": "MASK",
"link": 20
},
{
"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": [
22
]
},
{
"name": "crop",
"type": "IMAGE",
"links": null
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"title": "Adachi Inpaint Workbench",
"properties": {
"Node name for S&R": "AdachiWebUIInpaint"
},
"widgets_values": [
"only_masked",
512,
512,
32,
4,
0,
"inside",
"original",
"stretch",
0,
"randomize",
20,
7,
"euler",
"normal",
0.65,
1,
1,
false,
false,
0.5
]
},
{
"id": 11,
"type": "AdachiImageCompare",
"pos": [
1190,
520
],
"size": [
500,
720
],
"flags": {},
"order": 10,
"mode": 4,
"inputs": [
{
"name": "original",
"type": "IMAGE",
"link": 21
},
{
"name": "result",
"type": "IMAGE",
"link": 22
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
24
]
}
],
"title": "Image Compare",
"properties": {
"Node name for S&R": "AdachiImageCompare"
},
"widgets_values": []
},
{
"id": 12,
"type": "AdachiExclusiveSwitch",
"pos": [
-350,
110
],
"size": [
270,
80
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "input_a",
"shape": 7,
"type": "*",
"link": 5
},
{
"name": "input_b",
"shape": 7,
"type": "*",
"link": 6
}
],
"outputs": [
{
"name": "output",
"type": "*",
"links": [
10,
13
]
}
],
"title": "Active positive condition",
"properties": {
"Node name for S&R": "AdachiExclusiveSwitch"
},
"widgets_values": [
-1
]
},
{
"id": 13,
"type": "AdachiExclusiveSwitch",
"pos": [
-350,
260
],
"size": [
270,
80
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "input_a",
"shape": 7,
"type": "*",
"link": 7
},
{
"name": "input_b",
"shape": 7,
"type": "*",
"link": 8
}
],
"outputs": [
{
"name": "output",
"type": "*",
"links": [
11,
14
]
}
],
"title": "Active negative condition",
"properties": {
"Node name for S&R": "AdachiExclusiveSwitch"
},
"widgets_values": [
-1
]
},
{
"id": 14,
"type": "AdachiExclusiveSwitch",
"pos": [
1850,
250
],
"size": [
270,
80
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "input_a",
"shape": 7,
"type": "*",
"link": 23
},
{
"name": "input_b",
"shape": 7,
"type": "*",
"link": 24
}
],
"outputs": [
{
"name": "output",
"type": "*",
"links": [
25
]
}
],
"title": "Active output image",
"properties": {
"Node name for S&R": "AdachiExclusiveSwitch"
},
"widgets_values": [
-1
]
},
{
"id": 15,
"type": "SaveImage",
"pos": [
2210,
250
],
"size": [
340,
280
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 25
},
{
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
},
"link": null
}
],
"outputs": [],
"title": "Save active result",
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"Adachi_Workbench"
]
},
{
"id": 16,
"type": "AdachiGroupPresets",
"pos": [
-850,
-500
],
"size": [
620,
360
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Choose generation mode",
"properties": {
"Node name for S&R": "AdachiGroupPresets",
"adachi_group_detail_hidden": true,
"adachi_group_presets": {
"version": 1,
"activeId": "text-to-image",
"presets": [
{
"id": "text-to-image",
"name": "Text to image",
"groups": {
"group:1": {
"mode": 0,
"title": "Text to image"
},
"group:2": {
"mode": 4,
"title": "Inpaint"
}
}
},
{
"id": "inpaint",
"name": "Inpaint",
"groups": {
"group:1": {
"mode": 4,
"title": "Text to image"
},
"group:2": {
"mode": 0,
"title": "Inpaint"
}
}
}
]
}
}
},
{
"id": 17,
"type": "Note",
"pos": [
-850,
200
],
"size": [
430,
500
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Start here",
"properties": {
"Node name for S&R": "Note"
},
"widgets_values": [
"ADACHI WORKBENCH — OFFICIAL EXAMPLE\n\n1. Select an installed checkpoint. Replace the placeholder with one installed checkpoint. Use a compatible standard image checkpoint with CLIP and VAE.\n\n2. Text to image: select the matching group preset, edit its prompts and image size, then Queue. SaveImage receives only the active branch.\n\n3. Inpaint: upload or drop an image into Inline Mask, paint a mask, select the Inpaint preset, and Queue. Or open the web workspace from Adachi Inpaint Workbench.\n\n4. Compare before and after in Image Compare. Adopt sends the chosen result back to the editor; the existing mask is preserved for the same region. Download a generated image to use it as a new source.\n\n5. Inline Mask also supports Crop + Blend. Choose a crop, paint inside it, generate, then blend the returned patch before applying. Hover over controls for shortcuts.\n\nOnly one preset branch must be enabled. Common switches, checkpoint loader and SaveImage stay outside both groups. No third-party node pack or LoRA is needed."
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
1,
1,
1,
2,
0,
"CLIP"
],
[
2,
1,
1,
3,
0,
"CLIP"
],
[
3,
1,
1,
8,
0,
"CLIP"
],
[
4,
1,
1,
9,
0,
"CLIP"
],
[
5,
2,
0,
12,
0,
"CONDITIONING"
],
[
6,
8,
0,
12,
1,
"CONDITIONING"
],
[
7,
3,
0,
13,
0,
"CONDITIONING"
],
[
8,
9,
0,
13,
1,
"CONDITIONING"
],
[
9,
1,
0,
5,
0,
"MODEL"
],
[
10,
12,
0,
5,
1,
"CONDITIONING"
],
[
11,
13,
0,
5,
2,
"CONDITIONING"
],
[
12,
1,
0,
10,
0,
"MODEL"
],
[
13,
12,
0,
10,
1,
"CONDITIONING"
],
[
14,
13,
0,
10,
2,
"CONDITIONING"
],
[
15,
4,
0,
5,
3,
"LATENT"
],
[
16,
5,
0,
6,
0,
"LATENT"
],
[
17,
1,
2,
6,
1,
"VAE"
],
[
18,
1,
2,
10,
3,
"VAE"
],
[
19,
7,
0,
10,
4,
"IMAGE"
],
[
20,
7,
1,
10,
5,
"MASK"
],
[
21,
7,
0,
11,
0,
"IMAGE"
],
[
22,
10,
0,
11,
1,
"IMAGE"
],
[
23,
6,
0,
14,
0,
"IMAGE"
],
[
24,
11,
0,
14,
1,
"IMAGE"
],
[
25,
14,
0,
15,
0,
"IMAGE"
]
],
"groups": [
{
"id": 1,
"title": "Text to image",
"bounding": [
0,
-410,
1740,
710
],
"color": "#3f789e",
"font_size": 30,
"flags": {}
},
{
"id": 2,
"title": "Inpaint",
"bounding": [
0,
440,
1740,
1300
],
"color": "#7d6aa4",
"font_size": 30,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.37,
"offset": [
1050,
650
]
}
},
"version": 0.4
}