{
 "9": {
  "inputs": {
   "filename_prefix": "z-image-upscaled",
   "images": [
    "118:126",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Image"
  }
 },
 "77": {
  "inputs": {
   "image": "2ed0d136e3eac12ca21e34ce83e5a3b35c2bcd4202adc1c1ffba5ca28ba98409.png"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Load Image"
  }
 },
 "86": {
  "inputs": {
   "image_a": [
    "118:121",
    0
   ],
   "image_b": [
    "118:126",
    0
   ],
   "compare_view": {
    "__value__": [
     "",
     ""
    ]
   }
  },
  "class_type": "ImageCompare",
  "_meta": {
   "title": "Compare Images"
  }
 },
 "118:92": {
  "inputs": {
   "clip_name": "qwen3.5_2b_bf16.safetensors",
   "type": "stable_diffusion",
   "device": "default"
  },
  "class_type": "CLIPLoader",
  "_meta": {
   "title": "Load Qwen3.5 4B (Captioner)"
  }
 },
 "118:94": {
  "inputs": {
   "source": [
    "118:101",
    0
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Generated Positive Prompt"
  }
 },
 "118:95": {
  "inputs": {
   "choice": "Medium"
  },
  "class_type": "CustomCombo",
  "_meta": {
   "title": "Enhancement Strength"
  }
 },
 "118:96": {
  "inputs": {
   "expression": "0.16 if a == 0 else (0.23 if a == 1 else 0.33)",
   "values.a": [
    "118:95",
    1
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Strength \u2192 Denoise"
  }
 },
 "118:101": {
  "inputs": {
   "prompt": "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.",
   "max_length": 512,
   "sampling_mode": "on",
   "thinking": false,
   "use_default_template": true,
   "mtp": "auto",
   "clip": [
    "118:92",
    0
   ],
   "image": [
    "77",
    0
   ],
   "sampling_mode.temperature": 0.7,
   "sampling_mode.top_k": 64,
   "sampling_mode.top_p": 0.95,
   "sampling_mode.min_p": 0.05,
   "sampling_mode.repetition_penalty": 1.05,
   "sampling_mode.seed": 0,
   "sampling_mode.presence_penalty": 0
  },
  "class_type": "TextGenerate",
  "_meta": {
   "title": "Generate Text"
  }
 },
 "118:119": {
  "inputs": {
   "shift": 3,
   "sampling": "flow",
   "model": [
    "118:127",
    0
   ]
  },
  "class_type": "ModelSamplingAuraFlow",
  "_meta": {
   "title": "ModelSamplingAuraFlow"
  }
 },
 "118:120": {
  "inputs": {
   "text": "",
   "clip": [
    "118:128",
    0
   ]
  },
  "class_type": "CLIPTextEncode",
  "_meta": {
   "title": "CLIP Text Encode (Negative Prompt)"
  }
 },
 "118:121": {
  "inputs": {
   "upscale_method": "lanczos",
   "megapixels": 1,
   "resolution_steps": 1,
   "image": [
    "77",
    0
   ]
  },
  "class_type": "ImageScaleToTotalPixels",
  "_meta": {
   "title": "Scale Image to Total Pixels"
  }
 },
 "118:122": {
  "inputs": {
   "upscale_model": [
    "118:131",
    0
   ],
   "image": [
    "118:121",
    0
   ]
  },
  "class_type": "ImageUpscaleWithModel",
  "_meta": {
   "title": "Upscale Image (using Model)"
  }
 },
 "118:123": {
  "inputs": {
   "pixels": [
    "118:124",
    0
   ],
   "vae": [
    "118:130",
    0
   ]
  },
  "class_type": "VAEEncode",
  "_meta": {
   "title": "VAE Encode"
  }
 },
 "118:124": {
  "inputs": {
   "upscale_method": "lanczos",
   "scale_by": 0.5,
   "image": [
    "118:122",
    0
   ]
  },
  "class_type": "ImageScaleBy",
  "_meta": {
   "title": "Upscale Image By"
  }
 },
 "118:125": {
  "inputs": {
   "seed": 324122075788056,
   "steps": 5,
   "cfg": 1,
   "sampler_name": "dpmpp_2m_sde",
   "scheduler": "beta",
   "model": [
    "118:119",
    0
   ],
   "positive": [
    "118:129",
    0
   ],
   "negative": [
    "118:120",
    0
   ],
   "latent_image": [
    "118:123",
    0
   ],
   "denoise": [
    "118:96",
    0
   ]
  },
  "class_type": "KSampler",
  "_meta": {
   "title": "KSampler"
  }
 },
 "118:126": {
  "inputs": {
   "samples": [
    "118:125",
    0
   ],
   "vae": [
    "118:130",
    0
   ]
  },
  "class_type": "VAEDecode",
  "_meta": {
   "title": "VAE Decode"
  }
 },
 "118:127": {
  "inputs": {
   "unet_name": "z_image_turbo_bf16.safetensors",
   "weight_dtype": "default"
  },
  "class_type": "UNETLoader",
  "_meta": {
   "title": "Load Diffusion Model"
  }
 },
 "118:128": {
  "inputs": {
   "clip_name": "qwen_3_4b.safetensors",
   "type": "lumina2",
   "device": "default"
  },
  "class_type": "CLIPLoader",
  "_meta": {
   "title": "Load CLIP"
  }
 },
 "118:129": {
  "inputs": {
   "text": [
    "118:94",
    0
   ],
   "clip": [
    "118:128",
    0
   ]
  },
  "class_type": "CLIPTextEncode",
  "_meta": {
   "title": "CLIP Text Encode (Positive Prompt)"
  }
 },
 "118:130": {
  "inputs": {
   "vae_name": "ae.safetensors"
  },
  "class_type": "VAELoader",
  "_meta": {
   "title": "Load VAE"
  }
 },
 "118:131": {
  "inputs": {
   "model_name": "4xNomosUniDAT_otf.pth"
  },
  "class_type": "UpscaleModelLoader",
  "_meta": {
   "title": "Load Upscale Model"
  }
 }
}