ComfyUI / workflows /api /qwen-edit-upscale-2k.json
aleph65's picture
Add qwen-edit-upscale-2k workflow (UI+API) and Qwen-Image-Edit-2511-Upscale2K lora
83915a9 verified
Raw
History Blame
3.06 kB
{
"101": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"38",
0
],
"image1": [
"120",
0
],
"prompt": "Upscale this picture to 4K resolution.",
"vae": [
"39",
0
]
}
},
"103": {
"class_type": "LoadImage",
"inputs": {
"image": "test.jpg"
}
},
"114": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "qwen_image_edit_2511_bf16.safetensors",
"weight_dtype": "default"
}
},
"116": {
"_meta": {
"title": "LoRA: Lightning 8 steps"
},
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "Qwen-Image-Edit-2511-Lightning-8steps-V1.0-bf16.safetensors",
"model": [
"117",
0
],
"strength_model": 1
}
},
"117": {
"_meta": {
"title": "LoRA: Upscale2K"
},
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "qwen_image_edit_2511_upscale.safetensors",
"model": [
"114",
0
],
"strength_model": 1
}
},
"120": {
"class_type": "ImageScaleToMaxDimension",
"inputs": {
"image": [
"103",
0
],
"largest_size": 2048,
"upscale_method": "lanczos"
}
},
"121": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"120",
0
]
}
},
"122": {
"class_type": "EmptySD3LatentImage",
"inputs": {
"batch_size": 1,
"height": [
"121",
1
],
"width": [
"121",
0
]
}
},
"3": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"122",
0
],
"model": [
"66",
0
],
"negative": [
"7",
0
],
"positive": [
"101",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 42,
"steps": 8
}
},
"38": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_2.5_vl_7b.safetensors",
"device": "default",
"type": "qwen_image"
}
},
"39": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
}
},
"66": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"116",
0
],
"shift": 3.1000000000000005
}
},
"7": {
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
},
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"38",
0
],
"text": ""
}
},
"8": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"3",
0
],
"vae": [
"39",
0
]
}
},
"98": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "qwen-edit-upscale-2k",
"images": [
"8",
0
]
}
}
}