3dgenstudio-mirror/comfyui_workflows/Upscale with Qwen.json

339 lines
No EOL
5.8 KiB
JSON

{
"225": {
"inputs": {
"image": "Image_1024_00156_.png"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image"
}
},
"226": {
"inputs": {
"model": "RMBG-2.0",
"sensitivity": 1,
"process_res": 1024,
"mask_blur": 0,
"mask_offset": 0,
"invert_output": false,
"refine_foreground": false,
"background": "Alpha",
"background_color": "#000000",
"image": [
"225",
0
]
},
"class_type": "RMBG",
"_meta": {
"title": "Remove Background (RMBG)"
}
},
"227": {
"inputs": {
"padding": 5,
"remove_background": false,
"max_size": 2048,
"image": [
"226",
0
]
},
"class_type": "Trellis2PreProcessImage",
"_meta": {
"title": "Trellis2 - PreProcess Image"
}
},
"229": {
"inputs": {
"filename_prefix": "Qwen",
"images": [
"228:203",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
},
"228:193": {
"inputs": {
"prompt": "",
"clip": [
"228:202",
0
],
"vae": [
"228:199",
0
],
"image1": [
"228:220",
0
]
},
"class_type": "TextEncodeQwenImageEditPlus",
"_meta": {
"title": "TextEncodeQwenImageEditPlus"
}
},
"228:197": {
"inputs": {
"reference_latents_method": "index_timestep_zero",
"conditioning": [
"228:196",
0
]
},
"class_type": "FluxKontextMultiReferenceLatentMethod",
"_meta": {
"title": "Edit Model Reference Method"
}
},
"228:198": {
"inputs": {
"reference_latents_method": "index_timestep_zero",
"conditioning": [
"228:193",
0
]
},
"class_type": "FluxKontextMultiReferenceLatentMethod",
"_meta": {
"title": "Edit Model Reference Method"
}
},
"228:199": {
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "Load VAE"
}
},
"228:200": {
"inputs": {
"lora_name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
"strength_model": 1,
"model": [
"228:195",
0
]
},
"class_type": "LoraLoaderModelOnly",
"_meta": {
"title": "Load LoRA"
}
},
"228:201": {
"inputs": {
"width": 1024,
"height": 1024,
"batch_size": 1
},
"class_type": "EmptyLatentImage",
"_meta": {
"title": "Empty Latent Image"
}
},
"228:202": {
"inputs": {
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"type": "qwen_image",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": {
"title": "Load CLIP"
}
},
"228:205": {
"inputs": {
"shift": 3.1,
"model": [
"228:200",
0
]
},
"class_type": "ModelSamplingAuraFlow",
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"228:206": {
"inputs": {
"strength": 1,
"model": [
"228:205",
0
]
},
"class_type": "CFGNorm",
"_meta": {
"title": "CFGNorm"
}
},
"228:196": {
"inputs": {
"prompt": "Upscale the image",
"clip": [
"228:202",
0
],
"vae": [
"228:199",
0
],
"image1": [
"228:220",
0
]
},
"class_type": "TextEncodeQwenImageEditPlus",
"_meta": {
"title": "TextEncodeQwenImageEditPlus (Positive)"
}
},
"228:194": {
"inputs": {
"seed": 3382135155526,
"steps": 4,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 1,
"model": [
"228:206",
0
],
"positive": [
"228:197",
0
],
"negative": [
"228:198",
0
],
"latent_image": [
"228:201",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"228:203": {
"inputs": {
"tile_size": 128,
"overlap": 64,
"temporal_size": 64,
"temporal_overlap": 8,
"samples": [
"228:194",
0
],
"vae": [
"228:199",
0
]
},
"class_type": "VAEDecodeTiled",
"_meta": {
"title": "VAE Decode (Tiled)"
}
},
"228:218": {
"inputs": {
"mask": [
"228:217",
0
]
},
"class_type": "MaskToImage",
"_meta": {
"title": "Convert Mask to Image"
}
},
"228:219": {
"inputs": {
"red": 255,
"green": 255,
"blue": 255,
"threshold": 0,
"image": [
"227",
0
]
},
"class_type": "MaskFromColor+",
"_meta": {
"title": "🔧 Mask From Color"
}
},
"228:220": {
"inputs": {
"x": 0,
"y": 0,
"offset_x": 0,
"offset_y": 0,
"destination": [
"227",
0
],
"source": [
"228:218",
0
],
"mask": [
"228:219",
0
]
},
"class_type": "ImageComposite+",
"_meta": {
"title": "🔧 Image Composite"
}
},
"228:217": {
"inputs": {
"value": 0,
"width": [
"228:221",
0
],
"height": [
"228:221",
1
]
},
"class_type": "SolidMask",
"_meta": {
"title": "SolidMask"
}
},
"228:221": {
"inputs": {
"image": [
"227",
0
]
},
"class_type": "GetImageSize",
"_meta": {
"title": "Get Image Size"
}
},
"228:195": {
"inputs": {
"unet_name": "qwen-image-edit-2511-Q6_K.gguf"
},
"class_type": "UnetLoaderGGUF",
"_meta": {
"title": "Unet Loader (GGUF)"
}
}
}