{
  "id": "72cb989e-0685-4414-9090-2aa78b609863",
  "revision": 0,
  "last_node_id": 95,
  "last_link_id": 202,
  "nodes": [
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        1522.863522962869,
        301.6497714348519
      ],
      "size": [
        225,
        46
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 178
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 76
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            101
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      }
    },
    {
      "id": 37,
      "type": "UNETLoader",
      "pos": [
        185.27693819380838,
        44.26968414916068
      ],
      "size": [
        305.3782043457031,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            160
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "models": [
          {
            "name": "qwen_image_2.1_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_int8_convrot.safetensors",
        "default"
      ],
      "widgets_values_named": {
        "unet_name": "qwen_image_2.1_int8_convrot.safetensors",
        "weight_dtype": "default"
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 38,
      "type": "CLIPLoader",
      "pos": [
        77.76108300474493,
        220.44320157234893
      ],
      "size": [
        301.3524169921875,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 0,
          "links": [
            182
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "models": [
          {
            "name": "qwen3vl_8b_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen3vl_8b_int8_convrot.safetensors",
        "qwen_image",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3vl_8b_int8_convrot.safetensors",
        "type": "qwen_image",
        "device": "default"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 62,
      "type": "EmptyLatentImage",
      "pos": [
        887.1315791180087,
        583.0298587205432
      ],
      "size": [
        274.7672706150911,
        106
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 190
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 191
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            167
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage",
        "cnr_id": "comfy-core",
        "ver": "0.26.0"
      },
      "widgets_values": [
        512,
        512,
        1
      ],
      "widgets_values_named": {
        "width": 512,
        "height": 512,
        "batch_size": 1
      }
    },
    {
      "id": 56,
      "type": "SaveImage",
      "pos": [
        1782.5909076726493,
        301.6497714348519
      ],
      "size": [
        489.073393208286,
        726.2006674745486
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 101
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.75"
      },
      "widgets_values": [
        "ComfyUI"
      ],
      "widgets_values_named": {
        "filename_prefix": "ComfyUI"
      }
    },
    {
      "id": 55,
      "type": "MarkdownNote",
      "pos": [
        -448.35001302754995,
        -71.09826473603846
      ],
      "size": [
        446.5927533972422,
        514.062500526828
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## models\n\n- diffusion_models\n  - [qwen_image_2.1_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors) (7.26 GB)\n- loras\n  - [qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/loras/qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors) (913 MB)\n- text_encoders\n  - [qwen3vl_8b_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors) (9.35 GB)\n- vae\n  - [qwen_image_2.1_vae_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/vae/qwen_image_2.1_vae_bf16.safetensors) (676 MB)\n\n```text\n📂ComfyUI/\n└── 📂models/\n    ├── 📂diffusion_models/\n    │   └── qwen_image_2.1_int8_convrot.safetensors\n    ├── 📂loras/\n    │   └── qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors\n    ├── 📂text_encoders/\n    │   └── qwen3vl_8b_int8_convrot.safetensors\n    └── 📂vae/\n        └── qwen_image_2.1_vae_bf16.safetensors\n```\n\n## guide\n\n- [日本語](https://comfyui.nomadoor.net/ja/basic-workflows/qwen-image-2-1/)\n- [English](https://comfyui.nomadoor.net/en/basic-workflows/qwen-image-2-1/)\n- [中文](https://comfyui.nomadoor.net/zh/basic-workflows/qwen-image-2-1/)"
      ],
      "widgets_values_named": {
        "text": "## models\n\n- diffusion_models\n  - [qwen_image_2.1_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors) (7.26 GB)\n- loras\n  - [qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/loras/qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors) (913 MB)\n- text_encoders\n  - [qwen3vl_8b_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors) (9.35 GB)\n- vae\n  - [qwen_image_2.1_vae_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/vae/qwen_image_2.1_vae_bf16.safetensors) (676 MB)\n\n```text\n📂ComfyUI/\n└── 📂models/\n    ├── 📂diffusion_models/\n    │   └── qwen_image_2.1_int8_convrot.safetensors\n    ├── 📂loras/\n    │   └── qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors\n    ├── 📂text_encoders/\n    │   └── qwen3vl_8b_int8_convrot.safetensors\n    └── 📂vae/\n        └── qwen_image_2.1_vae_bf16.safetensors\n```\n\n## guide\n\n- [日本語](https://comfyui.nomadoor.net/ja/basic-workflows/qwen-image-2-1/)\n- [English](https://comfyui.nomadoor.net/en/basic-workflows/qwen-image-2-1/)\n- [中文](https://comfyui.nomadoor.net/zh/basic-workflows/qwen-image-2-1/)"
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 39,
      "type": "VAELoader",
      "pos": [
        77.76108300474493,
        393.43104205301273
      ],
      "size": [
        301.3524169921875,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            76,
            187
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "models": [
          {
            "name": "qwen_image_2.1_vae_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_vae_bf16.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "qwen_image_2.1_vae_bf16.safetensors"
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 73,
      "type": "LoraLoaderModelOnly",
      "pos": [
        530.8613497334037,
        44.26968414916068
      ],
      "size": [
        305.3782043457031,
        82
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 160
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            168
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "LoraLoaderModelOnly",
        "models": [
          {
            "name": "qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/loras/qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors",
            "directory": "loras"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors",
        1
      ],
      "widgets_values_named": {
        "lora_name": "qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors",
        "strength_model": 1
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 75,
      "type": "SamplerCustomAdvanced",
      "pos": [
        1235.0022008427766,
        301.64977143485197
      ],
      "size": [
        253.133937410312,
        106
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 162
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 164
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 165
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 177
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 167
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            178
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "SamplerCustomAdvanced"
      }
    },
    {
      "id": 76,
      "type": "RandomNoise",
      "pos": [
        884.3888257748025,
        44.26968414916068
      ],
      "size": [
        274.7672706150911,
        82
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            162
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
        1234,
        "fixed"
      ],
      "widgets_values_named": {
        "noise_seed": 1234,
        "control_after_generate": "fixed"
      }
    },
    {
      "id": 78,
      "type": "BasicGuider",
      "pos": [
        884.3888257748025,
        199.9438419188056
      ],
      "size": [
        274.7672706150911,
        46
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 168
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 183
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            164
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "BasicGuider"
      }
    },
    {
      "id": 79,
      "type": "KSamplerSelect",
      "pos": [
        884.3888257748025,
        319.6179996884507
      ],
      "size": [
        274.7672706150911,
        58
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            165
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
        "euler"
      ],
      "widgets_values_named": {
        "sampler_name": "euler"
      }
    },
    {
      "id": 80,
      "type": "ManualSigmas",
      "pos": [
        884.3888257748025,
        451.2921574580959
      ],
      "size": [
        274.7672706150911,
        58
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            177
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "ManualSigmas"
      },
      "widgets_values": [
        "1.0, 0.978453, 0.95418, 0.926626, 0.89508, 0.845148, 0.704534, 0.414568, 0.0"
      ],
      "widgets_values_named": {
        "sigmas": "1.0, 0.978453, 0.95418, 0.926626, 0.89508, 0.845148, 0.704534, 0.414568, 0.0"
      }
    },
    {
      "id": 88,
      "type": "TextEncodeQwenImage21",
      "pos": [
        417.72124908088233,
        220.44320157234893
      ],
      "size": [
        418.5183049982245,
        266
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 182
        },
        {
          "name": "images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 200
        },
        {
          "name": "images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": 201
        },
        {
          "name": "images.image_3",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 187
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            183
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": null
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "TextEncodeQwenImage21"
      },
      "widgets_values": [
        "Add a tall blue cylindrical quiz-show hat on the cat’s head in the region indicated by <image2>. The hat has a flat blue brim, a tall straight-sided blue crown decorated with large white stars, and an oversized red question mark standing upright above the top of the hat. A small gold ribbon-shaped ornament sits beneath the question mark. Keep the rest of <image1> unchanged.",
        "",
        0
      ],
      "widgets_values_named": {
        "prompt": "Add a tall blue cylindrical quiz-show hat on the cat’s head in the region indicated by <image2>. The hat has a flat blue brim, a tall straight-sided blue crown decorated with large white stars, and an oversized red question mark standing upright above the top of the hat. A small gold ribbon-shaped ornament sits beneath the question mark. Keep the rest of <image1> unchanged.",
        "negative_prompt": "",
        "resolution": 0
      }
    },
    {
      "id": 91,
      "type": "GetImageSize",
      "pos": [
        611.2395540791068,
        606.6237182455733
      ],
      "size": [
        225,
        136
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 202
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            190
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            191
          ]
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "GetImageSize"
      }
    },
    {
      "id": 92,
      "type": "LoadImage",
      "pos": [
        -711.2219033476217,
        606.6237182455733
      ],
      "size": [
        439.6157543570455,
        729.9649041597434
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            193
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            194
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "LoadImage",
        "image": "qwen_image_2_1_turbo_image_edit_local_mask_input.webp"
      },
      "widgets_values": [
        "qwen_image_2_1_turbo_image_edit_local_mask_input.webp",
        "image"
      ],
      "widgets_values_named": {
        "image": "qwen_image_2_1_turbo_image_edit_local_mask_input.webp",
        "upload": "image"
      }
    },
    {
      "id": 93,
      "type": "ResizeImageMaskNode",
      "pos": [
        -212.34190412238794,
        606.6237182455733
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "input",
          "type": "IMAGE,MASK",
          "link": 193
        }
      ],
      "outputs": [
        {
          "name": "resized",
          "type": "IMAGE",
          "links": [
            196,
            200,
            202
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "ResizeImageMaskNode"
      },
      "widgets_values": [
        "scale to multiple",
        32,
        "bicubic"
      ],
      "widgets_values_named": {
        "resize_type": "scale to multiple",
        "resize_type.multiple": 32,
        "scale_method": "bicubic"
      }
    },
    {
      "id": 94,
      "type": "MaskToImage",
      "pos": [
        -216.2463244968219,
        826.1747279314517
      ],
      "size": [
        270,
        26
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 194
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            195
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "MaskToImage"
      }
    },
    {
      "id": 95,
      "type": "ResizeImageMaskNode",
      "pos": [
        109.11349999693243,
        826.1747279314517
      ],
      "size": [
        270,
        126
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "input",
          "type": "IMAGE,MASK",
          "link": 195
        },
        {
          "name": "resize_type.match",
          "type": "IMAGE,MASK",
          "link": 196
        }
      ],
      "outputs": [
        {
          "name": "resized",
          "type": "IMAGE",
          "links": [
            201
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "ResizeImageMaskNode"
      },
      "widgets_values": [
        "match size",
        "center",
        "bicubic"
      ],
      "widgets_values_named": {
        "resize_type": "match size",
        "resize_type.crop": "center",
        "scale_method": "bicubic"
      }
    }
  ],
  "links": [
    [
      76,
      39,
      0,
      8,
      1,
      "VAE"
    ],
    [
      101,
      8,
      0,
      56,
      0,
      "IMAGE"
    ],
    [
      160,
      37,
      0,
      73,
      0,
      "MODEL"
    ],
    [
      162,
      76,
      0,
      75,
      0,
      "NOISE"
    ],
    [
      164,
      78,
      0,
      75,
      1,
      "GUIDER"
    ],
    [
      165,
      79,
      0,
      75,
      2,
      "SAMPLER"
    ],
    [
      167,
      62,
      0,
      75,
      4,
      "LATENT"
    ],
    [
      168,
      73,
      0,
      78,
      0,
      "MODEL"
    ],
    [
      177,
      80,
      0,
      75,
      3,
      "SIGMAS"
    ],
    [
      178,
      75,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      183,
      88,
      0,
      78,
      1,
      "CONDITIONING"
    ],
    [
      190,
      91,
      0,
      62,
      0,
      "INT"
    ],
    [
      191,
      91,
      1,
      62,
      1,
      "INT"
    ],
    [
      194,
      92,
      1,
      94,
      0,
      "MASK"
    ],
    [
      202,
      93,
      0,
      91,
      0,
      "IMAGE"
    ],
    [
      193,
      92,
      0,
      93,
      0,
      "IMAGE"
    ],
    [
      195,
      94,
      0,
      95,
      0,
      "IMAGE"
    ],
    [
      196,
      93,
      0,
      95,
      1,
      "IMAGE"
    ],
    [
      182,
      38,
      0,
      88,
      0,
      "CLIP"
    ],
    [
      200,
      93,
      0,
      88,
      1,
      "IMAGE"
    ],
    [
      201,
      95,
      0,
      88,
      2,
      "IMAGE"
    ],
    [
      187,
      39,
      0,
      88,
      4,
      "VAE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6934334949441353,
      "offset": [
        1475.4923093588857,
        403.64123045850766
      ]
    },
    "frontendVersion": "1.55.14",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}