{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {},
        "groups": [
          {
            "bounding": [
              1087.3152903606388,
              890.4428607009079,
              510,
              670
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 3,
            "title": "Step3 - Prompt"
          }
        ],
        "id": "33e8ca06-a6ea-4ed7-967d-e8f18733f2ba",
        "inputNode": {
          "bounding": [
            -1200,
            1190,
            128,
            68
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "ad3153d1-461f-45b0-ac8d-6e3a84b24b4f",
            "linkIds": [
              126,
              156
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              -1096,
              1214
            ],
            "type": "IMAGE"
          }
        ],
        "links": [
          {
            "id": 127,
            "origin_id": 101,
            "origin_slot": 0,
            "target_id": 94,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 113,
            "origin_id": 95,
            "origin_slot": 1,
            "target_id": 96,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 125,
            "origin_id": 92,
            "origin_slot": 0,
            "target_id": 101,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 126,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 101,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 142,
            "origin_id": 127,
            "origin_slot": 0,
            "target_id": 119,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 143,
            "origin_id": 128,
            "origin_slot": 0,
            "target_id": 120,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 144,
            "origin_id": 131,
            "origin_slot": 0,
            "target_id": 122,
            "target_slot": 0,
            "type": "UPSCALE_MODEL"
          },
          {
            "id": 145,
            "origin_id": 121,
            "origin_slot": 0,
            "target_id": 122,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 146,
            "origin_id": 124,
            "origin_slot": 0,
            "target_id": 123,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 147,
            "origin_id": 130,
            "origin_slot": 0,
            "target_id": 123,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 148,
            "origin_id": 122,
            "origin_slot": 0,
            "target_id": 124,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 149,
            "origin_id": 119,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 150,
            "origin_id": 129,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 151,
            "origin_id": 120,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 152,
            "origin_id": 123,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 153,
            "origin_id": 125,
            "origin_slot": 0,
            "target_id": 126,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 154,
            "origin_id": 130,
            "origin_slot": 0,
            "target_id": 126,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 155,
            "origin_id": 128,
            "origin_slot": 0,
            "target_id": 129,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 156,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 121,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 157,
            "origin_id": 121,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 158,
            "origin_id": 126,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 159,
            "origin_id": 94,
            "origin_slot": 0,
            "target_id": 129,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 160,
            "origin_id": 96,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 9,
            "type": "FLOAT"
          }
        ],
        "name": "Img2Img",
        "nodes": [
          {
            "flags": {},
            "id": 92,
            "inputs": [
              {
                "link": null,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              },
              {
                "link": null,
                "localized_name": "type",
                "name": "type",
                "type": "COMBO",
                "widget": {
                  "name": "type"
                }
              },
              {
                "link": null,
                "localized_name": "device",
                "name": "device",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  125
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP"
              }
            ],
            "pos": [
              -880,
              170
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "models": [
                {
                  "directory": "text_encoders",
                  "name": "qwen3.5_4b_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Qwen3.5/resolve/main/text_encoders/qwen3.5_4b_bf16.safetensors"
                }
              ],
              "ver": "0.18.1"
            },
            "size": [
              490,
              150
            ],
            "title": "Load Qwen3.5 4B (Captioner)",
            "type": "CLIPLoader",
            "widgets_values": [
              "qwen3.5_2b_bf16.safetensors",
              "stable_diffusion",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 94,
            "inputs": [
              {
                "link": 127,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [
              {
                "links": [
                  159
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              190,
              170
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.18.1"
            },
            "size": [
              350,
              650
            ],
            "title": "Generated Positive Prompt",
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 95,
            "inputs": [
              {
                "label": "Enhancement Strength",
                "link": null,
                "localized_name": "choice",
                "name": "choice",
                "type": "COMBO",
                "widget": {
                  "name": "choice"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              },
              {
                "links": [
                  113
                ],
                "localized_name": "INDEX",
                "name": "INDEX",
                "type": "INT"
              }
            ],
            "pos": [
              -210,
              880
            ],
            "properties": {
              "Node name for S&R": "CustomCombo",
              "cnr_id": "comfy-core",
              "ver": "0.18.1"
            },
            "size": [
              300,
              280
            ],
            "title": "Enhancement Strength",
            "type": "CustomCombo",
            "widgets_values": [
              "Medium",
              1,
              "Low",
              "Medium",
              "Strong",
              ""
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 96,
            "inputs": [
              {
                "label": "a",
                "link": 113,
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "b",
                "link": null,
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [
              {
                "links": [
                  160
                ],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              190,
              880
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core",
              "ver": "0.18.1"
            },
            "size": [
              350,
              170
            ],
            "title": "Strength → Denoise",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "0.16 if a == 0 else (0.23 if a == 1 else 0.33)"
            ]
          },
          {
            "flags": {},
            "id": 101,
            "inputs": [
              {
                "link": 125,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 126,
                "localized_name": "image",
                "name": "image",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "video",
                "name": "video",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO"
              },
              {
                "link": null,
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                }
              },
              {
                "link": null,
                "localized_name": "max_length",
                "name": "max_length",
                "type": "INT",
                "widget": {
                  "name": "max_length"
                }
              },
              {
                "link": null,
                "localized_name": "sampling_mode",
                "name": "sampling_mode",
                "type": "COMFY_DYNAMICCOMBO_V3",
                "widget": {
                  "name": "sampling_mode"
                }
              },
              {
                "link": null,
                "localized_name": "temperature",
                "name": "sampling_mode.temperature",
                "type": "FLOAT",
                "widget": {
                  "name": "sampling_mode.temperature"
                }
              },
              {
                "link": null,
                "localized_name": "top_k",
                "name": "sampling_mode.top_k",
                "type": "INT",
                "widget": {
                  "name": "sampling_mode.top_k"
                }
              },
              {
                "link": null,
                "localized_name": "top_p",
                "name": "sampling_mode.top_p",
                "type": "FLOAT",
                "widget": {
                  "name": "sampling_mode.top_p"
                }
              },
              {
                "link": null,
                "localized_name": "min_p",
                "name": "sampling_mode.min_p",
                "type": "FLOAT",
                "widget": {
                  "name": "sampling_mode.min_p"
                }
              },
              {
                "link": null,
                "localized_name": "repetition_penalty",
                "name": "sampling_mode.repetition_penalty",
                "type": "FLOAT",
                "widget": {
                  "name": "sampling_mode.repetition_penalty"
                }
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "sampling_mode.seed",
                "type": "INT",
                "widget": {
                  "name": "sampling_mode.seed"
                }
              },
              {
                "link": null,
                "localized_name": "presence_penalty",
                "name": "sampling_mode.presence_penalty",
                "shape": 7,
                "type": "FLOAT",
                "widget": {
                  "name": "sampling_mode.presence_penalty"
                }
              },
              {
                "link": null,
                "localized_name": "thinking",
                "name": "thinking",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "thinking"
                }
              },
              {
                "link": null,
                "localized_name": "use_default_template",
                "name": "use_default_template",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "use_default_template"
                }
              }
            ],
            "mode": 0,
            "order": 17,
            "outputs": [
              {
                "links": [
                  127
                ],
                "localized_name": "generated_text",
                "name": "generated_text",
                "type": "STRING"
              }
            ],
            "pos": [
              -310,
              170
            ],
            "properties": {
              "Node name for S&R": "TextGenerate"
            },
            "size": [
              400,
              532
            ],
            "type": "TextGenerate",
            "widgets_values": [
              "Describe this image as a single 40-100 word prompt for an image generation model. State the main subject, setting, lighting, camera angle, composition, color palette, and overall style in precise, concrete language. Output only the prompt text with no preamble, quotes, or line breaks.",
              512,
              "on",
              0.7,
              64,
              0.95,
              0.05,
              1.05,
              0,
              0,
              false,
              true
            ]
          },
          {
            "flags": {},
            "id": 119,
            "inputs": [
              {
                "link": 142,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "shift",
                "name": "shift",
                "type": "FLOAT",
                "widget": {
                  "name": "shift"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  149
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "slot_index": 0,
                "type": "MODEL"
              }
            ],
            "pos": [
              1800,
              940
            ],
            "properties": {
              "Node name for S&R": "ModelSamplingAuraFlow",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.64"
            },
            "size": [
              380,
              90
            ],
            "type": "ModelSamplingAuraFlow",
            "widgets_values": [
              3
            ]
          },
          {
            "bgcolor": "#535",
            "color": "#323",
            "flags": {},
            "id": 120,
            "inputs": [
              {
                "link": 143,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": null,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  151
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              1090,
              1380
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.73"
            },
            "size": [
              500,
              150
            ],
            "title": "CLIP Text Encode (Negative Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 121,
            "inputs": [
              {
                "link": 156,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "upscale_method",
                "name": "upscale_method",
                "type": "COMBO",
                "widget": {
                  "name": "upscale_method"
                }
              },
              {
                "link": null,
                "localized_name": "megapixels",
                "name": "megapixels",
                "type": "FLOAT",
                "widget": {
                  "name": "megapixels"
                }
              },
              {
                "link": null,
                "localized_name": "resolution_steps",
                "name": "resolution_steps",
                "type": "INT",
                "widget": {
                  "name": "resolution_steps"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  145,
                  157
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              710,
              1840
            ],
            "properties": {
              "Node name for S&R": "ImageScaleToTotalPixels",
              "cnr_id": "comfy-core",
              "ver": "0.13.0"
            },
            "size": [
              330,
              140
            ],
            "type": "ImageScaleToTotalPixels",
            "widgets_values": [
              "lanczos",
              1,
              1
            ]
          },
          {
            "flags": {},
            "id": 122,
            "inputs": [
              {
                "link": 144,
                "localized_name": "upscale_model",
                "name": "upscale_model",
                "type": "UPSCALE_MODEL"
              },
              {
                "link": 145,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  148
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              1060,
              1700
            ],
            "properties": {
              "Node name for S&R": "ImageUpscaleWithModel",
              "cnr_id": "comfy-core",
              "ver": "0.13.0"
            },
            "size": [
              240,
              80
            ],
            "type": "ImageUpscaleWithModel",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 123,
            "inputs": [
              {
                "link": 146,
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE"
              },
              {
                "link": 147,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  152
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              1610,
              1610
            ],
            "properties": {
              "Node name for S&R": "VAEEncode",
              "cnr_id": "comfy-core",
              "ver": "0.13.0"
            },
            "size": [
              230,
              80
            ],
            "type": "VAEEncode",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 124,
            "inputs": [
              {
                "link": 148,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "upscale_method",
                "name": "upscale_method",
                "type": "COMBO",
                "widget": {
                  "name": "upscale_method"
                }
              },
              {
                "link": null,
                "localized_name": "scale_by",
                "name": "scale_by",
                "type": "FLOAT",
                "widget": {
                  "name": "scale_by"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  146
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              1310,
              1700
            ],
            "properties": {
              "Node name for S&R": "ImageScaleBy",
              "cnr_id": "comfy-core",
              "ver": "0.13.0"
            },
            "size": [
              230,
              120
            ],
            "type": "ImageScaleBy",
            "widgets_values": [
              "lanczos",
              0.5
            ]
          },
          {
            "flags": {},
            "id": 125,
            "inputs": [
              {
                "link": 149,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 150,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 151,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 152,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": null,
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                }
              },
              {
                "link": null,
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                }
              },
              {
                "link": null,
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                }
              },
              {
                "link": null,
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                }
              },
              {
                "link": 160,
                "localized_name": "denoise",
                "name": "denoise",
                "type": "FLOAT",
                "widget": {
                  "name": "denoise"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  153
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              1800,
              1090
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.64"
            },
            "size": [
              370,
              320
            ],
            "type": "KSampler",
            "widgets_values": [
              324122075788056,
              "randomize",
              5,
              1,
              "dpmpp_2m_sde",
              "beta",
              0.25
            ]
          },
          {
            "flags": {},
            "id": 126,
            "inputs": [
              {
                "link": 153,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 154,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  158
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2210,
              940
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.64"
            },
            "size": [
              260,
              80
            ],
            "type": "VAEDecode",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 127,
            "inputs": [
              {
                "link": null,
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                }
              },
              {
                "link": null,
                "localized_name": "weight_dtype",
                "name": "weight_dtype",
                "type": "COMBO",
                "widget": {
                  "name": "weight_dtype"
                }
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  142
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              710,
              880
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "z_image_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/z_image/resolve/main/split_files/diffusion_models/z_image_bf16.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.73"
            },
            "size": [
              330,
              130
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "z_image_turbo_bf16.safetensors",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 128,
            "inputs": [
              {
                "link": null,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              },
              {
                "link": null,
                "localized_name": "type",
                "name": "type",
                "type": "COMBO",
                "widget": {
                  "name": "type"
                }
              },
              {
                "link": null,
                "localized_name": "device",
                "name": "device",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  143,
                  155
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP"
              }
            ],
            "pos": [
              710,
              1100
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "text_encoders",
                  "name": "qwen_3_4b.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.73"
            },
            "size": [
              330,
              160
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "qwen_3_4b.safetensors",
              "lumina2",
              "default"
            ]
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 129,
            "inputs": [
              {
                "link": 155,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 159,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  150
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              1090,
              950
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.73"
            },
            "size": [
              500,
              390
            ],
            "title": "CLIP Text Encode (Positive Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              "masterpiece, 8k"
            ]
          },
          {
            "flags": {},
            "id": 130,
            "inputs": [
              {
                "link": null,
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                }
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  147,
                  154
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE"
              }
            ],
            "pos": [
              710,
              1320
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "vae",
                  "name": "ae.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.73"
            },
            "size": [
              330,
              100
            ],
            "type": "VAELoader",
            "widgets_values": [
              "ae.safetensors"
            ]
          },
          {
            "flags": {},
            "id": 131,
            "inputs": [
              {
                "link": null,
                "localized_name": "model_name",
                "name": "model_name",
                "type": "COMBO",
                "widget": {
                  "name": "model_name"
                }
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  144
                ],
                "localized_name": "UPSCALE_MODEL",
                "name": "UPSCALE_MODEL",
                "type": "UPSCALE_MODEL"
              }
            ],
            "pos": [
              710,
              1690
            ],
            "properties": {
              "Node name for S&R": "UpscaleModelLoader",
              "cnr_id": "comfy-core",
              "ver": "0.13.0"
            },
            "size": [
              330,
              100
            ],
            "type": "UpscaleModelLoader",
            "widgets_values": [
              "4xNomosUniDAT_otf.pth"
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2820,
            1190,
            128,
            88
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "b7c5d7c7-624e-4d26-ad02-02d71abc66b2",
            "linkIds": [
              157
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              2844,
              1214
            ],
            "type": "IMAGE"
          },
          {
            "id": "038570aa-2553-46d2-a398-1b3a616bc6e9",
            "linkIds": [
              158
            ],
            "localized_name": "IMAGE_1",
            "name": "IMAGE_1",
            "pos": [
              2844,
              1234
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 4,
          "lastLinkId": 160,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        416.97767881892696,
        -522.6590928168338
      ],
      "scale": 0.9229599817706413
    },
    "frontendVersion": "1.45.15",
    "linearData": {
      "inputs": [
        [
          "77",
          "image"
        ],
        [
          "95",
          "choice"
        ]
      ],
      "outputs": [
        "9"
      ]
    },
    "linearMode": true,
    "workflowRendererVersion": "Vue-corrected"
  },
  "groups": [],
  "id": "9ae6082b-c7f4-433c-9971-7a8f65a3ea65",
  "last_link_id": 160,
  "last_node_id": 131,
  "links": [
    [
      138,
      77,
      0,
      118,
      0,
      "IMAGE"
    ],
    [
      139,
      118,
      0,
      86,
      0,
      "IMAGE"
    ],
    [
      140,
      118,
      1,
      9,
      0,
      "IMAGE"
    ],
    [
      141,
      118,
      1,
      86,
      1,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 9,
      "inputs": [
        {
          "link": 140,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": null,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1050,
        820
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ver": "0.3.64"
      },
      "size": [
        340,
        400
      ],
      "type": "SaveImage",
      "widgets_values": [
        "z-image-upscaled"
      ]
    },
    {
      "flags": {},
      "id": 77,
      "inputs": [
        {
          "label": "Load Image",
          "link": null,
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            138
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -230,
        820
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.13.0"
      },
      "size": [
        340,
        400
      ],
      "type": "LoadImage",
      "widgets_values": [
        "2ed0d136e3eac12ca21e34ce83e5a3b35c2bcd4202adc1c1ffba5ca28ba98409.png",
        "image"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 86,
      "inputs": [
        {
          "link": 139,
          "localized_name": "image_a",
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 141,
          "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,
      "order": 3,
      "outputs": [],
      "pos": [
        640,
        820
      ],
      "properties": {
        "Node name for S&R": "ImageCompare",
        "cnr_id": "comfy-core",
        "ver": "0.13.0"
      },
      "size": [
        340,
        400
      ],
      "type": "ImageCompare",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 118,
      "inputs": [
        {
          "link": 138,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            139
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            140,
            141
          ],
          "localized_name": "IMAGE_1",
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        180,
        820
      ],
      "properties": {
        "proxyWidgets": [
          [
            "95",
            "choice"
          ],
          [
            "125",
            "seed"
          ],
          [
            "127",
            "unet_name"
          ],
          [
            "128",
            "clip_name"
          ],
          [
            "130",
            "vae_name"
          ]
        ]
      },
      "size": [
        400,
        400
      ],
      "title": "Img2Img",
      "type": "33e8ca06-a6ea-4ed7-967d-e8f18733f2ba",
      "widgets_values": []
    }
  ],
  "revision": 0,
  "version": 0.4
}