1148 lines
30 KiB
JSON
1148 lines
30 KiB
JSON
{
|
||
"dependencies": {
|
||
"check_state": "unchecked",
|
||
"checked_at": null,
|
||
"missing": [],
|
||
"model_locations": "待目标机提供",
|
||
"models": [
|
||
"RealESRGAN_x4plus.pth",
|
||
"Z-Image\\z_image_turbo_bf16.safetensors",
|
||
"ae.safetensors",
|
||
"qwen_3_4b.safetensors"
|
||
],
|
||
"node_packs": [],
|
||
"node_types": [
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c",
|
||
"CLIPLoader",
|
||
"CLIPTextEncode",
|
||
"Image Comparer (rgthree)",
|
||
"ImageScaleBy",
|
||
"ImageScaleToMaxDimension",
|
||
"ImageUpscaleWithModel",
|
||
"KSampler",
|
||
"LoadImage",
|
||
"MarkdownNote",
|
||
"ModelSamplingAuraFlow",
|
||
"SaveImage",
|
||
"UNETLoader",
|
||
"UpscaleModelLoader",
|
||
"VAEDecode",
|
||
"VAEEncode",
|
||
"VAELoader"
|
||
],
|
||
"source": null
|
||
},
|
||
"draft": true,
|
||
"errors": [
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "包含子图:需原 ComfyUI API 导出及差分核对"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:SaveImage"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:Image Comparer (rgthree)"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:LoadImage"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "未得到可执行节点"
|
||
}
|
||
],
|
||
"io": {
|
||
"inputs": [],
|
||
"outputs": []
|
||
},
|
||
"materials": [],
|
||
"params": [],
|
||
"purpose": "Z-Image 图像放大图含 LoadImage、VAEEncode、模型放大及子图。",
|
||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||
"source_links": [
|
||
{
|
||
"link": [
|
||
207,
|
||
162,
|
||
0,
|
||
143,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
213,
|
||
132,
|
||
0,
|
||
162,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
217,
|
||
162,
|
||
0,
|
||
166,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
218,
|
||
132,
|
||
0,
|
||
166,
|
||
1,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 104,
|
||
"origin_id": 66,
|
||
"origin_slot": 0,
|
||
"target_id": 70,
|
||
"target_slot": 0,
|
||
"type": "MODEL"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 82,
|
||
"origin_id": 62,
|
||
"origin_slot": 0,
|
||
"target_id": 71,
|
||
"target_slot": 0,
|
||
"type": "CLIP"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 87,
|
||
"origin_id": 76,
|
||
"origin_slot": 0,
|
||
"target_id": 79,
|
||
"target_slot": 0,
|
||
"type": "UPSCALE_MODEL"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 93,
|
||
"origin_id": 81,
|
||
"origin_slot": 0,
|
||
"target_id": 80,
|
||
"target_slot": 0,
|
||
"type": "IMAGE"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 90,
|
||
"origin_id": 63,
|
||
"origin_slot": 0,
|
||
"target_id": 80,
|
||
"target_slot": 1,
|
||
"type": "VAE"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 92,
|
||
"origin_id": 79,
|
||
"origin_slot": 0,
|
||
"target_id": 81,
|
||
"target_slot": 0,
|
||
"type": "IMAGE"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 74,
|
||
"origin_id": 70,
|
||
"origin_slot": 0,
|
||
"target_id": 69,
|
||
"target_slot": 0,
|
||
"type": "MODEL"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 75,
|
||
"origin_id": 67,
|
||
"origin_slot": 0,
|
||
"target_id": 69,
|
||
"target_slot": 1,
|
||
"type": "CONDITIONING"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 83,
|
||
"origin_id": 71,
|
||
"origin_slot": 0,
|
||
"target_id": 69,
|
||
"target_slot": 2,
|
||
"type": "CONDITIONING"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 91,
|
||
"origin_id": 80,
|
||
"origin_slot": 0,
|
||
"target_id": 69,
|
||
"target_slot": 3,
|
||
"type": "LATENT"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 72,
|
||
"origin_id": 69,
|
||
"origin_slot": 0,
|
||
"target_id": 65,
|
||
"target_slot": 0,
|
||
"type": "LATENT"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 73,
|
||
"origin_id": 63,
|
||
"origin_slot": 0,
|
||
"target_id": 65,
|
||
"target_slot": 1,
|
||
"type": "VAE"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 78,
|
||
"origin_id": 62,
|
||
"origin_slot": 0,
|
||
"target_id": 67,
|
||
"target_slot": 0,
|
||
"type": "CLIP"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 97,
|
||
"origin_id": 65,
|
||
"origin_slot": 0,
|
||
"target_id": -20,
|
||
"target_slot": 0,
|
||
"type": "IMAGE"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 109,
|
||
"origin_id": -10,
|
||
"origin_slot": 1,
|
||
"target_id": 66,
|
||
"target_slot": 0,
|
||
"type": "COMBO"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 110,
|
||
"origin_id": -10,
|
||
"origin_slot": 2,
|
||
"target_id": 62,
|
||
"target_slot": 0,
|
||
"type": "COMBO"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 111,
|
||
"origin_id": -10,
|
||
"origin_slot": 3,
|
||
"target_id": 63,
|
||
"target_slot": 0,
|
||
"type": "COMBO"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 112,
|
||
"origin_id": -10,
|
||
"origin_slot": 4,
|
||
"target_id": 76,
|
||
"target_slot": 0,
|
||
"type": "COMBO"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 215,
|
||
"origin_id": -10,
|
||
"origin_slot": 0,
|
||
"target_id": 164,
|
||
"target_slot": 0,
|
||
"type": "IMAGE"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 216,
|
||
"origin_id": 164,
|
||
"origin_slot": 0,
|
||
"target_id": 79,
|
||
"target_slot": 1,
|
||
"type": "IMAGE"
|
||
},
|
||
"scope": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/"
|
||
}
|
||
],
|
||
"source_nodes": [
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "138",
|
||
"source_values": [
|
||
""
|
||
],
|
||
"title": "Hit run 👆"
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "134",
|
||
"source_values": [
|
||
"This is an **Upscaling** workflow for advanced image enhancement in diffusion models using Z Image Turbo, featuring **Automatic Image Analysis** with Florence2Run to generate refined prompts and optimize output quality."
|
||
],
|
||
"title": "ℹ️ Info"
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "133",
|
||
"source_values": [
|
||
"## Upscaling\n\nUpscaling increases image resolution and detail via diffusion, creating a higher-quality version that preserves original content and structure.\nIt adds denoised pixels throughout to enlarge the image, blending with the upscaled base for better clarity.\n\n## Automatic Image Analysis\n\nAutomatic image analysis with Florence-2 via Florence2Run to inspect the input image and create refined prompts for upscaling guidance.\nIt enhances the diffusion model with detailed descriptions of objects, textures, and contexts to improve results."
|
||
],
|
||
"title": "🔍 Core Concept"
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "160",
|
||
"source_values": [
|
||
"👈 Enter the [subgraph](https://docs.comfy.org/interface/features/subgraph) \nto understand the upscale"
|
||
],
|
||
"title": "Note"
|
||
},
|
||
{
|
||
"class_type": "SaveImage",
|
||
"inputs": [
|
||
{
|
||
"link": 207,
|
||
"localized_name": "图片",
|
||
"name": "images",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "文件名前缀",
|
||
"name": "filename_prefix",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "filename_prefix"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "143",
|
||
"source_values": [
|
||
"ComfyUI"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "165",
|
||
"source_values": [
|
||
"## Upscale\n\nUsing Image Z Turbo on a low denoise value, we can increase detail in an image.\n\nCompared to a basic diffusion process a upscale uses lower denoising values.\n| Parameters | Basic Diffusion | Upscaling |\n|--------|---------|------------\n| Ksampler: denoise | 1.0 | 0.2 - 0.35 "
|
||
],
|
||
"title": "Step 2 - Upscale"
|
||
},
|
||
{
|
||
"class_type": "Image Comparer (rgthree)",
|
||
"inputs": [
|
||
{
|
||
"dir": 3,
|
||
"label": "图像_A",
|
||
"link": 217,
|
||
"localized_name": "图像_A",
|
||
"name": "image_a",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"dir": 3,
|
||
"label": "图像_B",
|
||
"link": 218,
|
||
"localized_name": "图像_B",
|
||
"name": "image_b",
|
||
"type": "IMAGE"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "166",
|
||
"source_values": [
|
||
[]
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c",
|
||
"inputs": [
|
||
{
|
||
"link": 213,
|
||
"localized_name": "image",
|
||
"name": "image",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"name": "unet_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "unet_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"name": "clip_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "clip_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"name": "vae_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "vae_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"name": "model_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "model_name"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "162",
|
||
"source_values": [],
|
||
"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": "132",
|
||
"source_values": [
|
||
"ComfyUI_01643_.png",
|
||
"image"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "KSampler",
|
||
"inputs": [
|
||
{
|
||
"link": 74,
|
||
"localized_name": "模型",
|
||
"name": "model",
|
||
"type": "MODEL"
|
||
},
|
||
{
|
||
"link": 75,
|
||
"localized_name": "正面条件",
|
||
"name": "positive",
|
||
"type": "CONDITIONING"
|
||
},
|
||
{
|
||
"link": 83,
|
||
"localized_name": "负面条件",
|
||
"name": "negative",
|
||
"type": "CONDITIONING"
|
||
},
|
||
{
|
||
"link": 91,
|
||
"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": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/69",
|
||
"source_values": [
|
||
334054213285785,
|
||
"randomize",
|
||
5,
|
||
1,
|
||
"dpmpp_2m_sde",
|
||
"beta",
|
||
0.33
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "UNETLoader",
|
||
"inputs": [
|
||
{
|
||
"link": 109,
|
||
"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": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/66",
|
||
"source_values": [
|
||
"Z-Image\\z_image_turbo_bf16.safetensors",
|
||
"default"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "CLIPLoader",
|
||
"inputs": [
|
||
{
|
||
"link": 110,
|
||
"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": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/62",
|
||
"source_values": [
|
||
"qwen_3_4b.safetensors",
|
||
"lumina2",
|
||
"default"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "VAELoader",
|
||
"inputs": [
|
||
{
|
||
"link": 111,
|
||
"localized_name": "vae名称",
|
||
"name": "vae_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "vae_name"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/63",
|
||
"source_values": [
|
||
"ae.safetensors"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "ModelSamplingAuraFlow",
|
||
"inputs": [
|
||
{
|
||
"link": 104,
|
||
"localized_name": "模型",
|
||
"name": "model",
|
||
"type": "MODEL"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "移位",
|
||
"name": "shift",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "shift"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/70",
|
||
"source_values": [
|
||
3
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "VAEDecode",
|
||
"inputs": [
|
||
{
|
||
"link": 72,
|
||
"localized_name": "Latent",
|
||
"name": "samples",
|
||
"type": "LATENT"
|
||
},
|
||
{
|
||
"link": 73,
|
||
"localized_name": "vae",
|
||
"name": "vae",
|
||
"type": "VAE"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/65",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "ImageUpscaleWithModel",
|
||
"inputs": [
|
||
{
|
||
"link": 87,
|
||
"localized_name": "放大模型",
|
||
"name": "upscale_model",
|
||
"type": "UPSCALE_MODEL"
|
||
},
|
||
{
|
||
"link": 216,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"type": "IMAGE"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/79",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "ImageScaleToMaxDimension",
|
||
"inputs": [
|
||
{
|
||
"link": 215,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "放大方法",
|
||
"name": "upscale_method",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "upscale_method"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "最大尺寸",
|
||
"name": "largest_size",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "largest_size"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/164",
|
||
"source_values": [
|
||
"lanczos",
|
||
2048
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "UpscaleModelLoader",
|
||
"inputs": [
|
||
{
|
||
"link": 112,
|
||
"localized_name": "模型名称",
|
||
"name": "model_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "model_name"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/76",
|
||
"source_values": [
|
||
"RealESRGAN_x4plus.pth"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "ImageScaleBy",
|
||
"inputs": [
|
||
{
|
||
"link": 92,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "缩放算法",
|
||
"name": "upscale_method",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "upscale_method"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "缩放系数",
|
||
"name": "scale_by",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "scale_by"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/81",
|
||
"source_values": [
|
||
"lanczos",
|
||
0.5
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "VAEEncode",
|
||
"inputs": [
|
||
{
|
||
"link": 93,
|
||
"localized_name": "像素",
|
||
"name": "pixels",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": 90,
|
||
"localized_name": "vae",
|
||
"name": "vae",
|
||
"type": "VAE"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/80",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "CLIPTextEncode",
|
||
"inputs": [
|
||
{
|
||
"link": 82,
|
||
"localized_name": "clip",
|
||
"name": "clip",
|
||
"type": "CLIP"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "文本",
|
||
"name": "text",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "text"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/71",
|
||
"source_values": [
|
||
""
|
||
],
|
||
"title": "CLIP Text Encode (Negative Prompt)"
|
||
},
|
||
{
|
||
"class_type": "CLIPTextEncode",
|
||
"inputs": [
|
||
{
|
||
"link": 78,
|
||
"localized_name": "clip",
|
||
"name": "clip",
|
||
"type": "CLIP"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "文本",
|
||
"name": "text",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "text"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/67",
|
||
"source_values": [
|
||
"masterpiece, 8k"
|
||
],
|
||
"title": "CLIP Text Encode (Positive Prompt)"
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/163",
|
||
"source_values": [
|
||
"In order to increase fidelity we will pre-upscale the image before resampling it with the Ksampler.\n\n1. Set the target Resolution in ImageScaleToMaxDimension\n\n2. Select an upscaling model \n"
|
||
],
|
||
"title": "Upscale by model 👁️"
|
||
}
|
||
],
|
||
"source_notes": [
|
||
{
|
||
"content": [
|
||
""
|
||
],
|
||
"node_id": "138"
|
||
},
|
||
{
|
||
"content": [
|
||
"This is an **Upscaling** workflow for advanced image enhancement in diffusion models using Z Image Turbo, featuring **Automatic Image Analysis** with Florence2Run to generate refined prompts and optimize output quality."
|
||
],
|
||
"node_id": "134"
|
||
},
|
||
{
|
||
"content": [
|
||
"## Upscaling\n\nUpscaling increases image resolution and detail via diffusion, creating a higher-quality version that preserves original content and structure.\nIt adds denoised pixels throughout to enlarge the image, blending with the upscaled base for better clarity.\n\n## Automatic Image Analysis\n\nAutomatic image analysis with Florence-2 via Florence2Run to inspect the input image and create refined prompts for upscaling guidance.\nIt enhances the diffusion model with detailed descriptions of objects, textures, and contexts to improve results."
|
||
],
|
||
"node_id": "133"
|
||
},
|
||
{
|
||
"content": [
|
||
"👈 Enter the [subgraph](https://docs.comfy.org/interface/features/subgraph) \nto understand the upscale"
|
||
],
|
||
"node_id": "160"
|
||
},
|
||
{
|
||
"content": [
|
||
"## Upscale\n\nUsing Image Z Turbo on a low denoise value, we can increase detail in an image.\n\nCompared to a basic diffusion process a upscale uses lower denoising values.\n| Parameters | Basic Diffusion | Upscaling |\n|--------|---------|------------\n| Ksampler: denoise | 1.0 | 0.2 - 0.35 "
|
||
],
|
||
"node_id": "165"
|
||
},
|
||
{
|
||
"content": [
|
||
"In order to increase fidelity we will pre-upscale the image before resampling it with the Ksampler.\n\n1. Set the target Resolution in ImageScaleToMaxDimension\n\n2. Select an upscaling model \n"
|
||
],
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/163"
|
||
}
|
||
],
|
||
"source_path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
|
||
"source_review": {
|
||
"complete": false,
|
||
"evidence": {
|
||
"link_count": 24,
|
||
"model_references": [
|
||
"RealESRGAN_x4plus.pth",
|
||
"Z-Image\\z_image_turbo_bf16.safetensors",
|
||
"ae.safetensors",
|
||
"qwen_3_4b.safetensors"
|
||
],
|
||
"named_value_count": 0,
|
||
"node_count": 23,
|
||
"note_node_ids": [
|
||
"138",
|
||
"134",
|
||
"133",
|
||
"160",
|
||
"165",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/163"
|
||
],
|
||
"unnamed_widget_node_ids": [
|
||
"143",
|
||
"166",
|
||
"132",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/69",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/66",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/62",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/63",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/70",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/164",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/76",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/81",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/71",
|
||
"3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/67"
|
||
]
|
||
},
|
||
"instruction": "先核对源图加载与 UpscaleModelLoader 引用,再检查 SaveImage;4K 是文件预设名称,非已验证尺寸。",
|
||
"purpose": "Z-Image 图像放大图含 LoadImage、VAEEncode、模型放大及子图。",
|
||
"reviewed_named_fields": [],
|
||
"scope": [
|
||
"结构及用途局部审校",
|
||
"源具名参数/注释/连线/素材模型用途人工语义局部审校"
|
||
],
|
||
"semantic_review": {
|
||
"batch": "HEL-892-third",
|
||
"conclusions": [
|
||
"132图像送162子图,162结果到143及166对比",
|
||
"子图164定目标尺寸、76载RealESRGAN、79预放大、80编码再69采样。134/133提Florence分析,但当前节点清单没有Florence2Run,不能承诺自动反推",
|
||
"165的denoise 0.2-0.35仅为建议,163要求先选分辨率及模型。"
|
||
],
|
||
"evidence_refs": {
|
||
"nodes": [
|
||
{
|
||
"node_id": "134",
|
||
"pointer": "/source_nodes/1"
|
||
},
|
||
{
|
||
"node_id": "133",
|
||
"pointer": "/source_nodes/2"
|
||
},
|
||
{
|
||
"node_id": "143",
|
||
"pointer": "/source_nodes/4"
|
||
},
|
||
{
|
||
"node_id": "165",
|
||
"pointer": "/source_nodes/5"
|
||
},
|
||
{
|
||
"node_id": "166",
|
||
"pointer": "/source_nodes/6"
|
||
},
|
||
{
|
||
"node_id": "162",
|
||
"pointer": "/source_nodes/7"
|
||
},
|
||
{
|
||
"node_id": "132",
|
||
"pointer": "/source_nodes/8"
|
||
},
|
||
{
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/69",
|
||
"pointer": "/source_nodes/9"
|
||
},
|
||
{
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/79",
|
||
"pointer": "/source_nodes/15"
|
||
},
|
||
{
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/164",
|
||
"pointer": "/source_nodes/16"
|
||
},
|
||
{
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/76",
|
||
"pointer": "/source_nodes/17"
|
||
},
|
||
{
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/80",
|
||
"pointer": "/source_nodes/19"
|
||
},
|
||
{
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/163",
|
||
"pointer": "/source_nodes/22"
|
||
}
|
||
],
|
||
"notes": [
|
||
{
|
||
"node_id": "134",
|
||
"pointer": "/source_notes/1"
|
||
},
|
||
{
|
||
"node_id": "133",
|
||
"pointer": "/source_notes/2"
|
||
},
|
||
{
|
||
"node_id": "165",
|
||
"pointer": "/source_notes/4"
|
||
},
|
||
{
|
||
"node_id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c/163",
|
||
"pointer": "/source_notes/5"
|
||
}
|
||
],
|
||
"source_graph": "/source_links(按scope区分主图与子图;连线ID仅在各自scope内有效)"
|
||
},
|
||
"mechanical_inventory": {
|
||
"link_count": 24,
|
||
"named_value_count": 0,
|
||
"note_count": 6,
|
||
"position_widget_node_count": 13
|
||
},
|
||
"named_parameter_finding": "未发现可由源文件确认的具名参数",
|
||
"operation_check": "132图像送162子图,162结果到143及166对比;子图164定目标尺寸、76载RealESRGAN、79预放大、80编码再69采样。134/133提Florence分析,但当前节点清单没有Florence2Run,不能承诺自动反推;165的denoise 0.2-0.35仅为建议,163要求先选分辨率及模型。",
|
||
"unknowns": [
|
||
"位置数组未按位置具名,具名字段单位/合法范围/调整效果未获定义验证",
|
||
"注释中的效果、性能、版本支持为源作者陈述,未作外部或环境验证",
|
||
"静音/旁路、虚拟节点、子图、开关与连线覆盖的实际执行结果待原前端API导出",
|
||
"模型/素材引用只表示源文件出现,实际安装、位置、可用性和输出编码待真实环境核对"
|
||
]
|
||
},
|
||
"source_sha": "ba3159836ca1ae1b6f42cf76bc450b7bebbb9bb2",
|
||
"unconfirmed": [
|
||
"逐参数语义、单位、范围和调整效果未定稿",
|
||
"UI 位置控件未具名,含子图和旁路的实际执行路径待黄金导出",
|
||
"模型/节点包位置、素材可用性及实际输出未在目标环境核对"
|
||
]
|
||
},
|
||
"source_review_sha": "68ffd094f5beeaf5a3b867fec791cfcfa5731e1ca790c6b7779e258d1fb6562a",
|
||
"status": {
|
||
"doc_done": false,
|
||
"exec_verified": false,
|
||
"imported": true
|
||
},
|
||
"steps": [
|
||
"先核对源图加载与 UpscaleModelLoader 引用,再检查 SaveImage;4K 是文件预设名称,非已验证尺寸。",
|
||
"132图像送162子图,162结果到143及166对比;子图164定目标尺寸、76载RealESRGAN、79预放大、80编码再69采样。134/133提Florence分析,但当前节点清单没有Florence2Run,不能承诺自动反推;165的denoise 0.2-0.35仅为建议,163要求先选分辨率及模型。",
|
||
"打开源工作流 example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json,逐项核对下列源节点与注释。",
|
||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||
],
|
||
"title": "11_Z_Image_Turbo+模型放大_图像4K高清放大"
|
||
}
|