Files
aigc-home/docs/hel-892/zimage-inpaint-document-evidence/independent-inventory.json
T
2026-10-31 10:00:20 +08:00

3325 lines
70 KiB
JSON

{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505",
"git_blob_sha1": "6341462e83cf0b8063c259e5b07f7453728fdf7c",
"fields": [
{
"node": 45,
"pointer": "/nodes/0/widgets_values/0",
"value": "遮罩区域替换成葡萄",
"json_type": "str",
"scope": "root"
},
{
"node": 75,
"pointer": "/nodes/1/widgets_values/0",
"value": "",
"json_type": "str",
"scope": "root"
},
{
"node": 48,
"pointer": "/nodes/2/widgets_values/0",
"value": "ZImage\\Z-Image-Fun-Lora-Distill-8-Steps-2603-ComfyUI.safetensors",
"json_type": "str",
"scope": "root"
},
{
"node": 48,
"pointer": "/nodes/2/widgets_values/1",
"value": 1,
"json_type": "int",
"scope": "root"
},
{
"node": 57,
"pointer": "/nodes/4/widgets_values/0",
"value": "clipspace/clipspace-painted-masked-1775894574158.png [input]",
"json_type": "str",
"scope": "root"
},
{
"node": 57,
"pointer": "/nodes/4/widgets_values/1",
"value": "image",
"json_type": "str",
"scope": "root"
},
{
"node": 46,
"pointer": "/nodes/5/widgets_values/0",
"value": "Z-Image\\z_image_bf16.safetensors",
"json_type": "str",
"scope": "root"
},
{
"node": 46,
"pointer": "/nodes/5/widgets_values/1",
"value": "default",
"json_type": "str",
"scope": "root"
},
{
"node": 39,
"pointer": "/nodes/6/widgets_values/0",
"value": "qwen_3_4b.safetensors",
"json_type": "str",
"scope": "root"
},
{
"node": 39,
"pointer": "/nodes/6/widgets_values/1",
"value": "lumina2",
"json_type": "str",
"scope": "root"
},
{
"node": 39,
"pointer": "/nodes/6/widgets_values/2",
"value": "default",
"json_type": "str",
"scope": "root"
},
{
"node": 40,
"pointer": "/nodes/7/widgets_values/0",
"value": "ae.safetensors",
"json_type": "str",
"scope": "root"
},
{
"node": 47,
"pointer": "/nodes/8/widgets_values/0",
"value": 3,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/0",
"value": "enable",
"json_type": "str",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/1",
"value": 0,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/2",
"value": "fixed",
"json_type": "str",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/3",
"value": 8,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/4",
"value": 1,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/5",
"value": "euler",
"json_type": "str",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/6",
"value": "simple",
"json_type": "str",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/7",
"value": 0,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/8",
"value": 10000,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/9",
"value": "disable",
"json_type": "str",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/10",
"value": 3,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/11",
"value": 8,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/12",
"value": 0.05,
"json_type": "float",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/13",
"value": 1,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/14",
"value": 25,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/15",
"value": "Image First",
"json_type": "str",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/16",
"value": 1,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/17",
"value": "LanPaint KSampler Adv. For more info, visit https://github.com/scraed/LanPaint. If you find it useful, please give a star ⭐️!",
"json_type": "str",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/18",
"value": "🖼️ Image Inpainting",
"json_type": "str",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/19",
"value": 0,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/20",
"value": 1,
"json_type": "int",
"scope": "root"
},
{
"node": 76,
"pointer": "/nodes/9/widgets_values/21",
"value": "lanpaint_star_button",
"json_type": "str",
"scope": "root"
},
{
"node": 61,
"pointer": "/nodes/12/widgets_values/0",
"value": "ComfyUI",
"json_type": "str",
"scope": "root"
},
{
"node": 60,
"pointer": "/nodes/14/widgets_values/0",
"value": 9,
"json_type": "int",
"scope": "root"
},
{
"node": 81,
"pointer": "/nodes/15/widgets_values/0",
"value": "original",
"json_type": "str",
"scope": "root"
},
{
"node": 81,
"pointer": "/nodes/15/widgets_values/1",
"value": 1,
"json_type": "int",
"scope": "root"
},
{
"node": 81,
"pointer": "/nodes/15/widgets_values/2",
"value": 1,
"json_type": "int",
"scope": "root"
},
{
"node": 81,
"pointer": "/nodes/15/widgets_values/3",
"value": "letterbox",
"json_type": "str",
"scope": "root"
},
{
"node": 81,
"pointer": "/nodes/15/widgets_values/4",
"value": "lanczos",
"json_type": "str",
"scope": "root"
},
{
"node": 81,
"pointer": "/nodes/15/widgets_values/5",
"value": "8",
"json_type": "str",
"scope": "root"
},
{
"node": 81,
"pointer": "/nodes/15/widgets_values/6",
"value": "longest",
"json_type": "str",
"scope": "root"
},
{
"node": 81,
"pointer": "/nodes/15/widgets_values/7",
"value": 1280,
"json_type": "int",
"scope": "root"
},
{
"node": 81,
"pointer": "/nodes/15/widgets_values/8",
"value": "#000000",
"json_type": "str",
"scope": "root"
},
{
"node": 87,
"pointer": "/nodes/21/widgets_values/0",
"value": [
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_crjut_00001_.png&type=temp&subfolder=&rand=0.36581208706138946"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_crjut_00002_.png&type=temp&subfolder=&rand=0.046847551726149295"
}
],
"json_type": "list",
"scope": "root"
}
],
"empty": [
{
"node": 84,
"pointer": "/nodes/11",
"state": "missing"
},
{
"node": 43,
"pointer": "/nodes/13",
"state": "empty_list"
},
{
"node": 58,
"pointer": "/nodes/16",
"state": "empty_list"
},
{
"node": 59,
"pointer": "/nodes/17",
"state": "empty_list"
},
{
"node": 91,
"pointer": "/nodes/18",
"state": "missing"
},
{
"node": 92,
"pointer": "/nodes/19",
"state": "missing"
},
{
"node": 82,
"pointer": "/nodes/20",
"state": "empty_list"
}
],
"notes": [
{
"node": 83,
"pointer": "/nodes/3/widgets_values/0",
"text": "右键编辑遮罩"
},
{
"node": 35,
"pointer": "/nodes/10/widgets_values/0",
"text": "## Report workflow issue\n\nIf you found any issues when running this workflow, [report template issue here](https://github.com/Comfy-Org/workflow_templates/issues)\n\n\n## Model links\n\n**text_encoders**\n\n- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors)\n\n**loras**\n\n- [pixel_art_style_z_image_turbo.safetensors](https://huggingface.co/tarn59/pixel_art_style_lora_z_image_turbo/resolve/main/pixel_art_style_z_image_turbo.safetensors)\n\n**diffusion_models**\n\n- [z_image_turbo_bf16.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_4b.safetensors\n│ ├── 📂 loras/\n│ │ └── pixel_art_style_z_image_turbo.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── z_image_turbo_bf16.safetensors\n│ └── 📂 vae/\n│ └── ae.safetensors\n```\n"
}
],
"scopes": [
{
"nodes": 22,
"edges": 25,
"modes": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"named_nodes": 0
}
],
"slots": [
{
"pointer": "/nodes/0/inputs/0",
"state": "value",
"original": {
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 44
}
},
{
"pointer": "/nodes/0/inputs/1",
"state": "null",
"original": {
"localized_name": "文本",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
},
{
"pointer": "/nodes/0/outputs/0",
"state": "value",
"original": {
"localized_name": "条件",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
101
]
}
},
{
"pointer": "/nodes/1/inputs/0",
"state": "value",
"original": {
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 98
}
},
{
"pointer": "/nodes/1/inputs/1",
"state": "null",
"original": {
"localized_name": "文本",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
},
{
"pointer": "/nodes/1/outputs/0",
"state": "value",
"original": {
"localized_name": "条件",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
102
]
}
},
{
"pointer": "/nodes/2/inputs/0",
"state": "value",
"original": {
"localized_name": "模型",
"name": "model",
"type": "MODEL",
"link": 54
}
},
{
"pointer": "/nodes/2/inputs/1",
"state": "null",
"original": {
"localized_name": "LoRA名称",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": null
}
},
{
"pointer": "/nodes/2/inputs/2",
"state": "null",
"original": {
"localized_name": "模型强度",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
},
"link": null
}
},
{
"pointer": "/nodes/2/outputs/0",
"state": "value",
"original": {
"localized_name": "模型",
"name": "MODEL",
"type": "MODEL",
"links": [
60
]
}
},
{
"pointer": "/nodes/4/inputs/0",
"state": "null",
"original": {
"localized_name": "图像",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
}
},
{
"pointer": "/nodes/4/inputs/1",
"state": "null",
"original": {
"localized_name": "选择文件上传",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
},
{
"pointer": "/nodes/4/outputs/0",
"state": "value",
"original": {
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
109
]
}
},
{
"pointer": "/nodes/4/outputs/1",
"state": "value",
"original": {
"localized_name": "遮罩",
"name": "MASK",
"type": "MASK",
"links": [
110
]
}
},
{
"pointer": "/nodes/5/inputs/0",
"state": "null",
"original": {
"localized_name": "UNet名称",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": null
}
},
{
"pointer": "/nodes/5/inputs/1",
"state": "null",
"original": {
"localized_name": "数据类型",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
},
{
"pointer": "/nodes/5/outputs/0",
"state": "value",
"original": {
"localized_name": "模型",
"name": "MODEL",
"type": "MODEL",
"links": [
54
]
}
},
{
"pointer": "/nodes/6/inputs/0",
"state": "null",
"original": {
"localized_name": "CLIP名称",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": null
}
},
{
"pointer": "/nodes/6/inputs/1",
"state": "null",
"original": {
"localized_name": "类型",
"name": "type",
"type": "COMBO",
"widget": {
"name": "type"
},
"link": null
}
},
{
"pointer": "/nodes/6/inputs/2",
"state": "null",
"original": {
"localized_name": "设备",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
},
"link": null
}
},
{
"pointer": "/nodes/6/outputs/0",
"state": "value",
"original": {
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
44,
98
]
}
},
{
"pointer": "/nodes/7/inputs/0",
"state": "null",
"original": {
"localized_name": "vae名称",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": null
}
},
{
"pointer": "/nodes/7/outputs/0",
"state": "value",
"original": {
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
39,
70
]
}
},
{
"pointer": "/nodes/8/inputs/0",
"state": "value",
"original": {
"localized_name": "模型",
"name": "model",
"type": "MODEL",
"link": 60
}
},
{
"pointer": "/nodes/8/inputs/1",
"state": "null",
"original": {
"localized_name": "移位",
"name": "shift",
"type": "FLOAT",
"widget": {
"name": "shift"
},
"link": null
}
},
{
"pointer": "/nodes/8/outputs/0",
"state": "value",
"original": {
"localized_name": "模型",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
100
]
}
},
{
"pointer": "/nodes/9/inputs/0",
"state": "value",
"original": {
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 100
}
},
{
"pointer": "/nodes/9/inputs/1",
"state": "value",
"original": {
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 101
}
},
{
"pointer": "/nodes/9/inputs/2",
"state": "value",
"original": {
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 102
}
},
{
"pointer": "/nodes/9/inputs/3",
"state": "value",
"original": {
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 103
}
},
{
"pointer": "/nodes/9/inputs/4",
"state": "null",
"original": {
"localized_name": "add_noise",
"name": "add_noise",
"type": "COMBO",
"widget": {
"name": "add_noise"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/5",
"state": "null",
"original": {
"localized_name": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/6",
"state": "null",
"original": {
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/7",
"state": "null",
"original": {
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/8",
"state": "null",
"original": {
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/9",
"state": "null",
"original": {
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/10",
"state": "null",
"original": {
"localized_name": "start_at_step",
"name": "start_at_step",
"type": "INT",
"widget": {
"name": "start_at_step"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/11",
"state": "null",
"original": {
"localized_name": "end_at_step",
"name": "end_at_step",
"type": "INT",
"widget": {
"name": "end_at_step"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/12",
"state": "null",
"original": {
"localized_name": "return_with_leftover_noise",
"name": "return_with_leftover_noise",
"type": "COMBO",
"widget": {
"name": "return_with_leftover_noise"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/13",
"state": "null",
"original": {
"localized_name": "LanPaint_NumSteps",
"name": "LanPaint_NumSteps",
"type": "INT",
"widget": {
"name": "LanPaint_NumSteps"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/14",
"state": "null",
"original": {
"localized_name": "LanPaint_Lambda",
"name": "LanPaint_Lambda",
"type": "FLOAT",
"widget": {
"name": "LanPaint_Lambda"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/15",
"state": "null",
"original": {
"localized_name": "LanPaint_StepSize",
"name": "LanPaint_StepSize",
"type": "FLOAT",
"widget": {
"name": "LanPaint_StepSize"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/16",
"state": "null",
"original": {
"localized_name": "LanPaint_Beta",
"name": "LanPaint_Beta",
"type": "FLOAT",
"widget": {
"name": "LanPaint_Beta"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/17",
"state": "null",
"original": {
"localized_name": "LanPaint_Friction",
"name": "LanPaint_Friction",
"type": "FLOAT",
"widget": {
"name": "LanPaint_Friction"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/18",
"state": "null",
"original": {
"localized_name": "LanPaint_PromptMode",
"name": "LanPaint_PromptMode",
"type": "COMBO",
"widget": {
"name": "LanPaint_PromptMode"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/19",
"state": "null",
"original": {
"localized_name": "LanPaint_EarlyStop",
"name": "LanPaint_EarlyStop",
"type": "INT",
"widget": {
"name": "LanPaint_EarlyStop"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/20",
"state": "null",
"original": {
"localized_name": "LanPaint_Info",
"name": "LanPaint_Info",
"type": "STRING",
"widget": {
"name": "LanPaint_Info"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/21",
"state": "null",
"original": {
"localized_name": "Inpainting_mode",
"name": "Inpainting_mode",
"type": "COMBO",
"widget": {
"name": "Inpainting_mode"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/22",
"state": "null",
"original": {
"localized_name": "LanPaint_InnerThreshold",
"name": "LanPaint_InnerThreshold",
"type": "FLOAT",
"widget": {
"name": "LanPaint_InnerThreshold"
},
"link": null
}
},
{
"pointer": "/nodes/9/inputs/23",
"state": "null",
"original": {
"localized_name": "LanPaint_InnerPatience",
"name": "LanPaint_InnerPatience",
"type": "INT",
"widget": {
"name": "LanPaint_InnerPatience"
},
"link": null
}
},
{
"pointer": "/nodes/9/outputs/0",
"state": "value",
"original": {
"localized_name": "Latent",
"name": "LATENT",
"type": "LATENT",
"links": [
104
]
}
},
{
"pointer": "/nodes/12/inputs/0",
"state": "value",
"original": {
"localized_name": "图片",
"name": "images",
"type": "IMAGE",
"link": 72
}
},
{
"pointer": "/nodes/12/inputs/1",
"state": "null",
"original": {
"localized_name": "文件名前缀",
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
},
"link": null
}
},
{
"pointer": "/nodes/13/inputs/0",
"state": "value",
"original": {
"localized_name": "Latent",
"name": "samples",
"type": "LATENT",
"link": 104
}
},
{
"pointer": "/nodes/13/inputs/1",
"state": "value",
"original": {
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 39
}
},
{
"pointer": "/nodes/13/outputs/0",
"state": "value",
"original": {
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
73
]
}
},
{
"pointer": "/nodes/14/inputs/0",
"state": "value",
"original": {
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 126
}
},
{
"pointer": "/nodes/14/inputs/1",
"state": "value",
"original": {
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 73
}
},
{
"pointer": "/nodes/14/inputs/2",
"state": "value",
"original": {
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 127
}
},
{
"pointer": "/nodes/14/inputs/3",
"state": "null",
"original": {
"localized_name": "blend_overlap",
"name": "blend_overlap",
"type": "INT",
"widget": {
"name": "blend_overlap"
},
"link": null
}
},
{
"pointer": "/nodes/14/outputs/0",
"state": "value",
"original": {
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
72,
120
]
}
},
{
"pointer": "/nodes/15/inputs/0",
"state": "value",
"original": {
"localized_name": "图像",
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 109
}
},
{
"pointer": "/nodes/15/inputs/1",
"state": "value",
"original": {
"localized_name": "遮罩",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 110
}
},
{
"pointer": "/nodes/15/inputs/2",
"state": "null",
"original": {
"localized_name": "宽高比",
"name": "aspect_ratio",
"type": "COMBO",
"widget": {
"name": "aspect_ratio"
},
"link": null
}
},
{
"pointer": "/nodes/15/inputs/3",
"state": "null",
"original": {
"localized_name": "比例宽度",
"name": "proportional_width",
"type": "INT",
"widget": {
"name": "proportional_width"
},
"link": null
}
},
{
"pointer": "/nodes/15/inputs/4",
"state": "null",
"original": {
"localized_name": "比例高度",
"name": "proportional_height",
"type": "INT",
"widget": {
"name": "proportional_height"
},
"link": null
}
},
{
"pointer": "/nodes/15/inputs/5",
"state": "null",
"original": {
"localized_name": "适应",
"name": "fit",
"type": "COMBO",
"widget": {
"name": "fit"
},
"link": null
}
},
{
"pointer": "/nodes/15/inputs/6",
"state": "null",
"original": {
"localized_name": "方法",
"name": "method",
"type": "COMBO",
"widget": {
"name": "method"
},
"link": null
}
},
{
"pointer": "/nodes/15/inputs/7",
"state": "null",
"original": {
"localized_name": "四舍五入到倍数",
"name": "round_to_multiple",
"type": "COMBO",
"widget": {
"name": "round_to_multiple"
},
"link": null
}
},
{
"pointer": "/nodes/15/inputs/8",
"state": "null",
"original": {
"localized_name": "缩放至边",
"name": "scale_to_side",
"type": "COMBO",
"widget": {
"name": "scale_to_side"
},
"link": null
}
},
{
"pointer": "/nodes/15/inputs/9",
"state": "null",
"original": {
"localized_name": "缩放至长度",
"name": "scale_to_length",
"type": "INT",
"widget": {
"name": "scale_to_length"
},
"link": null
}
},
{
"pointer": "/nodes/15/inputs/10",
"state": "null",
"original": {
"localized_name": "背景颜色",
"name": "background_color",
"type": "STRING",
"widget": {
"name": "background_color"
},
"link": null
}
},
{
"pointer": "/nodes/15/outputs/0",
"state": "value",
"original": {
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [
111,
124
]
}
},
{
"pointer": "/nodes/15/outputs/1",
"state": "value",
"original": {
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"links": [
112,
115,
125
]
}
},
{
"pointer": "/nodes/15/outputs/2",
"state": "null",
"original": {
"localized_name": "original_size",
"name": "original_size",
"type": "BOX",
"links": null
}
},
{
"pointer": "/nodes/15/outputs/3",
"state": "null",
"original": {
"localized_name": "width",
"name": "width",
"type": "INT",
"links": null
}
},
{
"pointer": "/nodes/15/outputs/4",
"state": "null",
"original": {
"localized_name": "height",
"name": "height",
"type": "INT",
"links": null
}
},
{
"pointer": "/nodes/16/inputs/0",
"state": "value",
"original": {
"localized_name": "像素",
"name": "pixels",
"type": "IMAGE",
"link": 111
}
},
{
"pointer": "/nodes/16/inputs/1",
"state": "value",
"original": {
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 70
}
},
{
"pointer": "/nodes/16/outputs/0",
"state": "value",
"original": {
"localized_name": "Latent",
"name": "LATENT",
"type": "LATENT",
"links": [
67
]
}
},
{
"pointer": "/nodes/17/inputs/0",
"state": "value",
"original": {
"localized_name": "Latent",
"name": "samples",
"type": "LATENT",
"link": 67
}
},
{
"pointer": "/nodes/17/inputs/1",
"state": "value",
"original": {
"localized_name": "遮罩",
"name": "mask",
"type": "MASK",
"link": 112
}
},
{
"pointer": "/nodes/17/outputs/0",
"state": "value",
"original": {
"localized_name": "Latent",
"name": "LATENT",
"type": "LATENT",
"links": [
103
]
}
},
{
"pointer": "/nodes/18/inputs/0",
"state": "value",
"original": {
"name": "",
"type": "*",
"link": 124
}
},
{
"pointer": "/nodes/18/outputs/0",
"state": "value",
"original": {
"name": "IMAGE",
"type": "IMAGE",
"links": [
126,
128
]
}
},
{
"pointer": "/nodes/19/inputs/0",
"state": "value",
"original": {
"name": "",
"type": "*",
"link": 125
}
},
{
"pointer": "/nodes/19/outputs/0",
"state": "value",
"original": {
"name": "MASK",
"type": "MASK",
"links": [
127
]
}
},
{
"pointer": "/nodes/20/inputs/0",
"state": "value",
"original": {
"label": "遮罩",
"localized_name": "遮罩",
"name": "mask",
"type": "MASK",
"link": 115
}
},
{
"pointer": "/nodes/21/inputs/0",
"state": "value",
"original": {
"dir": 3,
"label": "图像_A",
"localized_name": "图像_A",
"name": "image_a",
"type": "IMAGE",
"link": 120
}
},
{
"pointer": "/nodes/21/inputs/1",
"state": "value",
"original": {
"dir": 3,
"label": "图像_B",
"localized_name": "图像_B",
"name": "image_b",
"type": "IMAGE",
"link": 128
}
}
],
"extra": {
"ds": {
"scale": 0.4907510545023752,
"offset": [
1183.3100065614256,
292.37981542392436
]
},
"frontendVersion": "1.37.11",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"workflowRendererVersion": "LG",
"ue_links": []
},
"nodes": [
{
"id": 45,
"type": "CLIPTextEncode",
"pos": [
550,
420
],
"size": [
420,
210
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 44
},
{
"localized_name": "文本",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"localized_name": "条件",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
101
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"text": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"遮罩区域替换成葡萄"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 75,
"type": "CLIPTextEncode",
"pos": [
570,
730
],
"size": [
390,
130
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 98
},
{
"localized_name": "文本",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"localized_name": "条件",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
102
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"text": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
""
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 48,
"type": "LoraLoaderModelOnly",
"pos": [
570,
220
],
"size": [
370,
100
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "模型",
"name": "model",
"type": "MODEL",
"link": 54
},
{
"localized_name": "LoRA名称",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": null
},
{
"localized_name": "模型强度",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
},
"link": null
}
],
"outputs": [
{
"localized_name": "模型",
"name": "MODEL",
"type": "MODEL",
"links": [
60
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.75",
"Node name for S&R": "LoraLoaderModelOnly",
"models": [
{
"name": "pixel_art_style_z_image_turbo.safetensors",
"url": "https://huggingface.co/tarn59/pixel_art_style_lora_z_image_turbo/resolve/main/pixel_art_style_z_image_turbo.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"lora_name": true,
"strength_model": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"ZImage\\Z-Image-Fun-Lora-Distill-8-Steps-2603-ComfyUI.safetensors",
1
]
},
{
"id": 83,
"type": "Note",
"pos": [
-550,
1190
],
"size": [
210,
90
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"右键编辑遮罩"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 57,
"type": "LoadImage",
"pos": [
-340,
960
],
"size": [
390,
610
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "选择文件上传",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
109
]
},
{
"localized_name": "遮罩",
"name": "MASK",
"type": "MASK",
"links": [
110
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "LoadImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
},
"image": "clipspace/clipspace-painted-masked-1775894574158.png [input]"
},
"widgets_values": [
"clipspace/clipspace-painted-masked-1775894574158.png [input]",
"image"
]
},
{
"id": 46,
"type": "UNETLoader",
"pos": [
170,
250
],
"size": [
270,
100
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "UNet名称",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": null
},
{
"localized_name": "数据类型",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"localized_name": "模型",
"name": "MODEL",
"type": "MODEL",
"links": [
54
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "UNETLoader",
"models": [
{
"name": "z_image_turbo_bf16.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"unet_name": true,
"weight_dtype": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Z-Image\\z_image_bf16.safetensors",
"default"
]
},
{
"id": 39,
"type": "CLIPLoader",
"pos": [
170,
410
],
"size": [
270,
130
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "CLIP名称",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": null
},
{
"localized_name": "类型",
"name": "type",
"type": "COMBO",
"widget": {
"name": "type"
},
"link": null
},
{
"localized_name": "设备",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
},
"link": null
}
],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
44,
98
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "CLIPLoader",
"models": [
{
"name": "qwen_3_4b.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"clip_name": true,
"type": true,
"device": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_3_4b.safetensors",
"lumina2",
"default"
]
},
{
"id": 40,
"type": "VAELoader",
"pos": [
170,
600
],
"size": [
270,
70
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "vae名称",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": null
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
39,
70
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "VAELoader",
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"vae_name": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 47,
"type": "ModelSamplingAuraFlow",
"pos": [
1040,
210
],
"size": [
310,
70
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "模型",
"name": "model",
"type": "MODEL",
"link": 60
},
{
"localized_name": "移位",
"name": "shift",
"type": "FLOAT",
"widget": {
"name": "shift"
},
"link": null
}
],
"outputs": [
{
"localized_name": "模型",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
100
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "ModelSamplingAuraFlow",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"shift": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
3
]
},
{
"id": 76,
"type": "LanPaint_KSamplerAdvanced",
"pos": [
1090,
400
],
"size": [
390,
850
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 100
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 101
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 102
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 103
},
{
"localized_name": "add_noise",
"name": "add_noise",
"type": "COMBO",
"widget": {
"name": "add_noise"
},
"link": null
},
{
"localized_name": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_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": "start_at_step",
"name": "start_at_step",
"type": "INT",
"widget": {
"name": "start_at_step"
},
"link": null
},
{
"localized_name": "end_at_step",
"name": "end_at_step",
"type": "INT",
"widget": {
"name": "end_at_step"
},
"link": null
},
{
"localized_name": "return_with_leftover_noise",
"name": "return_with_leftover_noise",
"type": "COMBO",
"widget": {
"name": "return_with_leftover_noise"
},
"link": null
},
{
"localized_name": "LanPaint_NumSteps",
"name": "LanPaint_NumSteps",
"type": "INT",
"widget": {
"name": "LanPaint_NumSteps"
},
"link": null
},
{
"localized_name": "LanPaint_Lambda",
"name": "LanPaint_Lambda",
"type": "FLOAT",
"widget": {
"name": "LanPaint_Lambda"
},
"link": null
},
{
"localized_name": "LanPaint_StepSize",
"name": "LanPaint_StepSize",
"type": "FLOAT",
"widget": {
"name": "LanPaint_StepSize"
},
"link": null
},
{
"localized_name": "LanPaint_Beta",
"name": "LanPaint_Beta",
"type": "FLOAT",
"widget": {
"name": "LanPaint_Beta"
},
"link": null
},
{
"localized_name": "LanPaint_Friction",
"name": "LanPaint_Friction",
"type": "FLOAT",
"widget": {
"name": "LanPaint_Friction"
},
"link": null
},
{
"localized_name": "LanPaint_PromptMode",
"name": "LanPaint_PromptMode",
"type": "COMBO",
"widget": {
"name": "LanPaint_PromptMode"
},
"link": null
},
{
"localized_name": "LanPaint_EarlyStop",
"name": "LanPaint_EarlyStop",
"type": "INT",
"widget": {
"name": "LanPaint_EarlyStop"
},
"link": null
},
{
"localized_name": "LanPaint_Info",
"name": "LanPaint_Info",
"type": "STRING",
"widget": {
"name": "LanPaint_Info"
},
"link": null
},
{
"localized_name": "Inpainting_mode",
"name": "Inpainting_mode",
"type": "COMBO",
"widget": {
"name": "Inpainting_mode"
},
"link": null
},
{
"localized_name": "LanPaint_InnerThreshold",
"name": "LanPaint_InnerThreshold",
"type": "FLOAT",
"widget": {
"name": "LanPaint_InnerThreshold"
},
"link": null
},
{
"localized_name": "LanPaint_InnerPatience",
"name": "LanPaint_InnerPatience",
"type": "INT",
"widget": {
"name": "LanPaint_InnerPatience"
},
"link": null
}
],
"outputs": [
{
"localized_name": "Latent",
"name": "LATENT",
"type": "LATENT",
"links": [
104
]
}
],
"properties": {
"Node name for S&R": "LanPaint_KSamplerAdvanced",
"ue_properties": {
"widget_ue_connectable": {
"add_noise": true,
"noise_seed": true,
"steps": true,
"cfg": true,
"sampler_name": true,
"scheduler": true,
"start_at_step": true,
"end_at_step": true,
"return_with_leftover_noise": true,
"LanPaint_NumSteps": true,
"LanPaint_Lambda": true,
"LanPaint_StepSize": true,
"LanPaint_Beta": true,
"LanPaint_Friction": true,
"LanPaint_PromptMode": true,
"LanPaint_EarlyStop": true,
"LanPaint_Info": true,
"Inpainting_mode": true,
"LanPaint_InnerThreshold": true,
"LanPaint_InnerPatience": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"enable",
0,
"fixed",
8,
1,
"euler",
"simple",
0,
10000,
"disable",
3,
8,
0.05,
1,
25,
"Image First",
1,
"LanPaint KSampler Adv. For more info, visit https://github.com/scraed/LanPaint. If you find it useful, please give a star ⭐️!",
"🖼️ Image Inpainting",
0,
1,
"lanpaint_star_button"
]
},
{
"id": 35,
"type": "MarkdownNote",
"pos": [
-400,
200
],
"size": [
490,
620
],
"flags": {
"collapsed": false
},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model link",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"## Report workflow issue\n\nIf you found any issues when running this workflow, [report template issue here](https://github.com/Comfy-Org/workflow_templates/issues)\n\n\n## Model links\n\n**text_encoders**\n\n- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors)\n\n**loras**\n\n- [pixel_art_style_z_image_turbo.safetensors](https://huggingface.co/tarn59/pixel_art_style_lora_z_image_turbo/resolve/main/pixel_art_style_z_image_turbo.safetensors)\n\n**diffusion_models**\n\n- [z_image_turbo_bf16.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_4b.safetensors\n│ ├── 📂 loras/\n│ │ └── pixel_art_style_z_image_turbo.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── z_image_turbo_bf16.safetensors\n│ └── 📂 vae/\n│ └── ae.safetensors\n```\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 84,
"type": "Label (rgthree)",
"pos": [
-520,
-150
],
"size": [
1600.1953125,
200
],
"flags": {
"allow_interaction": true
},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Z-Image 局部重绘",
"properties": {
"fontSize": 200,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"angle": 0,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 61,
"type": "SaveImage",
"pos": [
1800,
450
],
"size": [
740,
1180
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"localized_name": "图片",
"name": "images",
"type": "IMAGE",
"link": 72
},
{
"localized_name": "文件名前缀",
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
},
"link": null
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.23",
"Node name for S&R": "SaveImage",
"ue_properties": {
"widget_ue_connectable": {
"filename_prefix": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 43,
"type": "VAEDecode",
"pos": [
1550,
470
],
"size": [
210,
60
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "Latent",
"name": "samples",
"type": "LATENT",
"link": 104
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 39
}
],
"outputs": [
{
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
73
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "VAEDecode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 60,
"type": "LanPaint_MaskBlend",
"pos": [
1550,
600
],
"size": [
210,
110
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 126
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 73
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 127
},
{
"localized_name": "blend_overlap",
"name": "blend_overlap",
"type": "INT",
"widget": {
"name": "blend_overlap"
},
"link": null
}
],
"outputs": [
{
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
72,
120
]
}
],
"properties": {
"Node name for S&R": "LanPaint_MaskBlend",
"cnr_id": "LanPaint",
"ver": "4d3d5d17f0105b673df92da5b084cce567c9c712",
"ue_properties": {
"widget_ue_connectable": {
"blend_overlap": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
9
]
},
{
"id": 81,
"type": "LayerUtility: ImageScaleByAspectRatio V2",
"pos": [
160,
960
],
"size": [
280,
330
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 109
},
{
"localized_name": "遮罩",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 110
},
{
"localized_name": "宽高比",
"name": "aspect_ratio",
"type": "COMBO",
"widget": {
"name": "aspect_ratio"
},
"link": null
},
{
"localized_name": "比例宽度",
"name": "proportional_width",
"type": "INT",
"widget": {
"name": "proportional_width"
},
"link": null
},
{
"localized_name": "比例高度",
"name": "proportional_height",
"type": "INT",
"widget": {
"name": "proportional_height"
},
"link": null
},
{
"localized_name": "适应",
"name": "fit",
"type": "COMBO",
"widget": {
"name": "fit"
},
"link": null
},
{
"localized_name": "方法",
"name": "method",
"type": "COMBO",
"widget": {
"name": "method"
},
"link": null
},
{
"localized_name": "四舍五入到倍数",
"name": "round_to_multiple",
"type": "COMBO",
"widget": {
"name": "round_to_multiple"
},
"link": null
},
{
"localized_name": "缩放至边",
"name": "scale_to_side",
"type": "COMBO",
"widget": {
"name": "scale_to_side"
},
"link": null
},
{
"localized_name": "缩放至长度",
"name": "scale_to_length",
"type": "INT",
"widget": {
"name": "scale_to_length"
},
"link": null
},
{
"localized_name": "背景颜色",
"name": "background_color",
"type": "STRING",
"widget": {
"name": "background_color"
},
"link": null
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [
111,
124
]
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"links": [
112,
115,
125
]
},
{
"localized_name": "original_size",
"name": "original_size",
"type": "BOX",
"links": null
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "LayerUtility: ImageScaleByAspectRatio V2",
"ue_properties": {
"widget_ue_connectable": {
"aspect_ratio": true,
"proportional_width": true,
"proportional_height": true,
"fit": true,
"method": true,
"round_to_multiple": true,
"scale_to_side": true,
"scale_to_length": true,
"background_color": true
},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"original",
1,
1,
"letterbox",
"lanczos",
"8",
"longest",
1280,
"#000000"
],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 58,
"type": "VAEEncode",
"pos": [
550,
960
],
"size": [
190,
60
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "像素",
"name": "pixels",
"type": "IMAGE",
"link": 111
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 70
}
],
"outputs": [
{
"localized_name": "Latent",
"name": "LATENT",
"type": "LATENT",
"links": [
67
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "VAEEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 59,
"type": "SetLatentNoiseMask",
"pos": [
780,
960
],
"size": [
190,
60
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "Latent",
"name": "samples",
"type": "LATENT",
"link": 67
},
{
"localized_name": "遮罩",
"name": "mask",
"type": "MASK",
"link": 112
}
],
"outputs": [
{
"localized_name": "Latent",
"name": "LATENT",
"type": "LATENT",
"links": [
103
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "SetLatentNoiseMask",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 91,
"type": "Reroute",
"pos": [
1500,
960
],
"size": [
82,
26
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 124
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
126,
128
]
}
],
"properties": {
"showOutputText": true,
"horizontal": false,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
}
},
{
"id": 92,
"type": "Reroute",
"pos": [
1500,
990
],
"size": [
75,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 125
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
127
]
}
],
"properties": {
"showOutputText": true,
"horizontal": false,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
}
},
{
"id": 82,
"type": "MaskPreview+",
"pos": [
550,
1080
],
"size": [
140,
250
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"label": "遮罩",
"localized_name": "遮罩",
"name": "mask",
"type": "MASK",
"link": 115
}
],
"outputs": [],
"title": "遮罩预览",
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "1.1.0",
"Node name for S&R": "MaskPreview+",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 87,
"type": "Image Comparer (rgthree)",
"pos": [
2630,
460
],
"size": [
790,
1160
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"dir": 3,
"label": "图像_A",
"localized_name": "图像_A",
"name": "image_a",
"type": "IMAGE",
"link": 120
},
{
"dir": 3,
"label": "图像_B",
"localized_name": "图像_B",
"name": "image_b",
"type": "IMAGE",
"link": 128
}
],
"outputs": [],
"properties": {
"cnr_id": "rgthree-comfy",
"ver": "1.0.2604070017",
"comparer_mode": "Slide",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_crjut_00001_.png&type=temp&subfolder=&rand=0.36581208706138946"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_crjut_00002_.png&type=temp&subfolder=&rand=0.046847551726149295"
}
]
]
}
],
"links": [
[
39,
40,
0,
43,
1,
"VAE"
],
[
44,
39,
0,
45,
0,
"CLIP"
],
[
54,
46,
0,
48,
0,
"MODEL"
],
[
60,
48,
0,
47,
0,
"MODEL"
],
[
67,
58,
0,
59,
0,
"LATENT"
],
[
70,
40,
0,
58,
1,
"VAE"
],
[
72,
60,
0,
61,
0,
"IMAGE"
],
[
73,
43,
0,
60,
1,
"IMAGE"
],
[
98,
39,
0,
75,
0,
"CLIP"
],
[
100,
47,
0,
76,
0,
"MODEL"
],
[
101,
45,
0,
76,
1,
"CONDITIONING"
],
[
102,
75,
0,
76,
2,
"CONDITIONING"
],
[
103,
59,
0,
76,
3,
"LATENT"
],
[
104,
76,
0,
43,
0,
"LATENT"
],
[
109,
57,
0,
81,
0,
"IMAGE"
],
[
110,
57,
1,
81,
1,
"MASK"
],
[
111,
81,
0,
58,
0,
"IMAGE"
],
[
112,
81,
1,
59,
1,
"MASK"
],
[
115,
81,
1,
82,
0,
"MASK"
],
[
120,
60,
0,
87,
0,
"IMAGE"
],
[
124,
81,
0,
91,
0,
"IMAGE"
],
[
125,
81,
1,
92,
0,
"MASK"
],
[
126,
91,
0,
60,
0,
"IMAGE"
],
[
127,
92,
0,
60,
2,
"MASK"
],
[
128,
91,
0,
87,
1,
"IMAGE"
]
]
}