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

1116 lines
26 KiB
JSON

{
"dependencies": {
"check_state": "unchecked",
"checked_at": null,
"missing": [],
"model_locations": "待目标机提供",
"models": [
"Flux\\Klein9B_动漫转写实真人.safetensors",
"Flux\\flux-2-klein-base-9b-fp8.safetensors",
"flux2-vae.safetensors",
"qwen_3_8b_fp8mixed.safetensors"
],
"node_packs": [],
"node_types": [
"CFGGuider",
"CLIPLoader",
"CLIPTextEncode",
"EmptyFlux2LatentImage",
"Flux2Scheduler",
"GetImageSize",
"Image Comparer (rgthree)",
"ImageScaleToTotalPixels",
"KSamplerSelect",
"LoadImage",
"LoraLoaderModelOnly",
"MarkdownNote",
"Note",
"RandomNoise",
"ReferenceLatent",
"SamplerCustomAdvanced",
"SaveImage",
"UNETLoader",
"VAEDecode",
"VAEEncode",
"VAELoader"
],
"source": null
},
"draft": true,
"errors": [
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:KSamplerSelect"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:CFGGuider"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:CLIPTextEncode"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:ImageScaleToTotalPixels"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:RandomNoise"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:SamplerCustomAdvanced"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:VAELoader"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:CLIPLoader"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:UNETLoader"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:GetImageSize"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:EmptyFlux2LatentImage"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:VAEEncode"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:ReferenceLatent"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:ReferenceLatent"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:VAEDecode"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:Image Comparer (rgthree)"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:Flux2Scheduler"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:CLIPTextEncode"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:LoadImage"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:SaveImage"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:LoraLoaderModelOnly"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "未得到可执行节点"
}
],
"io": {
"inputs": [],
"outputs": []
},
"materials": [],
"params": [],
"purpose": "源目录:example_ComfyUI_workflows/3-图像生成/Flux;工作流:7_flux2_klein_图生图-动漫转真人。用途待逐节点复核。",
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
"source_links": [
{
"link": [
192,
127,
0,
125,
0,
"NOISE"
],
"scope": ""
},
{
"link": [
193,
124,
0,
125,
1,
"GUIDER"
],
"scope": ""
},
{
"link": [
194,
122,
0,
125,
2,
"SAMPLER"
],
"scope": ""
},
{
"link": [
195,
123,
0,
125,
3,
"SIGMAS"
],
"scope": ""
},
{
"link": [
196,
133,
0,
125,
4,
"LATENT"
],
"scope": ""
},
{
"link": [
197,
125,
0,
126,
0,
"LATENT"
],
"scope": ""
},
{
"link": [
198,
132,
0,
126,
1,
"VAE"
],
"scope": ""
},
{
"link": [
199,
129,
0,
131,
0,
"CLIP"
],
"scope": ""
},
{
"link": [
200,
129,
0,
130,
0,
"CLIP"
],
"scope": ""
},
{
"link": [
201,
126,
0,
9,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
207,
134,
0,
136,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
208,
136,
0,
123,
1,
"INT"
],
"scope": ""
},
{
"link": [
209,
136,
0,
133,
0,
"INT"
],
"scope": ""
},
{
"link": [
210,
136,
1,
123,
2,
"INT"
],
"scope": ""
},
{
"link": [
211,
136,
1,
133,
1,
"INT"
],
"scope": ""
},
{
"link": [
212,
76,
0,
134,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
214,
138,
0,
137,
1,
"LATENT"
],
"scope": ""
},
{
"link": [
215,
138,
0,
139,
1,
"LATENT"
],
"scope": ""
},
{
"link": [
216,
130,
0,
139,
0,
"CONDITIONING"
],
"scope": ""
},
{
"link": [
217,
131,
0,
137,
0,
"CONDITIONING"
],
"scope": ""
},
{
"link": [
218,
134,
0,
138,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
219,
132,
0,
138,
1,
"VAE"
],
"scope": ""
},
{
"link": [
220,
139,
0,
124,
1,
"CONDITIONING"
],
"scope": ""
},
{
"link": [
221,
137,
0,
124,
2,
"CONDITIONING"
],
"scope": ""
},
{
"link": [
222,
128,
0,
140,
0,
"MODEL"
],
"scope": ""
},
{
"link": [
223,
140,
0,
124,
0,
"MODEL"
],
"scope": ""
},
{
"link": [
224,
126,
0,
143,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
225,
76,
0,
143,
1,
"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": "KSamplerSelect",
"inputs": [
{
"link": null,
"localized_name": "采样器名称",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
}
}
],
"mode": 0,
"node_id": "122",
"source_values": [
"euler"
],
"title": null
},
{
"class_type": "CFGGuider",
"inputs": [
{
"link": 223,
"localized_name": "模型",
"name": "model",
"type": "MODEL"
},
{
"link": 220,
"localized_name": "正面条件",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 221,
"localized_name": "负面条件",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": null,
"localized_name": "CFG",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
}
],
"mode": 0,
"node_id": "124",
"source_values": [
5
],
"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": "131",
"source_values": [
""
],
"title": "CLIP Text Encode (Negative Prompt)"
},
{
"class_type": "ImageScaleToTotalPixels",
"inputs": [
{
"link": 212,
"localized_name": "图像",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "缩放算法",
"name": "upscale_method",
"type": "COMBO",
"widget": {
"name": "upscale_method"
}
},
{
"link": null,
"localized_name": "像素数量",
"name": "megapixels",
"type": "FLOAT",
"widget": {
"name": "megapixels"
}
},
{
"link": null,
"localized_name": "分辨率步数",
"name": "resolution_steps",
"type": "INT",
"widget": {
"name": "resolution_steps"
}
}
],
"mode": 0,
"node_id": "134",
"source_values": [
"nearest-exact",
1,
1
],
"title": null
},
{
"class_type": "RandomNoise",
"inputs": [
{
"link": null,
"localized_name": "噪波随机种",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
}
}
],
"mode": 0,
"node_id": "127",
"source_values": [
1111269642602890,
"randomize"
],
"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": "125",
"source_values": [],
"title": null
},
{
"class_type": "VAELoader",
"inputs": [
{
"link": null,
"localized_name": "vae名称",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
}
}
],
"mode": 0,
"node_id": "132",
"source_values": [
"flux2-vae.safetensors"
],
"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": "129",
"source_values": [
"qwen_3_8b_fp8mixed.safetensors",
"flux2",
"default"
],
"title": null
},
{
"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": "128",
"source_values": [
"Flux\\flux-2-klein-base-9b-fp8.safetensors",
"default"
],
"title": null
},
{
"class_type": "GetImageSize",
"inputs": [
{
"label": "图像",
"link": 207,
"localized_name": "图像",
"name": "image",
"type": "IMAGE"
}
],
"mode": 0,
"node_id": "136",
"source_values": [],
"title": null
},
{
"class_type": "EmptyFlux2LatentImage",
"inputs": [
{
"link": 209,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 211,
"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": "133",
"source_values": [
1024,
1024,
1
],
"title": null
},
{
"class_type": "VAEEncode",
"inputs": [
{
"link": 218,
"localized_name": "像素",
"name": "pixels",
"type": "IMAGE"
},
{
"link": 219,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"node_id": "138",
"source_values": [],
"title": null
},
{
"class_type": "ReferenceLatent",
"inputs": [
{
"link": 217,
"localized_name": "条件",
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 214,
"localized_name": "Latent",
"name": "latent",
"shape": 7,
"type": "LATENT"
}
],
"mode": 0,
"node_id": "137",
"source_values": [],
"title": null
},
{
"class_type": "ReferenceLatent",
"inputs": [
{
"link": 216,
"localized_name": "条件",
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 215,
"localized_name": "Latent",
"name": "latent",
"shape": 7,
"type": "LATENT"
}
],
"mode": 0,
"node_id": "139",
"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": "126",
"source_values": [],
"title": null
},
{
"class_type": "Image Comparer (rgthree)",
"inputs": [
{
"dir": 3,
"label": "图像_A",
"link": 224,
"localized_name": "图像_A",
"name": "image_a",
"type": "IMAGE"
},
{
"dir": 3,
"label": "图像_B",
"link": 225,
"localized_name": "图像_B",
"name": "image_b",
"type": "IMAGE"
}
],
"mode": 0,
"node_id": "143",
"source_values": [
[
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_kiegy_00001_.png&type=temp&subfolder=&rand=0.720321940021255"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_kiegy_00002_.png&type=temp&subfolder=&rand=0.44830300939920376"
}
]
],
"title": null
},
{
"class_type": "Flux2Scheduler",
"inputs": [
{
"link": null,
"localized_name": "步数",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"link": 208,
"localized_name": "宽度",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 210,
"localized_name": "高度",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
}
],
"mode": 0,
"node_id": "123",
"source_values": [
20,
1024,
1024
],
"title": null
},
{
"class_type": "Note",
"inputs": [],
"mode": 0,
"node_id": "141",
"source_values": [
"主要提示词:\n转年轻的亚洲少女写实风格\n转年轻的亚洲女人写实风格\n转年轻的亚洲女孩写实风格\n转年轻的亚洲男人写实风格\n转年轻的亚洲男人写实风格\n\n额外提示词:\n可以根据性别、人种、年龄段调整提示词。\n可以在主提示词后增加提示词强化人物特征、背景、表情。\n"
],
"title": null
},
{
"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": "130",
"source_values": [
"转年轻的亚洲少女写实风格"
],
"title": "CLIP Text Encode (Positive Prompt)"
},
{
"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": [
"Snipaste_2026-05-31_18-08-49.png",
"image"
],
"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-4b-base"
],
"title": null
},
{
"class_type": "LoraLoaderModelOnly",
"inputs": [
{
"link": 222,
"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": "140",
"source_values": [
"Flux\\Klein9B_动漫转写实真人.safetensors",
1
],
"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": [
"主要提示词:\n转年轻的亚洲少女写实风格\n转年轻的亚洲女人写实风格\n转年轻的亚洲女孩写实风格\n转年轻的亚洲男人写实风格\n转年轻的亚洲男人写实风格\n\n额外提示词:\n可以根据性别、人种、年龄段调整提示词。\n可以在主提示词后增加提示词强化人物特征、背景、表情。\n"
],
"node_id": "141"
}
],
"source_path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"status": {
"doc_done": false,
"exec_verified": false,
"imported": true
},
"steps": [
"打开源工作流 example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json,逐项核对下列源节点与注释。",
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
"明确触发真实测试后核对产物;本批未提交生成任务。"
],
"title": "7_flux2_klein_图生图-动漫转真人"
}