3dgenstudio-mirror/comfyui_workflows/Qwen Image Edit Inpainting with ImageRef - NoBg.json
2026-05-28 13:38:02 +02:00

447 lines
No EOL
7.2 KiB
JSON

{
"1": {
"inputs": {
"prompt": "Redraw the tower",
"clip": [
"33",
0
],
"vae": [
"10",
0
]
},
"class_type": "TextEncodeQwenImageEditPlus",
"_meta": {
"title": "TextEncodeQwenImageEditPlus (Positive Prompt)"
}
},
"10": {
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "Load VAE"
}
},
"11": {
"inputs": {
"image": "clipspace/clipspace-painted-masked-1779897577438.png [input]"
},
"class_type": "LoadImage",
"_meta": {
"title": "Image Source"
}
},
"13": {
"inputs": {
"samples": [
"152",
0
],
"vae": [
"10",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"14": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"170",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
},
"24": {
"inputs": {
"lora_name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
"strength_model": 1,
"model": [
"160",
0
]
},
"class_type": "LoraLoaderModelOnly",
"_meta": {
"title": "Load LoRA"
}
},
"30": {
"inputs": {
"shift": 3.1,
"model": [
"24",
0
]
},
"class_type": "ModelSamplingAuraFlow",
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"33": {
"inputs": {
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"type": "qwen_image",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": {
"title": "Load CLIP"
}
},
"39": {
"inputs": {
"prompt": "",
"clip": [
"33",
0
],
"vae": [
"10",
0
]
},
"class_type": "TextEncodeQwenImageEditPlus",
"_meta": {
"title": "TextEncodeQwenImageEditPlus (Negative Prompt)"
}
},
"119": {
"inputs": {
"pixels": [
"158",
0
],
"vae": [
"10",
0
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE Encode"
}
},
"126": {
"inputs": {
"samples": [
"119",
0
],
"mask": [
"148",
0
]
},
"class_type": "SetLatentNoiseMask",
"_meta": {
"title": "Set Latent Noise Mask"
}
},
"128": {
"inputs": {
"expand": 0,
"incremental_expandrate": 0,
"tapered_corners": true,
"flip_input": false,
"blur_radius": 20,
"lerp_alpha": 1,
"decay_factor": 1,
"fill_holes": false,
"mask": [
"169",
0
]
},
"class_type": "GrowMaskWithBlur",
"_meta": {
"title": "Grow Mask With Blur"
}
},
"129": {
"inputs": {
"pixels": [
"138",
0
],
"vae": [
"10",
0
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE Encode"
}
},
"130": {
"inputs": {
"samples": [
"129",
0
],
"vae": [
"10",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"132": {
"inputs": {
"image": [
"130",
0
]
},
"class_type": "GetImageSize",
"_meta": {
"title": "Get Image Size"
}
},
"138": {
"inputs": {
"upscale_method": "lanczos",
"largest_size": [
"163",
0
],
"image": [
"11",
0
]
},
"class_type": "ImageScaleToMaxDimension",
"_meta": {
"title": "ImageScaleToMaxDimension"
}
},
"148": {
"inputs": {
"width": [
"132",
0
],
"height": [
"132",
1
],
"keep_proportions": true,
"upscale_method": "lanczos",
"crop": "center",
"mask": [
"128",
0
]
},
"class_type": "ResizeMask",
"_meta": {
"title": "Resize Mask"
}
},
"152": {
"inputs": {
"seed": 359473559919449,
"steps": 4,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 1,
"model": [
"30",
0
],
"positive": [
"165",
0
],
"negative": [
"168",
0
],
"latent_image": [
"126",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"158": {
"inputs": {
"upscale_method": "lanczos",
"width": [
"132",
0
],
"height": [
"132",
1
],
"crop": "center",
"image": [
"11",
0
]
},
"class_type": "ImageScale",
"_meta": {
"title": "Upscale Image"
}
},
"160": {
"inputs": {
"unet_name": "qwen-image-edit-2511-Q6_K.gguf"
},
"class_type": "UnetLoaderGGUF",
"_meta": {
"title": "Unet Loader (GGUF)"
}
},
"162": {
"inputs": {
"image": "Image_1024_00192_.png"
},
"class_type": "LoadImage",
"_meta": {
"title": "Image Reference"
}
},
"163": {
"inputs": {
"value": 1024
},
"class_type": "PrimitiveInt",
"_meta": {
"title": "Image Resolution"
}
},
"164": {
"inputs": {
"conditioning": [
"1",
0
],
"latent": [
"129",
0
]
},
"class_type": "ReferenceLatent",
"_meta": {
"title": "ReferenceLatent"
}
},
"165": {
"inputs": {
"conditioning": [
"164",
0
],
"latent": [
"166",
0
]
},
"class_type": "ReferenceLatent",
"_meta": {
"title": "ReferenceLatent"
}
},
"166": {
"inputs": {
"pixels": [
"162",
0
],
"vae": [
"10",
0
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE Encode"
}
},
"167": {
"inputs": {
"conditioning": [
"39",
0
],
"latent": [
"129",
0
]
},
"class_type": "ReferenceLatent",
"_meta": {
"title": "ReferenceLatent"
}
},
"168": {
"inputs": {
"conditioning": [
"167",
0
],
"latent": [
"166",
0
]
},
"class_type": "ReferenceLatent",
"_meta": {
"title": "ReferenceLatent"
}
},
"169": {
"inputs": {
"image": "Textured - 2048-mask.png",
"channel": "red"
},
"class_type": "LoadImageMask",
"_meta": {
"title": "Load Image (as Mask)"
}
},
"170": {
"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": "#222222",
"image": [
"13",
0
]
},
"class_type": "RMBG",
"_meta": {
"title": "Remove Background (RMBG)"
}
}
}