1300 lines
29 KiB
JSON
1300 lines
29 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-base-9b-fp8.safetensors",
|
|
"flux2-vae.safetensors",
|
|
"qwen_3_8b_fp8mixed.safetensors"
|
|
],
|
|
"node_packs": [],
|
|
"node_types": [
|
|
"CFGGuider",
|
|
"CLIPLoader",
|
|
"CLIPTextEncode",
|
|
"Flux2Scheduler",
|
|
"GetImageSize",
|
|
"ImageConcanate",
|
|
"ImagePadForOutpaint",
|
|
"KSamplerSelect",
|
|
"Label (rgthree)",
|
|
"LoadImage",
|
|
"LoraLoaderModelOnly",
|
|
"MarkdownNote",
|
|
"PreviewImage",
|
|
"RandomNoise",
|
|
"ReferenceLatent",
|
|
"Reroute",
|
|
"SamplerCustomAdvanced",
|
|
"SaveImage",
|
|
"UNETLoader",
|
|
"VAEDecode",
|
|
"VAEEncode",
|
|
"VAEEncodeForInpaint",
|
|
"VAELoader"
|
|
],
|
|
"source": null
|
|
},
|
|
"draft": true,
|
|
"errors": [
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:CFGGuider"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:RandomNoise"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:CLIPTextEncode"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:KSamplerSelect"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:SamplerCustomAdvanced"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:VAEEncode"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:ReferenceLatent"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:ReferenceLatent"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:CLIPLoader"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:Label (rgthree)"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:VAELoader"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:Reroute"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:GetImageSize"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:Reroute"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:LoadImage"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:CLIPTextEncode"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:UNETLoader"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:Flux2Scheduler"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:Reroute"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:VAEDecode"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:VAEEncodeForInpaint"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:ImagePadForOutpaint"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:ImageConcanate"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:PreviewImage"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:LoraLoaderModelOnly"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:SaveImage"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "未得到可执行节点"
|
|
}
|
|
],
|
|
"io": {
|
|
"inputs": [],
|
|
"outputs": []
|
|
},
|
|
"materials": [],
|
|
"params": [],
|
|
"purpose": "源目录:example_ComfyUI_workflows/3-图像生成/Flux;工作流:5_flux2_klein_图生图_扩图。用途待逐节点复核。",
|
|
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
|
"source_links": [
|
|
{
|
|
"link": [
|
|
192,
|
|
105,
|
|
0,
|
|
103,
|
|
0,
|
|
"NOISE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
193,
|
|
102,
|
|
0,
|
|
103,
|
|
1,
|
|
"GUIDER"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
194,
|
|
100,
|
|
0,
|
|
103,
|
|
2,
|
|
"SAMPLER"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
195,
|
|
101,
|
|
0,
|
|
103,
|
|
3,
|
|
"SIGMAS"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
197,
|
|
103,
|
|
0,
|
|
104,
|
|
0,
|
|
"LATENT"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
199,
|
|
107,
|
|
0,
|
|
109,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
200,
|
|
107,
|
|
0,
|
|
108,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
201,
|
|
104,
|
|
0,
|
|
9,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
255,
|
|
141,
|
|
0,
|
|
139,
|
|
1,
|
|
"LATENT"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
256,
|
|
141,
|
|
0,
|
|
140,
|
|
1,
|
|
"LATENT"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
258,
|
|
108,
|
|
0,
|
|
140,
|
|
0,
|
|
"CONDITIONING"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
259,
|
|
109,
|
|
0,
|
|
139,
|
|
0,
|
|
"CONDITIONING"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
261,
|
|
140,
|
|
0,
|
|
102,
|
|
1,
|
|
"CONDITIONING"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
262,
|
|
139,
|
|
0,
|
|
102,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
263,
|
|
106,
|
|
0,
|
|
142,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
264,
|
|
142,
|
|
0,
|
|
102,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
276,
|
|
146,
|
|
0,
|
|
103,
|
|
4,
|
|
"LATENT"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
288,
|
|
110,
|
|
0,
|
|
151,
|
|
0,
|
|
"VAE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
289,
|
|
151,
|
|
0,
|
|
141,
|
|
1,
|
|
"VAE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
290,
|
|
151,
|
|
0,
|
|
146,
|
|
1,
|
|
"VAE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
291,
|
|
151,
|
|
0,
|
|
104,
|
|
1,
|
|
"VAE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
297,
|
|
153,
|
|
0,
|
|
146,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
298,
|
|
153,
|
|
0,
|
|
152,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
305,
|
|
155,
|
|
0,
|
|
156,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
309,
|
|
157,
|
|
0,
|
|
101,
|
|
1,
|
|
"INT"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
310,
|
|
157,
|
|
1,
|
|
101,
|
|
2,
|
|
"INT"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
311,
|
|
156,
|
|
0,
|
|
153,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
312,
|
|
153,
|
|
0,
|
|
141,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
313,
|
|
153,
|
|
0,
|
|
157,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
314,
|
|
156,
|
|
1,
|
|
146,
|
|
2,
|
|
"MASK"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
315,
|
|
152,
|
|
0,
|
|
160,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
316,
|
|
104,
|
|
0,
|
|
160,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
317,
|
|
160,
|
|
0,
|
|
161,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
}
|
|
],
|
|
"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": "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": "102",
|
|
"source_values": [
|
|
5
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "RandomNoise",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"localized_name": "噪波随机种",
|
|
"name": "noise_seed",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "noise_seed"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "105",
|
|
"source_values": [
|
|
315518168455707,
|
|
"randomize"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "CLIPTextEncode",
|
|
"inputs": [
|
|
{
|
|
"link": 199,
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP"
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "文本",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "109",
|
|
"source_values": [
|
|
""
|
|
],
|
|
"title": "CLIP Text Encode (Negative Prompt)"
|
|
},
|
|
{
|
|
"class_type": "KSamplerSelect",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"localized_name": "采样器名称",
|
|
"name": "sampler_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "sampler_name"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "100",
|
|
"source_values": [
|
|
"euler"
|
|
],
|
|
"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": 276,
|
|
"localized_name": "Latent图像",
|
|
"name": "latent_image",
|
|
"type": "LATENT"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "103",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "VAEEncode",
|
|
"inputs": [
|
|
{
|
|
"link": 312,
|
|
"localized_name": "像素",
|
|
"name": "pixels",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"link": 289,
|
|
"localized_name": "vae",
|
|
"name": "vae",
|
|
"type": "VAE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "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": "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": "139",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "CLIPLoader",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"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": "107",
|
|
"source_values": [
|
|
"qwen_3_8b_fp8mixed.safetensors",
|
|
"flux2",
|
|
"default"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "Label (rgthree)",
|
|
"inputs": [],
|
|
"mode": 0,
|
|
"node_id": "143",
|
|
"source_values": [],
|
|
"title": "flux2_klein_9b_base_扩图"
|
|
},
|
|
{
|
|
"class_type": "VAELoader",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"localized_name": "vae名称",
|
|
"name": "vae_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "vae_name"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "110",
|
|
"source_values": [
|
|
"flux2-vae.safetensors"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "Reroute",
|
|
"inputs": [
|
|
{
|
|
"link": 288,
|
|
"name": "",
|
|
"type": "*"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "151",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "MarkdownNote",
|
|
"inputs": [],
|
|
"mode": 0,
|
|
"node_id": "154",
|
|
"source_values": [
|
|
"# 右键遮罩编辑添加遮罩"
|
|
],
|
|
"title": "Markdown注释"
|
|
},
|
|
{
|
|
"class_type": "GetImageSize",
|
|
"inputs": [
|
|
{
|
|
"label": "图像",
|
|
"link": 313,
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"type": "IMAGE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "157",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "Reroute",
|
|
"inputs": [
|
|
{
|
|
"link": 311,
|
|
"name": "",
|
|
"type": "*"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "153",
|
|
"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": "155",
|
|
"source_values": [
|
|
"Flux2-Klein-4b-base_00011_.png",
|
|
"image"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "MarkdownNote",
|
|
"inputs": [],
|
|
"mode": 0,
|
|
"node_id": "159",
|
|
"source_values": [
|
|
"# 增加上下左右扩展的尺寸"
|
|
],
|
|
"title": "Markdown注释"
|
|
},
|
|
{
|
|
"class_type": "CLIPTextEncode",
|
|
"inputs": [
|
|
{
|
|
"link": 200,
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP"
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "文本",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "108",
|
|
"source_values": [
|
|
"左右扩展图像,保持图像细节一致"
|
|
],
|
|
"title": "CLIP Text Encode (Positive Prompt)"
|
|
},
|
|
{
|
|
"class_type": "UNETLoader",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"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": "106",
|
|
"source_values": [
|
|
"Flux\\flux-2-klein-base-9b-fp8.safetensors",
|
|
"default"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "Flux2Scheduler",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"localized_name": "步数",
|
|
"name": "steps",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "steps"
|
|
}
|
|
},
|
|
{
|
|
"link": 309,
|
|
"localized_name": "宽度",
|
|
"name": "width",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "width"
|
|
}
|
|
},
|
|
{
|
|
"link": 310,
|
|
"localized_name": "高度",
|
|
"name": "height",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "height"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "101",
|
|
"source_values": [
|
|
20,
|
|
1024,
|
|
1024
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "Reroute",
|
|
"inputs": [
|
|
{
|
|
"link": 298,
|
|
"name": "",
|
|
"type": "*"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "152",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "VAEDecode",
|
|
"inputs": [
|
|
{
|
|
"link": 197,
|
|
"localized_name": "Latent",
|
|
"name": "samples",
|
|
"type": "LATENT"
|
|
},
|
|
{
|
|
"link": 291,
|
|
"localized_name": "vae",
|
|
"name": "vae",
|
|
"type": "VAE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "104",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "VAEEncodeForInpaint",
|
|
"inputs": [
|
|
{
|
|
"link": 297,
|
|
"localized_name": "像素",
|
|
"name": "pixels",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"link": 290,
|
|
"localized_name": "vae",
|
|
"name": "vae",
|
|
"type": "VAE"
|
|
},
|
|
{
|
|
"link": 314,
|
|
"localized_name": "遮罩",
|
|
"name": "mask",
|
|
"type": "MASK"
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "扩展遮罩",
|
|
"name": "grow_mask_by",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "grow_mask_by"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "146",
|
|
"source_values": [
|
|
20
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "ImagePadForOutpaint",
|
|
"inputs": [
|
|
{
|
|
"link": 305,
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "左",
|
|
"name": "left",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "left"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "上",
|
|
"name": "top",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "top"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "右",
|
|
"name": "right",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "right"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "下",
|
|
"name": "bottom",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "bottom"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "羽化",
|
|
"name": "feathering",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "feathering"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "156",
|
|
"source_values": [
|
|
248,
|
|
248,
|
|
248,
|
|
248,
|
|
25
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "ImageConcanate",
|
|
"inputs": [
|
|
{
|
|
"label": "图像_1",
|
|
"link": 316,
|
|
"localized_name": "图像_1",
|
|
"name": "image1",
|
|
"type": "IMAGE,MASK"
|
|
},
|
|
{
|
|
"label": "图像_2",
|
|
"link": 315,
|
|
"localized_name": "图像_2",
|
|
"name": "image2",
|
|
"type": "IMAGE,MASK"
|
|
},
|
|
{
|
|
"label": "方向",
|
|
"link": null,
|
|
"localized_name": "方向",
|
|
"name": "direction",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "direction"
|
|
}
|
|
},
|
|
{
|
|
"label": "匹配图像大小",
|
|
"link": null,
|
|
"localized_name": "匹配图像大小",
|
|
"name": "match_image_size",
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "match_image_size"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "160",
|
|
"source_values": [
|
|
"right",
|
|
true
|
|
],
|
|
"title": "图像合并"
|
|
},
|
|
{
|
|
"class_type": "PreviewImage",
|
|
"inputs": [
|
|
{
|
|
"link": 317,
|
|
"localized_name": "图像",
|
|
"name": "images",
|
|
"type": "IMAGE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "161",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "LoraLoaderModelOnly",
|
|
"inputs": [
|
|
{
|
|
"link": 263,
|
|
"localized_name": "模型",
|
|
"name": "model",
|
|
"type": "MODEL"
|
|
},
|
|
{
|
|
"link": null,
|
|
"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": "142",
|
|
"source_values": [
|
|
"Flux\\Flux2-Klein-9B_lcs_consist_20260415_一致性小志版.safetensors",
|
|
0.8
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "SaveImage",
|
|
"inputs": [
|
|
{
|
|
"link": 201,
|
|
"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
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"content": [
|
|
"# 右键遮罩编辑添加遮罩"
|
|
],
|
|
"node_id": "154"
|
|
},
|
|
{
|
|
"content": [
|
|
"# 增加上下左右扩展的尺寸"
|
|
],
|
|
"node_id": "159"
|
|
}
|
|
],
|
|
"source_path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
|
|
"status": {
|
|
"doc_done": false,
|
|
"exec_verified": false,
|
|
"imported": true
|
|
},
|
|
"steps": [
|
|
"打开源工作流 example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json,逐项核对下列源节点与注释。",
|
|
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
|
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
|
],
|
|
"title": "5_flux2_klein_图生图_扩图"
|
|
}
|