{ "dependencies": { "check_state": "unchecked", "checked_at": null, "missing": [], "model_locations": "待目标机提供", "models": [ "Qwen-Image2.1\\Qwen2.1_bfs_head_v1.1.safetensors", "Qwen-Image2.1\\p_qwen_image_2.1_8step_v0.1.safetensors", "Qwen-Image\\qwen_image_2.1_bf16.safetensors", "qwen3vl_8b_int8_convrot.safetensors", "qwen_image_2.1_vae_bf16.safetensors" ], "node_packs": [], "node_types": [ "AddLabel", "CLIPLoader", "EmptyLatentImage", "GetNode", "Image Comparer (rgthree)", "ImageCompare", "ImageConcatMulti", "ImageResizeKJv2", "KSampler", "LoadImage", "LoraLoaderModelOnly", "MarkdownNote", "Note", "PreviewImage", "QwenImage21Cache", "ResolutionSelector", "SaveImageAdvanced", "SetNode", "TextEncodeQwenImage21", "UNETLoader", "VAEDecode", "VAELoader" ], "source": null }, "draft": true, "errors": [ { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:ImageCompare" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:SetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:SetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:SetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:SetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:ResolutionSelector" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:GetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:GetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:EmptyLatentImage" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:VAELoader" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:CLIPLoader" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:VAEDecode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:GetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:GetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:GetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:ImageResizeKJv2" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:TextEncodeQwenImage21" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:Image Comparer (rgthree)" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:AddLabel" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:ImageResizeKJv2" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:KSampler" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:LoraLoaderModelOnly" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:UNETLoader" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:GetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:GetNode" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:ImageConcatMulti" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:LoraLoaderModelOnly" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:PreviewImage" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:QwenImage21Cache" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:SaveImageAdvanced" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:LoadImage" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "待提供目标机节点定义:LoadImage" }, { "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", "symptom": "未得到可执行节点" } ], "io": { "inputs": [], "outputs": [] }, "materials": [], "params": [], "purpose": "Qwen Image2.1 头部迁移图含多路 LoadImage、拼接与 AddLabel,以及 LoRA。", "snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b", "source_links": [ { "link": [ 731, 470, 0, 477, 0, "IMAGE" ], "scope": "" }, { "link": [ 735, 13, 0, 477, 2, "INT" ], "scope": "" }, { "link": [ 736, 13, 1, 477, 3, "INT" ], "scope": "" }, { "link": [ 737, 13, 0, 478, 2, "INT" ], "scope": "" }, { "link": [ 738, 13, 1, 478, 3, "INT" ], "scope": "" }, { "link": [ 739, 475, 0, 478, 0, "IMAGE" ], "scope": "" }, { "link": [ 744, 461, 0, 480, 1, "IMAGE" ], "scope": "" }, { "link": [ 754, 485, 0, 487, 1, "VAE" ], "scope": "" }, { "link": [ 756, 490, 0, 487, 0, "LATENT" ], "scope": "" }, { "link": [ 759, 495, 0, 490, 0, "MODEL" ], "scope": "" }, { "link": [ 770, 491, 0, 492, 0, "MODEL" ], "scope": "" }, { "link": [ 775, 496, 0, 490, 1, "CONDITIONING" ], "scope": "" }, { "link": [ 776, 496, 1, 490, 2, "CONDITIONING" ], "scope": "" }, { "link": [ 788, 486, 0, 490, 3, "LATENT" ], "scope": "" }, { "link": [ 791, 461, 0, 498, 5, "IMAGE" ], "scope": "" }, { "link": [ 793, 498, 0, 499, 0, "IMAGE" ], "scope": "" }, { "link": [ 794, 499, 0, 500, 0, "IMAGE" ], "scope": "" }, { "link": [ 799, 493, 0, 495, 0, "MODEL" ], "scope": "" }, { "link": [ 800, 492, 0, 493, 0, "MODEL" ], "scope": "" }, { "link": [ 805, 477, 0, 505, 0, "IMAGE" ], "scope": "" }, { "link": [ 809, 507, 0, 480, 0, "IMAGE" ], "scope": "" }, { "link": [ 810, 508, 0, 498, 0, "IMAGE" ], "scope": "" }, { "link": [ 813, 478, 0, 509, 0, "IMAGE" ], "scope": "" }, { "link": [ 816, 511, 0, 498, 1, "IMAGE" ], "scope": "" }, { "link": [ 817, 477, 1, 512, 0, "INT" ], "scope": "" }, { "link": [ 819, 477, 2, 513, 0, "INT" ], "scope": "" }, { "link": [ 820, 514, 0, 486, 0, "INT" ], "scope": "" }, { "link": [ 821, 515, 0, 486, 1, "INT" ], "scope": "" }, { "link": [ 755, 487, 0, 461, 0, "IMAGE" ], "scope": "" }, { "link": [ 772, 484, 0, 496, 0, "CLIP" ], "scope": "" }, { "link": [ 807, 506, 0, 496, 1, "IMAGE" ], "scope": "" }, { "link": [ 814, 510, 0, 496, 2, "IMAGE" ], "scope": "" }, { "link": [ 774, 485, 0, 496, 4, "VAE" ], "scope": "" } ], "source_nodes": [ { "class_type": "ImageCompare", "inputs": [ { "link": null, "localized_name": "image_a", "name": "image_a", "shape": 7, "type": "IMAGE" }, { "link": null, "localized_name": "image_b", "name": "image_b", "shape": 7, "type": "IMAGE" }, { "link": null, "localized_name": "compare_view", "name": "compare_view", "type": "IMAGECOMPARE", "widget": { "name": "compare_view" } } ], "mode": 0, "node_id": "472", "source_values": [], "title": null }, { "class_type": "SetNode", "inputs": [ { "label": "输入", "link": 813, "localized_name": "输入", "name": "IMAGE", "type": "IMAGE" } ], "mode": 0, "node_id": "509", "source_values": [ "head_reference" ], "title": "Set_head_reference" }, { "class_type": "SetNode", "inputs": [ { "label": "输入", "link": 819, "localized_name": "输入", "name": "INT", "type": "INT" } ], "mode": 0, "node_id": "513", "source_values": [ "height" ], "title": "Set_height" }, { "class_type": "SetNode", "inputs": [ { "label": "输入", "link": 817, "localized_name": "输入", "name": "INT", "type": "INT" } ], "mode": 0, "node_id": "512", "source_values": [ "width" ], "title": "Set_width" }, { "class_type": "SetNode", "inputs": [ { "label": "输入", "link": 805, "localized_name": "输入", "name": "IMAGE", "type": "IMAGE" } ], "mode": 0, "node_id": "505", "source_values": [ "body_reference" ], "title": "Set_body_reference" }, { "class_type": "ResolutionSelector", "inputs": [ { "link": null, "localized_name": "宽高比", "name": "aspect_ratio", "type": "COMBO", "widget": { "name": "aspect_ratio" } }, { "link": null, "localized_name": "百万像素", "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" } }, { "link": null, "localized_name": "倍数", "name": "multiple", "type": "INT", "widget": { "name": "multiple" } }, { "link": null, "localized_name": "preview", "name": "preview", "shape": 7, "type": "RESOLUTION_PREVIEW", "widget": { "name": "preview" } } ], "mode": 0, "node_id": "13", "source_values": [ "9:16 (Portrait Widescreen)", 2, 32 ], "title": null }, { "class_type": "GetNode", "inputs": [], "mode": 0, "node_id": "514", "source_values": [ "width" ], "title": "Get_width" }, { "class_type": "GetNode", "inputs": [], "mode": 0, "node_id": "515", "source_values": [ "height" ], "title": "Get_height" }, { "class_type": "EmptyLatentImage", "inputs": [ { "link": 820, "localized_name": "宽度", "name": "width", "type": "INT", "widget": { "name": "width" } }, { "link": 821, "localized_name": "高度", "name": "height", "type": "INT", "widget": { "name": "height" } }, { "link": null, "localized_name": "批量大小", "name": "batch_size", "type": "INT", "widget": { "name": "batch_size" } } ], "mode": 0, "node_id": "486", "source_values": [ 1024, 1024, 1 ], "title": null }, { "class_type": "VAELoader", "inputs": [ { "link": null, "localized_name": "vae名称", "name": "vae_name", "type": "COMBO", "widget": { "name": "vae_name" } } ], "mode": 0, "node_id": "485", "source_values": [ "qwen_image_2.1_vae_bf16.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": "484", "source_values": [ "qwen3vl_8b_int8_convrot.safetensors", "qwen_image", "default" ], "title": null }, { "class_type": "MarkdownNote", "inputs": [], "mode": 0, "node_id": "463", "source_values": [ "## Size\nQwen Image 2.1 has native 2K (2048*2048) support for direct output.\n\n- resolution is a total pixel budget (not width or height). Aspect ratio is preserved.\n- Official default is 1024. The model supports up to 2048.\n- This template starts at 0: no resize beyond a multiple of 32.\n- Output follows image_1. Extra refs can differ in size or aspect.\n- custom_size off: canvas comes from the encode latent (image_1).\n- custom_size on: use ResolutionSelector width/height. Keep it close to the resized image_1 size, or the edit can shift.\n\n## Reference images\n- Up to 10 reference images (image_1 to image_10).\n- Mention them in the prompt as ``, ``, ...\n- image_1 is the edit target. The rest are references.\n\n## Custom settings\nIf you need custom settings, enter or unpack the subgraph to edit it. See the [Subgraph](https://docs.comfy.org/interface/features/subgraph) guide.\n\n## Parameters\n- prompt: edit instruction. Use `` ... ``.\n- negative_prompt: unused while cfg is 1.\n- cfg: keep 1 for the Qwen Image 2.1 official path. Raise it only if you use a negative prompt.\n- steps: Qwen Image 2.1 official pipeline uses about 40-50 with euler. This template starts at 25. More advanced samplers need fewer steps." ], "title": "Note: Usage" }, { "class_type": "VAEDecode", "inputs": [ { "link": 756, "localized_name": "Latent", "name": "samples", "type": "LATENT" }, { "link": 754, "localized_name": "vae", "name": "vae", "type": "VAE" } ], "mode": 0, "node_id": "487", "source_values": [], "title": null }, { "class_type": "GetNode", "inputs": [], "mode": 0, "node_id": "507", "source_values": [ "body_reference" ], "title": "Get_body_reference" }, { "class_type": "GetNode", "inputs": [], "mode": 0, "node_id": "506", "source_values": [ "body_reference" ], "title": "Get_body_reference" }, { "class_type": "GetNode", "inputs": [], "mode": 0, "node_id": "510", "source_values": [ "head_reference" ], "title": "Get_head_reference" }, { "class_type": "ImageResizeKJv2", "inputs": [ { "label": "图像", "link": 731, "localized_name": "图像", "name": "image", "type": "IMAGE" }, { "label": "遮罩", "link": null, "localized_name": "遮罩", "name": "mask", "shape": 7, "type": "MASK" }, { "label": "宽度", "link": 735, "localized_name": "宽度", "name": "width", "type": "INT", "widget": { "name": "width" } }, { "label": "高度", "link": 736, "localized_name": "高度", "name": "height", "type": "INT", "widget": { "name": "height" } }, { "label": "缩放方法", "link": null, "localized_name": "缩放方法", "name": "upscale_method", "type": "COMBO", "widget": { "name": "upscale_method" } }, { "label": "固定宽高比", "link": null, "localized_name": "固定宽高比", "name": "keep_proportion", "type": "COMBO", "widget": { "name": "keep_proportion" } }, { "label": "填充颜色", "link": null, "localized_name": "填充颜色", "name": "pad_color", "type": "STRING", "widget": { "name": "pad_color" } }, { "label": "裁剪位置", "link": null, "localized_name": "裁剪位置", "name": "crop_position", "type": "COMBO", "widget": { "name": "crop_position" } }, { "label": "因数", "link": null, "localized_name": "因数", "name": "divisible_by", "type": "INT", "widget": { "name": "divisible_by" } }, { "label": "设备", "link": null, "localized_name": "设备", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" } } ], "mode": 0, "node_id": "477", "source_values": [ 512, 512, "lanczos", "resize", "0, 0, 0", "center", 32, "cpu" ], "title": null }, { "class_type": "TextEncodeQwenImage21", "inputs": [ { "link": 772, "localized_name": "clip", "name": "clip", "type": "CLIP" }, { "link": 807, "localized_name": "image_1", "name": "images.image_1", "shape": 7, "type": "IMAGE" }, { "link": 814, "localized_name": "image_2", "name": "images.image_2", "shape": 7, "type": "IMAGE" }, { "link": null, "localized_name": "image_3", "name": "images.image_3", "shape": 7, "type": "IMAGE" }, { "link": 774, "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE" }, { "link": null, "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" } }, { "link": null, "localized_name": "negative_prompt", "name": "negative_prompt", "type": "STRING", "widget": { "name": "negative_prompt" } }, { "link": null, "localized_name": "resolution", "name": "resolution", "type": "INT", "widget": { "name": "resolution" } } ], "mode": 0, "node_id": "496", "source_values": [ "head_swap: start with as the base image, keeping its lighting, environment, and background. remove the head from completely and replace it with the head from , strictly preserving the hair, eye color, nose structure from . copy the direction of the eye, head rotation, micro expressions from , high quality, sharp details, 4k", "", 0 ], "title": null }, { "class_type": "Image Comparer (rgthree)", "inputs": [ { "dir": 3, "label": "图像_A", "link": 809, "localized_name": "图像_A", "name": "image_a", "type": "IMAGE" }, { "dir": 3, "label": "图像_B", "link": 744, "localized_name": "图像_B", "name": "image_b", "type": "IMAGE" } ], "mode": 0, "node_id": "480", "source_values": [ [ { "name": "A", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_lgpiv_00009_.png&type=temp&subfolder=&rand=0.22352694002039986" }, { "name": "B", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_lgpiv_00010_.png&type=temp&subfolder=&rand=0.21151239837683367" } ] ], "title": null }, { "class_type": "AddLabel", "inputs": [ { "label": "图像", "link": 793, "localized_name": "图像", "name": "image", "type": "IMAGE" }, { "label": "标题", "link": null, "localized_name": "标题", "name": "caption", "shape": 7, "type": "STRING" }, { "label": "位置_X", "link": null, "localized_name": "位置_X", "name": "text_x", "type": "INT", "widget": { "name": "text_x" } }, { "label": "位置_Y", "link": null, "localized_name": "位置_Y", "name": "text_y", "type": "INT", "widget": { "name": "text_y" } }, { "label": "高度", "link": null, "localized_name": "高度", "name": "height", "type": "INT", "widget": { "name": "height" } }, { "label": "字体大小", "link": null, "localized_name": "字体大小", "name": "font_size", "type": "INT", "widget": { "name": "font_size" } }, { "label": "字体颜色", "link": null, "localized_name": "字体颜色", "name": "font_color", "type": "STRING", "widget": { "name": "font_color" } }, { "label": "背景颜色", "link": null, "localized_name": "背景颜色", "name": "label_color", "type": "STRING", "widget": { "name": "label_color" } }, { "label": "字体", "link": null, "localized_name": "字体", "name": "font", "type": "COMBO", "widget": { "name": "font" } }, { "label": "文本", "link": null, "localized_name": "文本", "name": "text", "type": "STRING", "widget": { "name": "text" } }, { "label": "方向", "link": null, "localized_name": "方向", "name": "direction", "type": "COMBO", "widget": { "name": "direction" } } ], "mode": 0, "node_id": "499", "source_values": [ 10, 2, 82, 24, "white", "black", "FreeMono.ttf", "head_swap: start with as the base image, keeping its lighting, environment, and background. remove the head from completely and replace it with the head from , strictly preserving the hair, eye color, nose structure from . copy the direction of the eye, head rotation, micro expressions from , high quality, sharp details, 4k", "down" ], "title": null }, { "class_type": "ImageResizeKJv2", "inputs": [ { "label": "图像", "link": 739, "localized_name": "图像", "name": "image", "type": "IMAGE" }, { "label": "遮罩", "link": null, "localized_name": "遮罩", "name": "mask", "shape": 7, "type": "MASK" }, { "label": "宽度", "link": 737, "localized_name": "宽度", "name": "width", "type": "INT", "widget": { "name": "width" } }, { "label": "高度", "link": 738, "localized_name": "高度", "name": "height", "type": "INT", "widget": { "name": "height" } }, { "label": "缩放方法", "link": null, "localized_name": "缩放方法", "name": "upscale_method", "type": "COMBO", "widget": { "name": "upscale_method" } }, { "label": "固定宽高比", "link": null, "localized_name": "固定宽高比", "name": "keep_proportion", "type": "COMBO", "widget": { "name": "keep_proportion" } }, { "label": "填充颜色", "link": null, "localized_name": "填充颜色", "name": "pad_color", "type": "STRING", "widget": { "name": "pad_color" } }, { "label": "裁剪位置", "link": null, "localized_name": "裁剪位置", "name": "crop_position", "type": "COMBO", "widget": { "name": "crop_position" } }, { "label": "因数", "link": null, "localized_name": "因数", "name": "divisible_by", "type": "INT", "widget": { "name": "divisible_by" } }, { "label": "设备", "link": null, "localized_name": "设备", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" } } ], "mode": 0, "node_id": "478", "source_values": [ 512, 512, "lanczos", "resize", "0, 0, 0", "center", 32, "cpu" ], "title": null }, { "class_type": "MarkdownNote", "inputs": [], "mode": 0, "node_id": "476", "source_values": [ "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Input Assets\n\n- [portrait_model_denim.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/portrait_model_denim.png)\n- [clothing_light_blue_denim_shirt.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/clothing_light_blue_denim_shirt.png)\n\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1)\n- [ModelScope:Comfy-Org/Qwen-Image-2.1](https://modelscope.cn/models/Comfy-Org/Qwen-Image-2.1)\n\n**diffusion_models**\n\n- [qwen_image_2.1_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_bf16.safetensors)\n- [qwen_image_2.1_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_8b_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_bf16.safetensors)\n- [qwen3vl_8b_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors) \n\n**vae**\n\n- [qwen_image_2.1_vae_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors)\n\n**loras**\n\n- [p_qwen_image_2.1_5step_v0.1.safetensors](https://huggingface.co/PrunaAI/Pruna-Qwen-Image-2.1/blob/main/p_qwen_image_2.1_5step_v0.1.safetensors)\n\n- [p_qwen_image_2.1_8step_v0.1.safetensors](https://huggingface.co/PrunaAI/Pruna-Qwen-Image-2.1/blob/main/p_qwen_image_2.1_8step_v0.1.safetensors)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ ├── qwen_image_2.1_bf16.safetensors\n│ │ └── qwen_image_2.1_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ ├── qwen3vl_8b_bf16.safetensors\n│ │ └── qwen3vl_8b_int8_convrot.safetensors\n│ └── 📂 vae/\n│ └── qwen_image_2.1_vae_bf16.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\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": "Note: Model links" }, { "class_type": "Note", "inputs": [], "mode": 0, "node_id": "516", "source_values": [ "To use res_2m/res_2s/deis_2m, you need res4lyf nodes installed.\n\nhttps://github.com/ClownsharkBatwing/RES4LYF" ], "title": null }, { "class_type": "KSampler", "inputs": [ { "link": 759, "localized_name": "模型", "name": "model", "type": "MODEL" }, { "link": 775, "localized_name": "正面条件", "name": "positive", "type": "CONDITIONING" }, { "link": 776, "localized_name": "负面条件", "name": "negative", "type": "CONDITIONING" }, { "link": 788, "localized_name": "Latent图像", "name": "latent_image", "type": "LATENT" }, { "link": null, "localized_name": "种子", "name": "seed", "type": "INT", "widget": { "name": "seed" } }, { "link": null, "localized_name": "步数", "name": "steps", "type": "INT", "widget": { "name": "steps" } }, { "link": null, "localized_name": "cfg", "name": "cfg", "type": "FLOAT", "widget": { "name": "cfg" } }, { "link": null, "localized_name": "采样器名称", "name": "sampler_name", "type": "COMBO", "widget": { "name": "sampler_name" } }, { "link": null, "localized_name": "调度器", "name": "scheduler", "type": "COMBO", "widget": { "name": "scheduler" } }, { "link": null, "localized_name": "降噪", "name": "denoise", "type": "FLOAT", "widget": { "name": "denoise" } } ], "mode": 0, "node_id": "490", "source_values": [ 42, "fixed", 8, 1, "deis_2m", "simple", 1 ], "title": null }, { "class_type": "LoraLoaderModelOnly", "inputs": [ { "link": 800, "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": "493", "source_values": [ "Qwen-Image2.1\\Qwen2.1_bfs_head_v1.1.safetensors", 1 ], "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": "491", "source_values": [ "Qwen-Image\\qwen_image_2.1_bf16.safetensors", "default" ], "title": null }, { "class_type": "GetNode", "inputs": [], "mode": 0, "node_id": "508", "source_values": [ "body_reference" ], "title": "Get_body_reference" }, { "class_type": "GetNode", "inputs": [], "mode": 0, "node_id": "511", "source_values": [ "head_reference" ], "title": "Get_head_reference" }, { "class_type": "ImageConcatMulti", "inputs": [ { "label": "图像_1", "link": 810, "localized_name": "图像_1", "name": "image_1", "type": "IMAGE,MASK" }, { "label": "图像_2", "link": 816, "localized_name": "图像_2", "name": "image_2", "shape": 7, "type": "IMAGE,MASK" }, { "label": "输入数量", "link": null, "localized_name": "输入数量", "name": "inputcount", "type": "INT", "widget": { "name": "inputcount" } }, { "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" } }, { "link": 791, "name": "image_3", "shape": 7, "type": "IMAGE,MASK" } ], "mode": 0, "node_id": "498", "source_values": [ 3, "right", true, null ], "title": null }, { "class_type": "Note", "inputs": [], "mode": 0, "node_id": "517", "source_values": [ "在Qwen 2.1中有一个非常令人恼火的现象,即使你只修改图像的一小部分,似乎整张图像都会受到影响;颜色会改变,细节会丢失,看起来会更加模糊等等。设法稍微缓解这个问题的方法是以2K分辨率生成图像,但即便如此,效果依然很差。" ], "title": null }, { "class_type": "LoraLoaderModelOnly", "inputs": [ { "link": 770, "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": "492", "source_values": [ "Qwen-Image2.1\\p_qwen_image_2.1_8step_v0.1.safetensors", 1 ], "title": null }, { "class_type": "PreviewImage", "inputs": [ { "link": 794, "localized_name": "图像", "name": "images", "type": "IMAGE" } ], "mode": 0, "node_id": "500", "source_values": [], "title": null }, { "class_type": "QwenImage21Cache", "inputs": [ { "link": 799, "localized_name": "model", "name": "model", "type": "MODEL" }, { "link": null, "localized_name": "device", "name": "device", "type": "COMBO", "widget": { "name": "device" } }, { "link": null, "localized_name": "dtype", "name": "dtype", "type": "COMBO", "widget": { "name": "dtype" } } ], "mode": 0, "node_id": "495", "source_values": [ "auto", "default" ], "title": null }, { "class_type": "SaveImageAdvanced", "inputs": [ { "link": 755, "localized_name": "图像", "name": "images", "type": "IMAGE" }, { "link": null, "localized_name": "文件名前缀", "name": "filename_prefix", "type": "STRING", "widget": { "name": "filename_prefix" } }, { "link": null, "localized_name": "格式", "name": "format", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "format" } }, { "link": null, "localized_name": "位深度", "name": "format.bit_depth", "type": "COMBO", "widget": { "name": "format.bit_depth" } }, { "link": null, "localized_name": "输入色彩空间", "name": "format.input_color_space", "type": "COMBO", "widget": { "name": "format.input_color_space" } } ], "mode": 0, "node_id": "461", "source_values": [ "image/Qwen_image_2.1", "png", "8-bit", "sRGB" ], "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": "470", "source_values": [ "20260416_161003_Z-Image_00001_.png", "image" ], "title": "全身参考" }, { "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": "475", "source_values": [ "ComfyUI_Klein_00026_.png", "image" ], "title": "头部参考" } ], "source_notes": [ { "content": [ "## Size\nQwen Image 2.1 has native 2K (2048*2048) support for direct output.\n\n- resolution is a total pixel budget (not width or height). Aspect ratio is preserved.\n- Official default is 1024. The model supports up to 2048.\n- This template starts at 0: no resize beyond a multiple of 32.\n- Output follows image_1. Extra refs can differ in size or aspect.\n- custom_size off: canvas comes from the encode latent (image_1).\n- custom_size on: use ResolutionSelector width/height. Keep it close to the resized image_1 size, or the edit can shift.\n\n## Reference images\n- Up to 10 reference images (image_1 to image_10).\n- Mention them in the prompt as ``, ``, ...\n- image_1 is the edit target. The rest are references.\n\n## Custom settings\nIf you need custom settings, enter or unpack the subgraph to edit it. See the [Subgraph](https://docs.comfy.org/interface/features/subgraph) guide.\n\n## Parameters\n- prompt: edit instruction. Use `` ... ``.\n- negative_prompt: unused while cfg is 1.\n- cfg: keep 1 for the Qwen Image 2.1 official path. Raise it only if you use a negative prompt.\n- steps: Qwen Image 2.1 official pipeline uses about 40-50 with euler. This template starts at 25. More advanced samplers need fewer steps." ], "node_id": "463" }, { "content": [ "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Input Assets\n\n- [portrait_model_denim.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/portrait_model_denim.png)\n- [clothing_light_blue_denim_shirt.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/clothing_light_blue_denim_shirt.png)\n\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1)\n- [ModelScope:Comfy-Org/Qwen-Image-2.1](https://modelscope.cn/models/Comfy-Org/Qwen-Image-2.1)\n\n**diffusion_models**\n\n- [qwen_image_2.1_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_bf16.safetensors)\n- [qwen_image_2.1_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_8b_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_bf16.safetensors)\n- [qwen3vl_8b_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors) \n\n**vae**\n\n- [qwen_image_2.1_vae_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors)\n\n**loras**\n\n- [p_qwen_image_2.1_5step_v0.1.safetensors](https://huggingface.co/PrunaAI/Pruna-Qwen-Image-2.1/blob/main/p_qwen_image_2.1_5step_v0.1.safetensors)\n\n- [p_qwen_image_2.1_8step_v0.1.safetensors](https://huggingface.co/PrunaAI/Pruna-Qwen-Image-2.1/blob/main/p_qwen_image_2.1_8step_v0.1.safetensors)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ ├── qwen_image_2.1_bf16.safetensors\n│ │ └── qwen_image_2.1_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ ├── qwen3vl_8b_bf16.safetensors\n│ │ └── qwen3vl_8b_int8_convrot.safetensors\n│ └── 📂 vae/\n│ └── qwen_image_2.1_vae_bf16.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\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": "476" }, { "content": [ "To use res_2m/res_2s/deis_2m, you need res4lyf nodes installed.\n\nhttps://github.com/ClownsharkBatwing/RES4LYF" ], "node_id": "516" }, { "content": [ "在Qwen 2.1中有一个非常令人恼火的现象,即使你只修改图像的一小部分,似乎整张图像都会受到影响;颜色会改变,细节会丢失,看起来会更加模糊等等。设法稍微缓解这个问题的方法是以2K分辨率生成图像,但即便如此,效果依然很差。" ], "node_id": "517" } ], "source_path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json", "source_review": { "complete": false, "evidence": { "link_count": 33, "model_references": [ "Qwen-Image2.1\\Qwen2.1_bfs_head_v1.1.safetensors", "Qwen-Image2.1\\p_qwen_image_2.1_8step_v0.1.safetensors", "Qwen-Image\\qwen_image_2.1_bf16.safetensors", "qwen3vl_8b_int8_convrot.safetensors", "qwen_image_2.1_vae_bf16.safetensors" ], "named_value_count": 0, "node_count": 36, "note_node_ids": [ "463", "476", "516", "517" ], "unnamed_widget_node_ids": [ "509", "513", "512", "505", "13", "514", "515", "486", "485", "484", "507", "506", "510", "477", "496", "480", "499", "478", "490", "493", "491", "508", "511", "498", "492", "495", "461", "470", "475" ] }, "instruction": "按标签和连线核对头部与目标人物图;BFS 名称不证明目标效果,需保留源图角色证据。", "purpose": "Qwen Image2.1 头部迁移图含多路 LoadImage、拼接与 AddLabel,以及 LoRA。", "reviewed_named_fields": [], "scope": [ "结构及用途局部审校", "源具名参数/注释/连线/素材模型用途人工语义局部审校" ], "semantic_review": { "batch": "HEL-892-third", "conclusions": [ "470/475分别缩放后通过body_reference/head_reference送496两路(807/814),485的VAE接496槽4", "493头部LoRA与492八步LoRA须同时区分。516说明deis_2m需RES4LYF,517提醒整图颜色/细节可能变化", "先核对头身顺序、498拼接与499字体,再比较输出身份,不承诺只影响头部。" ], "evidence_refs": { "nodes": [ { "node_id": "485", "pointer": "/source_nodes/9" }, { "node_id": "496", "pointer": "/source_nodes/17" }, { "node_id": "499", "pointer": "/source_nodes/19" }, { "node_id": "516", "pointer": "/source_nodes/22" }, { "node_id": "493", "pointer": "/source_nodes/24" }, { "node_id": "498", "pointer": "/source_nodes/28" }, { "node_id": "517", "pointer": "/source_nodes/29" }, { "node_id": "492", "pointer": "/source_nodes/30" }, { "node_id": "470", "pointer": "/source_nodes/34" }, { "node_id": "475", "pointer": "/source_nodes/35" } ], "notes": [ { "node_id": "516", "pointer": "/source_notes/2" }, { "node_id": "517", "pointer": "/source_notes/3" } ], "source_graph": "/source_links(按scope区分主图与子图;连线ID仅在各自scope内有效)" }, "mechanical_inventory": { "link_count": 33, "named_value_count": 0, "note_count": 4, "position_widget_node_count": 29 }, "named_parameter_finding": "未发现可由源文件确认的具名参数", "operation_check": "470/475分别缩放后通过body_reference/head_reference送496两路(807/814),485的VAE接496槽4;493头部LoRA与492八步LoRA须同时区分。516说明deis_2m需RES4LYF,517提醒整图颜色/细节可能变化;先核对头身顺序、498拼接与499字体,再比较输出身份,不承诺只影响头部。", "unknowns": [ "位置数组未按位置具名,具名字段单位/合法范围/调整效果未获定义验证", "注释中的效果、性能、版本支持为源作者陈述,未作外部或环境验证", "静音/旁路、虚拟节点、子图、开关与连线覆盖的实际执行结果待原前端API导出", "模型/素材引用只表示源文件出现,实际安装、位置、可用性和输出编码待真实环境核对" ] }, "source_sha": "ee6c6a35d3581940e3a5fe54c19a72f41e86b3f3", "unconfirmed": [ "逐参数语义、单位、范围和调整效果未定稿", "UI 位置控件未具名,含子图和旁路的实际执行路径待黄金导出", "模型/节点包位置、素材可用性及实际输出未在目标环境核对" ] }, "source_review_sha": "dfc11ea238a87532ff9842a8552faf78b95d3893014e8383d16f087b1f4dcba7", "status": { "doc_done": false, "exec_verified": false, "imported": true }, "steps": [ "按标签和连线核对头部与目标人物图;BFS 名称不证明目标效果,需保留源图角色证据。", "470/475分别缩放后通过body_reference/head_reference送496两路(807/814),485的VAE接496槽4;493头部LoRA与492八步LoRA须同时区分。516说明deis_2m需RES4LYF,517提醒整图颜色/细节可能变化;先核对头身顺序、498拼接与499字体,再比较输出身份,不承诺只影响头部。", "打开源工作流 example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json,逐项核对下列源节点与注释。", "补齐节点定义、模型来源及所需素材;完成输入输出映射核对。", "明确触发真实测试后核对产物;本批未提交生成任务。" ], "title": "Qwen_image2.1_图像编辑_角色BFS头部迁移" }