Files
aigc-home/docs/hel-892/offline/documents/a7a20ee381d2074e.json
T

1404 lines
34 KiB
JSON

{
"dependencies": {
"check_state": "unchecked",
"checked_at": null,
"missing": [],
"model_locations": "待目标机提供",
"models": [
"Flux\\Flux2-Klein-9B_lcs_consist_20260415_一致性小志版.safetensors",
"Flux\\flux-2-klein-9b-fp8.safetensors",
"flux2-vae.safetensors",
"qwen_3_8b_fp8mixed.safetensors"
],
"node_packs": [],
"node_types": [
"536134bc-7b78-4af9-9b14-43b715f27e50",
"CFGGuider",
"CLIPLoader",
"CLIPTextEncode",
"EmptyFlux2LatentImage",
"Flux2Scheduler",
"Image Comparer (rgthree)",
"KSamplerSelect",
"Label (rgthree)",
"LayerUtility: ImageScaleByAspectRatio V2",
"LoadImage",
"LoraLoaderModelOnly",
"MarkdownNote",
"PrimitiveStringMultiline",
"RandomNoise",
"ReferenceLatent",
"Reroute",
"SamplerCustomAdvanced",
"SaveImage",
"UNETLoader",
"VAEDecode",
"VAEEncode",
"VAELoader"
],
"source": null
},
"draft": true,
"errors": [
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "包含子图:需原 ComfyUI API 导出及差分核对"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:Label (rgthree)"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:Reroute"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:LayerUtility: ImageScaleByAspectRatio V2"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:SaveImage"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:Image Comparer (rgthree)"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:PrimitiveStringMultiline"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:536134bc-7b78-4af9-9b14-43b715f27e50"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:LoadImage"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "未得到可执行节点"
}
],
"io": {
"inputs": [],
"outputs": []
},
"materials": [],
"params": [],
"purpose": "源目录:example_ComfyUI_workflows/3-图像生成/Flux;工作流:flux2_klein_图生图_老照片修复。用途待逐节点复核。",
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
"source_links": [
{
"link": [
275,
76,
0,
147,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
284,
147,
0,
150,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
287,
150,
0,
9,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
288,
150,
0,
145,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
298,
147,
3,
150,
7,
"INT"
],
"scope": ""
},
{
"link": [
299,
147,
4,
150,
8,
"INT"
],
"scope": ""
},
{
"link": [
300,
147,
0,
151,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
302,
151,
0,
145,
1,
"IMAGE"
],
"scope": ""
},
{
"link": [
303,
152,
0,
150,
5,
"STRING"
],
"scope": ""
},
{
"link": {
"id": 264,
"origin_id": 142,
"origin_slot": 0,
"target_id": 102,
"target_slot": 0,
"type": "MODEL"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 261,
"origin_id": 140,
"origin_slot": 0,
"target_id": 102,
"target_slot": 1,
"type": "CONDITIONING"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 262,
"origin_id": 139,
"origin_slot": 0,
"target_id": 102,
"target_slot": 2,
"type": "CONDITIONING"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 257,
"origin_id": 110,
"origin_slot": 0,
"target_id": 141,
"target_slot": 1,
"type": "VAE"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 258,
"origin_id": 108,
"origin_slot": 0,
"target_id": 140,
"target_slot": 0,
"type": "CONDITIONING"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 256,
"origin_id": 141,
"origin_slot": 0,
"target_id": 140,
"target_slot": 1,
"type": "LATENT"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 259,
"origin_id": 109,
"origin_slot": 0,
"target_id": 139,
"target_slot": 0,
"type": "CONDITIONING"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 255,
"origin_id": 141,
"origin_slot": 0,
"target_id": 139,
"target_slot": 1,
"type": "LATENT"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 244,
"origin_id": 135,
"origin_slot": 0,
"target_id": 101,
"target_slot": 1,
"type": "INT"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 246,
"origin_id": 136,
"origin_slot": 0,
"target_id": 101,
"target_slot": 2,
"type": "INT"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 263,
"origin_id": 106,
"origin_slot": 0,
"target_id": 142,
"target_slot": 0,
"type": "MODEL"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 192,
"origin_id": 105,
"origin_slot": 0,
"target_id": 103,
"target_slot": 0,
"type": "NOISE"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 193,
"origin_id": 102,
"origin_slot": 0,
"target_id": 103,
"target_slot": 1,
"type": "GUIDER"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 194,
"origin_id": 100,
"origin_slot": 0,
"target_id": 103,
"target_slot": 2,
"type": "SAMPLER"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 195,
"origin_id": 101,
"origin_slot": 0,
"target_id": 103,
"target_slot": 3,
"type": "SIGMAS"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 196,
"origin_id": 111,
"origin_slot": 0,
"target_id": 103,
"target_slot": 4,
"type": "LATENT"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 197,
"origin_id": 103,
"origin_slot": 0,
"target_id": 104,
"target_slot": 0,
"type": "LATENT"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 198,
"origin_id": 110,
"origin_slot": 0,
"target_id": 104,
"target_slot": 1,
"type": "VAE"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 253,
"origin_id": 135,
"origin_slot": 0,
"target_id": 111,
"target_slot": 0,
"type": "INT"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 254,
"origin_id": 136,
"origin_slot": 0,
"target_id": 111,
"target_slot": 1,
"type": "INT"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 200,
"origin_id": 107,
"origin_slot": 0,
"target_id": 108,
"target_slot": 0,
"type": "CLIP"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 199,
"origin_id": 107,
"origin_slot": 0,
"target_id": 109,
"target_slot": 0,
"type": "CLIP"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 276,
"origin_id": -10,
"origin_slot": 0,
"target_id": 141,
"target_slot": 0,
"type": "IMAGE"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 201,
"origin_id": 104,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 290,
"origin_id": -10,
"origin_slot": 1,
"target_id": 106,
"target_slot": 0,
"type": "COMBO"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 291,
"origin_id": -10,
"origin_slot": 2,
"target_id": 142,
"target_slot": 1,
"type": "COMBO"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 292,
"origin_id": -10,
"origin_slot": 3,
"target_id": 107,
"target_slot": 0,
"type": "COMBO"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 293,
"origin_id": -10,
"origin_slot": 4,
"target_id": 110,
"target_slot": 0,
"type": "COMBO"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 294,
"origin_id": -10,
"origin_slot": 5,
"target_id": 108,
"target_slot": 1,
"type": "STRING"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 295,
"origin_id": -10,
"origin_slot": 6,
"target_id": 109,
"target_slot": 1,
"type": "STRING"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 296,
"origin_id": -10,
"origin_slot": 7,
"target_id": 135,
"target_slot": 0,
"type": "*"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
},
{
"link": {
"id": 297,
"origin_id": -10,
"origin_slot": 8,
"target_id": 136,
"target_slot": 0,
"type": "*"
},
"scope": "536134bc-7b78-4af9-9b14-43b715f27e50/"
}
],
"source_nodes": [
{
"class_type": "MarkdownNote",
"inputs": [],
"mode": 0,
"node_id": "97",
"source_values": [
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\n\n**diffusion_models**\n\n- [flux-2-klein-base-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8)\n\n> Please visit BFL's repo, accept the agreement in the repo, and then download the fp8 model.\n\n**text_encoders**\n\n- [qwen_3_8b_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_8b_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.safetensors\n```\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
],
"title": null
},
{
"class_type": "Label (rgthree)",
"inputs": [],
"mode": 0,
"node_id": "143",
"source_values": [],
"title": "flux2_klein-图生图-老照片修复"
},
{
"class_type": "Reroute",
"inputs": [
{
"link": 300,
"name": "",
"type": "*"
}
],
"mode": 0,
"node_id": "151",
"source_values": [],
"title": null
},
{
"class_type": "LayerUtility: ImageScaleByAspectRatio V2",
"inputs": [
{
"link": 275,
"localized_name": "图像",
"name": "image",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "遮罩",
"name": "mask",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"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"
}
}
],
"mode": 0,
"node_id": "147",
"source_values": [
"original",
1,
1,
"crop",
"lanczos",
"8",
"longest",
1536,
"#000000"
],
"title": null
},
{
"class_type": "SaveImage",
"inputs": [
{
"link": 287,
"localized_name": "图片",
"name": "images",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "文件名前缀",
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
}
}
],
"mode": 0,
"node_id": "9",
"source_values": [
"Flux2-Klein"
],
"title": null
},
{
"class_type": "Image Comparer (rgthree)",
"inputs": [
{
"dir": 3,
"label": "图像_A",
"link": 288,
"localized_name": "图像_A",
"name": "image_a",
"type": "IMAGE"
},
{
"dir": 3,
"label": "图像_B",
"link": 302,
"localized_name": "图像_B",
"name": "image_b",
"type": "IMAGE"
}
],
"mode": 0,
"node_id": "145",
"source_values": [
[
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_acghq_00001_.png&type=temp&subfolder=&rand=0.9550149522649023"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_acghq_00002_.png&type=temp&subfolder=&rand=0.9902072171653356"
}
]
],
"title": null
},
{
"class_type": "PrimitiveStringMultiline",
"inputs": [
{
"link": null,
"localized_name": "值",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"node_id": "152",
"source_values": [
"restore this old photograph, remove scratches stains and dust,\nfix color fading, enhance micro-contrast and sharpness,\nwhite balance correction, preserve original identity\ncolor grading: natural skin tones"
],
"title": "提示词"
},
{
"class_type": "536134bc-7b78-4af9-9b14-43b715f27e50",
"inputs": [
{
"label": "image",
"link": 284,
"localized_name": "像素",
"name": "pixels",
"type": "IMAGE"
},
{
"link": null,
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
}
},
{
"link": null,
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
}
},
{
"link": null,
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
}
},
{
"link": null,
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
}
},
{
"label": "Positive",
"link": 303,
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
},
{
"label": "Negative",
"link": null,
"name": "text_1",
"type": "STRING",
"widget": {
"name": "text_1"
}
},
{
"label": "width",
"link": 298,
"name": "",
"type": "*"
},
{
"label": "height",
"link": 299,
"name": "_1",
"type": "*"
}
],
"mode": 0,
"node_id": "150",
"source_values": [],
"title": null
},
{
"class_type": "LoadImage",
"inputs": [
{
"link": null,
"localized_name": "图像",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
}
},
{
"link": null,
"localized_name": "选择文件上传",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
}
}
],
"mode": 0,
"node_id": "76",
"source_values": [
"640.webp",
"image"
],
"title": null
},
{
"class_type": "CFGGuider",
"inputs": [
{
"link": 264,
"localized_name": "模型",
"name": "model",
"type": "MODEL"
},
{
"link": 261,
"localized_name": "正面条件",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 262,
"localized_name": "负面条件",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": null,
"localized_name": "CFG",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/102",
"source_values": [
1
],
"title": null
},
{
"class_type": "RandomNoise",
"inputs": [
{
"link": null,
"localized_name": "噪波随机种",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/105",
"source_values": [
825034918591445,
"randomize"
],
"title": null
},
{
"class_type": "KSamplerSelect",
"inputs": [
{
"link": null,
"localized_name": "采样器名称",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/100",
"source_values": [
"euler"
],
"title": null
},
{
"class_type": "VAEEncode",
"inputs": [
{
"link": 276,
"localized_name": "像素",
"name": "pixels",
"type": "IMAGE"
},
{
"link": 257,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/141",
"source_values": [],
"title": null
},
{
"class_type": "ReferenceLatent",
"inputs": [
{
"link": 258,
"localized_name": "条件",
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 256,
"localized_name": "Latent",
"name": "latent",
"shape": 7,
"type": "LATENT"
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/140",
"source_values": [],
"title": null
},
{
"class_type": "ReferenceLatent",
"inputs": [
{
"link": 259,
"localized_name": "条件",
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 255,
"localized_name": "Latent",
"name": "latent",
"shape": 7,
"type": "LATENT"
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/139",
"source_values": [],
"title": null
},
{
"class_type": "Flux2Scheduler",
"inputs": [
{
"link": null,
"localized_name": "步数",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"link": 244,
"localized_name": "宽度",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 246,
"localized_name": "高度",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/101",
"source_values": [
4,
1024,
1024
],
"title": null
},
{
"class_type": "SamplerCustomAdvanced",
"inputs": [
{
"link": 192,
"localized_name": "噪波",
"name": "noise",
"type": "NOISE"
},
{
"link": 193,
"localized_name": "引导器",
"name": "guider",
"type": "GUIDER"
},
{
"link": 194,
"localized_name": "采样器",
"name": "sampler",
"type": "SAMPLER"
},
{
"link": 195,
"localized_name": "西格玛",
"name": "sigmas",
"type": "SIGMAS"
},
{
"link": 196,
"localized_name": "Latent图像",
"name": "latent_image",
"type": "LATENT"
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/103",
"source_values": [],
"title": null
},
{
"class_type": "VAEDecode",
"inputs": [
{
"link": 197,
"localized_name": "Latent",
"name": "samples",
"type": "LATENT"
},
{
"link": 198,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/104",
"source_values": [],
"title": null
},
{
"class_type": "EmptyFlux2LatentImage",
"inputs": [
{
"link": 253,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 254,
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/111",
"source_values": [
1024,
1024,
1
],
"title": null
},
{
"class_type": "UNETLoader",
"inputs": [
{
"link": 290,
"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"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/106",
"source_values": [
"Flux\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"title": null
},
{
"class_type": "LoraLoaderModelOnly",
"inputs": [
{
"link": 263,
"localized_name": "模型",
"name": "model",
"type": "MODEL"
},
{
"link": 291,
"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"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/142",
"source_values": [
"Flux\\Flux2-Klein-9B_lcs_consist_20260415_一致性小志版.safetensors",
0.8
],
"title": null
},
{
"class_type": "CLIPLoader",
"inputs": [
{
"link": 292,
"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"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/107",
"source_values": [
"qwen_3_8b_fp8mixed.safetensors",
"flux2",
"default"
],
"title": null
},
{
"class_type": "VAELoader",
"inputs": [
{
"link": 293,
"localized_name": "vae名称",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/110",
"source_values": [
"flux2-vae.safetensors"
],
"title": null
},
{
"class_type": "CLIPTextEncode",
"inputs": [
{
"link": 200,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"label": "Positive正向提示词",
"link": 294,
"localized_name": "文本",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/108",
"source_values": [
"restore this old photograph, remove scratches stains and dust,\nfix color fading, enhance micro-contrast and sharpness,\nwhite balance correction, preserve original identity\ncolor grading: natural skin tones"
],
"title": "CLIP Text Encode (Positive Prompt)"
},
{
"class_type": "CLIPTextEncode",
"inputs": [
{
"link": 199,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 295,
"localized_name": "文本",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/109",
"source_values": [
"low quality, plastic skin, over-sharpened, \nartificial lighting, modern clothing, \ndigital artifacts, blurry face, distorted features,\nunnatural colors, oversaturated, AI-generated look"
],
"title": "CLIP Text Encode (Negative Prompt)"
},
{
"class_type": "Reroute",
"inputs": [
{
"link": 297,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/136",
"source_values": [],
"title": null
},
{
"class_type": "Reroute",
"inputs": [
{
"link": 296,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"node_id": "536134bc-7b78-4af9-9b14-43b715f27e50/135",
"source_values": [],
"title": null
}
],
"source_notes": [
{
"content": [
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\n\n**diffusion_models**\n\n- [flux-2-klein-base-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8)\n\n> Please visit BFL's repo, accept the agreement in the repo, and then download the fp8 model.\n\n**text_encoders**\n\n- [qwen_3_8b_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_8b_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.safetensors\n```\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
],
"node_id": "97"
}
],
"source_path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"status": {
"doc_done": false,
"exec_verified": false,
"imported": true
},
"steps": [
"打开源工作流 example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json,逐项核对下列源节点与注释。",
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
"明确触发真实测试后核对产物;本批未提交生成任务。"
],
"title": "flux2_klein_图生图_老照片修复"
}