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": [
"fm_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": [
"8",
0
],
"filename_prefix": "freefield/face-swap"
},
"_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": [
"12",
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": "second.png"
},
"_meta": {
"title": "Second reference"
}
},
"fm_scale": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"11",
0
],
"upscale_method": "lanczos",
"megapixels": 1.0,
"resolution_steps": 16
},
"_meta": {
"title": "First image at 1 MP"
}
},
"fm_model": {
"class_type": "LoadMediaPipeFaceLandmarker",
"inputs": {
"model_name": "mediapipe_face_fp32.safetensors"
},
"_meta": {
"title": "MediaPipe face model"
}
},
"fm_find": {
"class_type": "MediaPipeFaceLandmarker",
"inputs": {
"face_detection_model": [
"fm_model",
0
],
"image": [
"fm_scale",
0
],
"detector_variant": "both",
"num_faces": 1,
"min_confidence": 0.5,
"missing_frame_fallback": "empty"
},
"_meta": {
"title": "Find the face"
}
},
"fm_mask": {
"class_type": "MediaPipeFaceMask",
"inputs": {
"face_landmarks": [
"fm_find",
0
],
"regions": "all"
},
"_meta": {
"title": "Face oval"
}
},
"fm_grow": {
"class_type": "GrowMask",
"inputs": {
"mask": [
"fm_mask",
0
],
"expand": 0,
"tapered_corners": true
},
"_meta": {
"title": "Grow or shrink the oval (px)"
}
},
"fm_encode": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"fm_scale",
0
],
"vae": [
"3",
0
]
},
"_meta": {
"title": "Encode the first image"
}
},
"fm_latent": {
"class_type": "SetLatentNoiseMask",
"inputs": {
"samples": [
"fm_encode",
0
],
"mask": [
"fm_grow",
0
]
},
"_meta": {
"title": "Only the face is redrawn"
}
}
}