Files
2026-06-07 20:50:19 -07:00

2070 lines
42 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "73611c02-cdf1-4ae8-a41a-d9c057e201ed",
"revision": 0,
"last_node_id": 123,
"last_link_id": 169,
"nodes": [
{
"id": 92,
"type": "CLIPLoader",
"pos": [
9830.999355273872,
-676.00017396611
],
"size": [
270,
98
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
143
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"enableTabs": false,
"hasSecondTab": false,
"models": [
{
"name": "qwen_3_4b.safetensors",
"url": "https://huggingface.co/hanzoui/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
"directory": "text_encoders"
}
],
"secondTabOffset": 80,
"secondTabText": "Send Back",
"secondTabWidth": 65,
"tabWidth": 65,
"tabXOffset": 10,
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_4b.safetensors",
"lumina2",
"default"
]
},
{
"id": 93,
"type": "VAELoader",
"pos": [
9830.999355273872,
-526.0000799492643
],
"size": [
270,
50
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
137,
149,
157
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"enableTabs": false,
"hasSecondTab": false,
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/hanzoui/z_image_turbo/resolve/main/split_files/vae/ae.safetensors",
"directory": "vae"
}
],
"secondTabOffset": 80,
"secondTabText": "Send Back",
"secondTabWidth": 65,
"tabWidth": 65,
"tabXOffset": 10,
"ver": "0.3.73"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 96,
"type": "DifferentialDiffusion",
"pos": [
10920.352801650339,
-697.7560762223355
],
"size": [
310,
50
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 139
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
162
]
}
],
"properties": {
"Node name for S&R": "DifferentialDiffusion"
},
"widgets_values": [
1
]
},
{
"id": 98,
"type": "ModelSamplingAuraFlow",
"pos": [
10920.352801650339,
-807.7559144960173
],
"size": [
310,
50
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 142
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
139
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingAuraFlow",
"cnr_id": "comfy-core",
"enableTabs": false,
"hasSecondTab": false,
"secondTabOffset": 80,
"secondTabText": "Send Back",
"secondTabWidth": 65,
"tabWidth": 65,
"tabXOffset": 10,
"ver": "0.3.64"
},
"widgets_values": [
3
]
},
{
"id": 105,
"type": "InpaintModelConditioning",
"pos": [
10170.352764076119,
-807.7559144960173
],
"size": [
270,
130
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 147
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 148
},
{
"name": "vae",
"type": "VAE",
"link": 149
},
{
"name": "pixels",
"type": "IMAGE",
"link": 150
},
{
"name": "mask",
"type": "MASK",
"link": 151
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
163
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
164
]
},
{
"name": "latent",
"type": "LATENT",
"links": [
165
]
}
],
"properties": {
"Node name for S&R": "InpaintModelConditioning"
},
"widgets_values": [
true
]
},
{
"id": 115,
"type": "MarkdownNote",
"pos": [
12160.35121446821,
-907.7561213439177
],
"size": [
96.8359375,
0
],
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Hit run 👆",
"properties": {},
"widgets_values": [
""
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 101,
"type": "UNETLoader",
"pos": [
9830.999355273872,
-806.0001401113736
],
"size": [
270,
74
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
155
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"enableTabs": false,
"hasSecondTab": false,
"models": [
{
"name": "z_image_turbo_bf16.safetensors",
"url": "https://huggingface.co/hanzoui/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors",
"directory": "diffusion_models"
}
],
"secondTabOffset": 80,
"secondTabText": "Send Back",
"secondTabWidth": 65,
"tabWidth": 65,
"tabXOffset": 10,
"ver": "0.3.73"
},
"widgets_values": [
"z_image_turbo_bf16.safetensors",
"default"
]
},
{
"id": 110,
"type": "PreviewImage",
"pos": [
10520.999009233346,
-386.00004986820966
],
"size": [
330,
246
],
"flags": {
"collapsed": false
},
"order": 21,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 161
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 109,
"type": "ZImageFunControlnet",
"pos": [
10520.999009233346,
-806.0001401113736
],
"size": [
320,
150
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 155
},
{
"name": "model_patch",
"type": "MODEL_PATCH",
"link": 156
},
{
"name": "vae",
"type": "VAE",
"link": 157
},
{
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 158
},
{
"name": "inpaint_image",
"shape": 7,
"type": "IMAGE",
"link": 159
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 160
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
142
]
}
],
"properties": {
"Node name for S&R": "ZImageFunControlnet"
},
"widgets_values": [
1
]
},
{
"id": 104,
"type": "AIO_Preprocessor",
"pos": [
10520.999009233346,
-516.0000160134733
],
"size": [
330,
74
],
"flags": {},
"order": 17,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 146
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
158,
161
]
}
],
"properties": {
"Node name for S&R": "AIO_Preprocessor"
},
"widgets_values": [
"DepthAnythingV2Preprocessor",
1024
]
},
{
"id": 111,
"type": "MarkdownNote",
"pos": [
10500.351846387155,
-47.75613736851483
],
"size": [
370,
307.47395833333337
],
"flags": {
"collapsed": false
},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "optional",
"properties": {},
"widgets_values": [
"## Controlnet Preprocessor\n\n**Preprocess inputs** if needed: extract features like canny edges or depth from an image to create clean guidance signals for ControlNet.\n\n1. Un/bypass Controlnet Preprocessor nodes(Select nodes then Ctrl-B).\n2. Disconnect inpaint_image & mask from ZImageFunControlnet when.\n3. Hit run\n4. Explore a different prompt 👾\n\n**Controlnet Strength**\n\nstrength: 0.5 – 1.5\n- higher for strict adherence\n- 1.0 default for balanced control)"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 114,
"type": "MarkdownNote",
"pos": [
11280.998678233347,
-1136.0000874424286
],
"size": [
290,
165.15625
],
"flags": {
"collapsed": false
},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Workflow Settings",
"properties": {},
"widgets_values": [
"You can test and find the best setting by yourself. The following table is for reference.\n| Parameters | Basic Diffusion | Inpainting |\n|--------|---------|------------\n| Ksampler: denoise | 1.0 | 0.5 - 1.0 \nModelSampling: shift | 3.0 | 3.0 - 10.0 |"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 116,
"type": "MarkdownNote",
"pos": [
9480.999280071235,
-1126.00013163414
],
"size": [
290,
233.64583333333337
],
"flags": {
"collapsed": false
},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Step 1 - Load Images & Create Mask",
"properties": {},
"widgets_values": [
"## Load Image\n\n1. Load the Image 🌠\n\n## Create Mask\n\n1. **Right-click** on the Load Image node to open right-click menu\n\n2. Choose Open in Mask Editor\n\n3. Draw mask over the eyes\n\n4. Save Mask\n\n5. **Hit Run**"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 117,
"type": "MarkdownNote",
"pos": [
9160.998964165963,
-686.0000216468962
],
"size": [
280,
237.64322916666669
],
"flags": {
"collapsed": false
},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🔍 Core Concept",
"properties": {},
"widgets_values": [
"## Inpainting\n\nInpainting lets you edit specific image parts by regenerating them via a mask and prompt, while keeping the rest intact.\nIt predicts denoised pixels only in masked areas, blending with surrounding context.\n\n## ControlNet\n\nControlNet adds structural guides like edges or poses to direct generation alongside the prompt.\nIt conditions denoising to match provided hints."
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 121,
"type": "MarkdownNote",
"pos": [
9160.998964165963,
-856.0000272803192
],
"size": [
280,
52
],
"flags": {
"collapsed": false
},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "ℹ️ Info",
"properties": {},
"widgets_values": [
"This is an **Inpainting** & **Controlnet** workflow for advanced guidance in diffusion models using Z Image Turbo."
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 106,
"type": "MaskPreview",
"pos": [
9490.998911497016,
-366.00003012413003
],
"size": [
270,
246
],
"flags": {
"collapsed": false
},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 152
}
],
"outputs": [],
"properties": {
"Node name for S&R": "MaskPreview"
},
"widgets_values": []
},
{
"id": 108,
"type": "b2b04275-4dea-49ba-a3fd-ce0b2f1e39dc",
"pos": [
9500.999407942818,
-426.0000893563687
],
"size": [
112.861328125,
0
],
"flags": {
"collapsed": true
},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 153
},
{
"name": "mask",
"type": "MASK",
"link": 154
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
146,
150,
159
]
},
{
"name": "MASK",
"type": "MASK",
"links": [
151,
152,
160
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"width"
],
[
"-1",
"height"
],
[
"-1",
"method"
]
]
},
"widgets_values": [
1024,
1024,
"keep proportion"
]
},
{
"id": 103,
"type": "ModelPatchLoader",
"pos": [
9830.999355273872,
-416.0000254205777
],
"size": [
270,
50
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL_PATCH",
"type": "MODEL_PATCH",
"links": [
156
]
}
],
"properties": {
"Node name for S&R": "ModelPatchLoader",
"models": [
{
"name": "Z-Image-Turbo-Fun-Controlnet-Union-2.1.safetensors",
"url": "https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union-2.0/resolve/main/Z-Image-Turbo-Fun-Controlnet-Union-2.1.safetensors",
"directory": "model_patches"
}
]
},
"widgets_values": [
"Z-Image-Turbo-Fun-Controlnet-Union-2.1.safetensors"
]
},
{
"id": 120,
"type": "MarkdownNote",
"pos": [
10160.353132650338,
-1047.7561514249724
],
"size": [
300,
140
],
"flags": {
"collapsed": false
},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Step 2 - Inpaint Conditioning",
"properties": {},
"widgets_values": [
"## Inpaint Model Conditioning\n\n**Condition the model for targeted edits:** combine positive/negative prompts with the masked latent image and VAE to focus denoising on selected areas."
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 119,
"type": "MarkdownNote",
"pos": [
10500.351846387155,
-1047.7561514249724
],
"size": [
370,
120
],
"flags": {
"collapsed": false
},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Step 3 - Controlnet 🕹️",
"properties": {},
"widgets_values": [
"## Controlnet\n\n**Apply structural controls:** load a ControlNet model (e.g. Z-Image-Turbo-Fun-Controlnet-Union.safetensors) and integrate it into the conditioning to guide shapes during generation."
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 113,
"type": "MarkdownNote",
"pos": [
10910.999340179147,
-1226.0001222270355
],
"size": [
330,
290
],
"flags": {
"collapsed": false
},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Step 4 - Sampling 🖼️",
"properties": {},
"widgets_values": [
"## Differential Diffusion - The star of inpainting 🌟\n\nDifferential diffusion boosts diffusion-based image editing with per-pixel \"strength\" maps for smooth, gradual, and spatially varying changes — no model retraining required.\n\n## KSampler - The heart of inference\n\n**Inpainting Strength**\n\nDenoise: 0.5 – 1.0\n\n- lower for subtle changes\n- full for complete redraws"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 107,
"type": "LoadImage",
"pos": [
9490.998911497016,
-786.0000122397917
],
"size": [
282.78645833333337,
314
],
"flags": {
"collapsed": false
},
"order": 13,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
153,
167
]
},
{
"name": "MASK",
"type": "MASK",
"links": [
154
]
}
],
"properties": {
"Node name for S&R": "LoadImage",
"image": "52ead0565329bdb6154ba1ac2db4e5bb3603341976a59f80ca1638854c83573c.png [input]"
},
"widgets_values": [
"gsc_creator_2_2_input.png",
"image"
]
},
{
"id": 94,
"type": "VAEDecode",
"pos": [
11300.351771130318,
-807.7559144960173
],
"size": [
200,
46
],
"flags": {
"collapsed": false
},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 136
},
{
"name": "vae",
"type": "VAE",
"link": 137
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
144,
168
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"enableTabs": false,
"hasSecondTab": false,
"secondTabOffset": 80,
"secondTabText": "Send Back",
"secondTabWidth": 65,
"tabWidth": 65,
"tabXOffset": 10,
"ver": "0.3.64"
},
"widgets_values": []
},
{
"id": 100,
"type": "SaveImage",
"pos": [
11310,
-710
],
"size": [
550,
420
],
"flags": {
"collapsed": false
},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 144
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"Z-Image-Turbo"
]
},
{
"id": 112,
"type": "KSampler",
"pos": [
10920.352801650339,
-597.7560856294401
],
"size": [
310,
486
],
"flags": {
"collapsed": false
},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 162
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 163
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 164
},
{
"name": "latent_image",
"type": "LATENT",
"link": 165
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
136
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"enableTabs": false,
"hasSecondTab": false,
"secondTabOffset": 80,
"secondTabText": "Send Back",
"secondTabWidth": 65,
"tabWidth": 65,
"tabXOffset": 10,
"ver": "0.3.64"
},
"widgets_values": [
467616719697168,
"randomize",
9,
1,
"res_multistep",
"simple",
1
]
},
{
"id": 122,
"type": "ImageStitch",
"pos": [
11920,
-790
],
"size": [
270,
150
],
"flags": {
"collapsed": true
},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 167
},
{
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 168
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
169
]
}
],
"properties": {
"Node name for S&R": "ImageStitch"
},
"widgets_values": [
"down",
true,
0,
"white"
]
},
{
"id": 123,
"type": "PreviewImage",
"pos": [
11920,
-730
],
"size": [
460,
520
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 169
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 99,
"type": "CLIPTextEncode",
"pos": [
10170.99893403071,
-536.0000357575528
],
"size": [
280,
230
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 143
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
138,
147
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"enableTabs": false,
"hasSecondTab": false,
"secondTabOffset": 80,
"secondTabText": "Send Back",
"secondTabWidth": 65,
"tabWidth": 65,
"tabXOffset": 10,
"ver": "0.3.73"
},
"widgets_values": [
"sunglasses."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 95,
"type": "ConditioningZeroOut",
"pos": [
10211.000054793893,
-176.0000047466276
],
"size": [
230,
40
],
"flags": {
"collapsed": false
},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 138
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
148
]
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"cnr_id": "comfy-core",
"enableTabs": false,
"hasSecondTab": false,
"secondTabOffset": 80,
"secondTabText": "Send Back",
"secondTabWidth": 65,
"tabWidth": 65,
"tabXOffset": 10,
"ver": "0.3.73"
},
"widgets_values": []
}
],
"links": [
[
136,
112,
0,
94,
0,
"LATENT"
],
[
137,
93,
0,
94,
1,
"VAE"
],
[
138,
99,
0,
95,
0,
"CONDITIONING"
],
[
139,
98,
0,
96,
0,
"MODEL"
],
[
142,
109,
0,
98,
0,
"MODEL"
],
[
143,
92,
0,
99,
0,
"CLIP"
],
[
144,
94,
0,
100,
0,
"IMAGE"
],
[
146,
108,
0,
104,
0,
"IMAGE"
],
[
147,
99,
0,
105,
0,
"CONDITIONING"
],
[
148,
95,
0,
105,
1,
"CONDITIONING"
],
[
149,
93,
0,
105,
2,
"VAE"
],
[
150,
108,
0,
105,
3,
"IMAGE"
],
[
151,
108,
1,
105,
4,
"MASK"
],
[
152,
108,
1,
106,
0,
"MASK"
],
[
153,
107,
0,
108,
0,
"IMAGE"
],
[
154,
107,
1,
108,
1,
"MASK"
],
[
155,
101,
0,
109,
0,
"MODEL"
],
[
156,
103,
0,
109,
1,
"MODEL_PATCH"
],
[
157,
93,
0,
109,
2,
"VAE"
],
[
158,
104,
0,
109,
3,
"IMAGE"
],
[
159,
108,
0,
109,
4,
"IMAGE"
],
[
160,
108,
1,
109,
5,
"MASK"
],
[
161,
104,
0,
110,
0,
"IMAGE"
],
[
162,
96,
0,
112,
0,
"MODEL"
],
[
163,
105,
0,
112,
1,
"CONDITIONING"
],
[
164,
105,
1,
112,
2,
"CONDITIONING"
],
[
165,
105,
2,
112,
3,
"LATENT"
],
[
167,
107,
0,
122,
0,
"IMAGE"
],
[
168,
94,
0,
122,
1,
"IMAGE"
],
[
169,
122,
0,
123,
0,
"IMAGE"
]
],
"groups": [
{
"id": 23,
"title": "Prompt",
"bounding": [
10158.669728314464,
-617.0000383711965,
300,
520
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 24,
"title": "Load models",
"bounding": [
9818.669728314464,
-887.0000383711965,
300,
790
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 25,
"title": "Sampling",
"bounding": [
10908.669728314462,
-887.0000383711965,
330,
790
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 26,
"title": "Decode & Save the Image",
"bounding": [
11278.669728314464,
-887.0000383711965,
1140,
790
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 27,
"title": "Load Images",
"bounding": [
9478.669728314464,
-887.0000383711965,
300,
790
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 28,
"title": "Controlnet Preprocessor",
"bounding": [
10498.669728314464,
-617.0000383711965,
370,
520
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 29,
"title": "Controlnet",
"bounding": [
10498.669728314464,
-887.0000383711965,
370,
250
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 30,
"title": "Inpaint Conditioning",
"bounding": [
10158.669728314464,
-887.0000383711965,
300,
250
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"definitions": {
"subgraphs": [
{
"id": "b2b04275-4dea-49ba-a3fd-ce0b2f1e39dc",
"version": 1,
"state": {
"lastGroupId": 14,
"lastNodeId": 184,
"lastLinkId": 266,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Resize Image",
"inputNode": {
"id": -10,
"bounding": [
8555.985538346582,
-1276.709184061327,
120,
140
]
},
"outputNode": {
"id": -20,
"bounding": [
9573.192660289293,
-1276.709184061327,
120,
80
]
},
"inputs": [
{
"id": "7601bdcf-7bd6-453d-b969-9804366d7184",
"name": "image",
"type": "IMAGE",
"linkIds": [
250
],
"localized_name": "image",
"pos": [
8655.985538346582,
-1256.709184061327
]
},
{
"id": "94c9e40d-c35a-4d1c-ac1f-f45f0c8e6143",
"name": "mask",
"type": "MASK",
"linkIds": [
255
],
"localized_name": "mask",
"pos": [
8655.985538346582,
-1236.709184061327
]
},
{
"id": "76465456-267f-4f27-b803-b3fac6262e8a",
"name": "width",
"type": "INT",
"linkIds": [
261,
263
],
"pos": [
8655.985538346582,
-1216.709184061327
]
},
{
"id": "c18ac45d-30cc-4f31-b4f9-0427e17ed347",
"name": "height",
"type": "INT",
"linkIds": [
262,
264
],
"pos": [
8655.985538346582,
-1196.709184061327
]
},
{
"id": "ca8ec836-0f82-4c34-b77e-33e4fa417ac6",
"name": "method",
"type": "COMBO",
"linkIds": [
265,
266
],
"pos": [
8655.985538346582,
-1176.709184061327
]
}
],
"outputs": [
{
"id": "dde771bb-77cb-4300-a3a5-535932f4eff9",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
251,
252,
253,
254
],
"localized_name": "IMAGE",
"pos": [
9593.192660289293,
-1256.709184061327
]
},
{
"id": "d2e8ad8f-a263-44bf-b228-22e2012bf6d9",
"name": "MASK",
"type": "MASK",
"linkIds": [
258,
259,
260
],
"localized_name": "MASK",
"pos": [
9593.192660289293,
-1236.709184061327
]
}
],
"widgets": [],
"nodes": [
{
"id": 184,
"type": "ImageToMask",
"pos": [
9243.192660289293,
-1200.5179078739154
],
"size": [
270,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 257
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [
258,
259,
260
]
}
],
"properties": {
"Node name for S&R": "ImageToMask"
},
"widgets_values": [
"red"
]
},
{
"id": 182,
"type": "ImageResize+",
"pos": [
8952.393920913195,
-1201.2660931961534
],
"size": [
270,
217.99999999999997
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 256
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 263
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 264
},
{
"localized_name": "method",
"name": "method",
"type": "COMBO",
"widget": {
"name": "method"
},
"link": 265
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
257
]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
1024,
1024,
"lanczos",
"keep proportion",
"always",
0
]
},
{
"id": 181,
"type": "ImageResize+",
"pos": [
8951.581050492361,
-1460.1522749265007
],
"size": [
270,
217.99999999999997
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 250
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 261
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 262
},
{
"localized_name": "method",
"name": "method",
"type": "COMBO",
"widget": {
"name": "method"
},
"link": 266
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
251,
252,
253,
254
]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
1024,
1024,
"lanczos",
"keep proportion",
"always",
0
]
},
{
"id": 183,
"type": "MaskToImage",
"pos": [
8700,
-1190
],
"size": [
210,
26
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 255
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
256
]
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
}
],
"groups": [],
"links": [
{
"id": 256,
"origin_id": 183,
"origin_slot": 0,
"target_id": 182,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 257,
"origin_id": 182,
"origin_slot": 0,
"target_id": 184,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 250,
"origin_id": -10,
"origin_slot": 0,
"target_id": 181,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 255,
"origin_id": -10,
"origin_slot": 1,
"target_id": 183,
"target_slot": 0,
"type": "MASK"
},
{
"id": 251,
"origin_id": 181,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 252,
"origin_id": 181,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 253,
"origin_id": 181,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 254,
"origin_id": 181,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 258,
"origin_id": 184,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "MASK"
},
{
"id": 259,
"origin_id": 184,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "MASK"
},
{
"id": 260,
"origin_id": 184,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "MASK"
},
{
"id": 261,
"origin_id": -10,
"origin_slot": 2,
"target_id": 181,
"target_slot": 1,
"type": "INT"
},
{
"id": 262,
"origin_id": -10,
"origin_slot": 3,
"target_id": 181,
"target_slot": 2,
"type": "INT"
},
{
"id": 263,
"origin_id": -10,
"origin_slot": 2,
"target_id": 182,
"target_slot": 1,
"type": "INT"
},
{
"id": 264,
"origin_id": -10,
"origin_slot": 3,
"target_id": 182,
"target_slot": 2,
"type": "INT"
},
{
"id": 265,
"origin_id": -10,
"origin_slot": 4,
"target_id": 182,
"target_slot": 3,
"type": "COMBO"
},
{
"id": 266,
"origin_id": -10,
"origin_slot": 4,
"target_id": 181,
"target_slot": 3,
"type": "COMBO"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"VHS_KeepIntermediate": true,
"VHS_MetadataImage": true,
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"frontendVersion": "1.38.12",
"workflowRendererVersion": "LG",
"ds": {
"scale": 0.37885893368578794,
"offset": [
-8655.062917719497,
1749.1132348082585
]
}
},
"version": 0.4
}