Ai-Studio / workflows /Z-Image-Enhance.json
dx8152's picture
Upload 19 files
4039687 verified
{
"15": {
"inputs": {
"image": "pasted/image (794).png"
},
"class_type": "LoadImage",
"_meta": {
"title": "加载图像"
}
},
"23": {
"inputs": {
"text": "丰富的细节",
"speak_and_recognation": {
"__value__": [
false,
true
]
},
"clip": [
"34",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP文本编码器"
}
},
"24": {
"inputs": {
"conditioning": [
"23",
0
]
},
"class_type": "ConditioningZeroOut",
"_meta": {
"title": "条件零化"
}
},
"27": {
"inputs": {
"vae_name": "ae.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "VAE加载器"
}
},
"33": {
"inputs": {
"model_name": "z_image_turbo_bf16.safetensors",
"weight_dtype": "default",
"key_opt": "",
"mode": "Auto"
},
"class_type": "LoadDiffusionModelShared //Inspire",
"_meta": {
"title": "Shared Diffusion Model Loader (Inspire)"
}
},
"34": {
"inputs": {
"model_name1": "qwen_3_4b.safetensors",
"model_name2": "None",
"model_name3": "None",
"type": "stable_diffusion",
"key_opt": "",
"mode": "Auto",
"device": "default"
},
"class_type": "LoadTextEncoderShared //Inspire",
"_meta": {
"title": "Shared Text Encoder Loader (Inspire)"
}
},
"142": {
"inputs": {
"pixels": [
"15",
0
],
"vae": [
"27",
0
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE编码"
}
},
"146": {
"inputs": {
"seed": 279629946795727,
"steps": 10,
"cfg": 0.7,
"sampler_name": "euler",
"scheduler": "sgm_uniform",
"denoise": [
"202",
0
],
"model": [
"166",
0
],
"positive": [
"23",
0
],
"negative": [
"24",
0
],
"latent_image": [
"142",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "K采样器"
}
},
"147": {
"inputs": {
"samples": [
"146",
0
],
"vae": [
"27",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE解码"
}
},
"164": {
"inputs": {
"preprocessor": "DepthAnythingV2Preprocessor",
"resolution": 1024,
"image": [
"15",
0
]
},
"class_type": "AIO_Preprocessor",
"_meta": {
"title": "Aux集成预处理器"
}
},
"165": {
"inputs": {
"name": "Z-Image-Turbo-Fun-Controlnet-Union.safetensors"
},
"class_type": "ModelPatchLoader",
"_meta": {
"title": "加载模型补丁"
}
},
"166": {
"inputs": {
"strength": 0.8,
"model": [
"33",
0
],
"model_patch": [
"165",
0
],
"vae": [
"27",
0
],
"image": [
"164",
0
]
},
"class_type": "QwenImageDiffsynthControlnet",
"_meta": {
"title": "QwenImageDiffsynthControlnet"
}
},
"174": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"180",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "保存图像"
}
},
"180": {
"inputs": {
"samples": [
"181",
0
],
"vae": [
"27",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE解码"
}
},
"181": {
"inputs": {
"seed": 820960346993579,
"steps": 10,
"cfg": 1,
"sampler_name": "euler_cfg_pp",
"scheduler": "simple",
"denoise": [
"202",
0
],
"model": [
"33",
0
],
"positive": [
"23",
0
],
"negative": [
"24",
0
],
"latent_image": [
"186",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "K采样器"
}
},
"184": {
"inputs": {
"seed": 882274830236035,
"strength": [
"202",
0
],
"image": [
"15",
0
]
},
"class_type": "ImageAddNoise",
"_meta": {
"title": "图像添加噪声"
}
},
"186": {
"inputs": {
"pixels": [
"189",
0
],
"vae": [
"27",
0
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE编码"
}
},
"189": {
"inputs": {
"blend_factor": [
"202",
0
],
"blend_mode": "multiply",
"image1": [
"191",
0
],
"image2": [
"184",
0
]
},
"class_type": "ImageBlend",
"_meta": {
"title": "图像混合"
}
},
"191": {
"inputs": {
"sharpen_radius": 1,
"sigma": 0.5,
"alpha": 0.5,
"image": [
"147",
0
]
},
"class_type": "ImageSharpen",
"_meta": {
"title": "图像锐化"
}
},
"193": {
"inputs": {
"image": [
"15",
0
]
},
"class_type": "GetImageSize+",
"_meta": {
"title": "获取图像尺寸"
}
},
"201": {
"inputs": {
"expression": "(a+b)*c/10000",
"speak_and_recognation": {
"__value__": [
false,
true
]
},
"a": [
"193",
0
],
"b": [
"193",
1
],
"c": [
"204",
0
]
},
"class_type": "MathExpression|pysssss",
"_meta": {
"title": "数学表达式"
}
},
"202": {
"inputs": {
"output_type": "float",
"*": [
"201",
1
]
},
"class_type": "easy convertAnything",
"_meta": {
"title": "转换任何"
}
},
"204": {
"inputs": {
"value": 0.5
},
"class_type": "FloatConstant",
"_meta": {
"title": "浮点常量"
}
}
}