Python
{
"1": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "flux3-image-klein-int8-convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"2": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_4b_int8_convrot.safetensors",
"type": "flux3",
"device": "default"
},
"_meta": {
"title": "Load CLIP"
}
},
"3": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "flux2-vae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"4": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"2",
0
],
"text": "Change the jacket to deep red leather, keep everything else the same."
},
"_meta": {
"title": "Positive Prompt"
}
},
"7": {
"class_type": "KSampler",
"inputs": {
"model": [
"1",
0
],
"positive": [
"17",
0
],
"negative": [
"17",
1
],
"latent_image": [
"ip_latent",
0
],
"seed": 563228241303057,
"steps": 16,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 1
},
"_meta": {
"title": "KSampler"
}
},
"8": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"7",
0
],
"vae": [
"3",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"9": {
"class_type": "SaveImage",
"inputs": {
"images": [
"ip_paste",
0
],
"filename_prefix": "freefield/inpaint"
},
"_meta": {
"title": "Save Image"
}
},
"11": {
"class_type": "LoadImage",
"inputs": {
"image": "woman_gold_earring_teal_top_portrait.png"
},
"_meta": {
"title": "Load Image"
}
},
"17": {
"class_type": "ReferenceMultiLatent",
"inputs": {
"positive": [
"4",
0
],
"negative": [
"32",
0
],
"vae": [
"3",
0
],
"images.image0": [
"ip_scale",
0
],
"resolution": "resize",
"resolution.megapixels": 1
},
"_meta": {
"title": "Set Reference Multi Latent"
}
},
"32": {
"class_type": "ConditioningZeroOut",
"inputs": {
"conditioning": [
"4",
0
]
},
"_meta": {
"title": "Conditioning Zero Out"
}
},
"12": {
"class_type": "LoadImage",
"inputs": {
"image": "mask.png"
},
"_meta": {
"title": "Painted area (white on black)"
}
},
"ip_scale": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"11",
0
],
"upscale_method": "lanczos",
"megapixels": 1.0,
"resolution_steps": 16
},
"_meta": {
"title": "Photo at 1 MP"
}
},
"ip_size": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"ip_scale",
0
]
}
},
"ip_mscale": {
"class_type": "ImageScale",
"inputs": {
"image": [
"12",
0
],
"upscale_method": "bilinear",
"width": [
"ip_size",
0
],
"height": [
"ip_size",
1
],
"crop": "disabled"
},
"_meta": {
"title": "Mask at the photo's size"
}
},
"ip_mask": {
"class_type": "ImageToMask",
"inputs": {
"image": [
"ip_mscale",
0
],
"channel": "red"
}
},
"ip_grow": {
"class_type": "GrowMask",
"inputs": {
"mask": [
"ip_mask",
0
],
"expand": 8,
"tapered_corners": true
},
"_meta": {
"title": "A little past the brush"
}
},
"ip_encode": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"ip_scale",
0
],
"vae": [
"3",
0
]
}
},
"ip_latent": {
"class_type": "SetLatentNoiseMask",
"inputs": {
"samples": [
"ip_encode",
0
],
"mask": [
"ip_grow",
0
]
},
"_meta": {
"title": "Only the painted area is redrawn"
}
},
"ip_paste": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"ip_scale",
0
],
"source": [
"8",
0
],
"x": 0,
"y": 0,
"resize_source": false,
"mask": [
"ip_grow",
0
]
},
"_meta": {
"title": "Result pasted over the photo"
}
}
}