comfyui-production-workflows / workflows /ai-object-remover.json
buckmagnetweb's picture
38 production ComfyUI workflows in API format
417843d verified
Raw
History Blame Contribute Delete
2.63 kB
{
"1": {
"class_type": "LoadImage",
"inputs": {
"image": "{{input}}"
}
},
"2": {
"class_type": "LoadImageMask",
"inputs": {
"image": "{{mask}}",
"channel": "red"
}
},
"3": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"weight_dtype": "default"
}
},
"4": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"type": "qwen_image"
}
},
"5": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
}
},
"6": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"4",
0
],
"prompt": "Remove only the area marked by the mask. Reconstruct the surrounding background naturally, preserve the rest of the image exactly, and do not add new objects, text, people, or logos.",
"vae": [
"5",
0
],
"image1": [
"1",
0
]
}
},
"7": {
"class_type": "TextEncodeQwenImageEdit",
"inputs": {
"clip": [
"4",
0
],
"prompt": "preserve the original image outside the masked edit, no extra objects, no text, no watermark",
"vae": [
"5",
0
]
}
},
"8": {
"class_type": "InpaintModelConditioning",
"inputs": {
"positive": [
"6",
0
],
"negative": [
"7",
0
],
"vae": [
"5",
0
],
"pixels": [
"1",
0
],
"mask": [
"2",
0
],
"noise_mask": true
}
},
"9": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"3",
0
],
"shift": 3.1
}
},
"10": {
"class_type": "KSampler",
"inputs": {
"model": [
"9",
0
],
"seed": "{{seed}}",
"steps": 8,
"cfg": 4,
"sampler_name": "euler",
"scheduler": "simple",
"positive": [
"8",
0
],
"negative": [
"8",
1
],
"latent_image": [
"8",
2
],
"denoise": 0.85
}
},
"11": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"10",
0
],
"vae": [
"5",
0
]
}
},
"12": {
"class_type": "SaveImage",
"inputs": {
"images": [
"11",
0
],
"filename_prefix": "prathom/ai-object-remover"
}
}
}