ComfyUI Node
Fat Mex Inpaint Sampler
All-in-one inpaint sampler with Qwen Edit conditioning. Feed a target image + mask + reference images. Perfect for head swaps, face edits, and object replacement.
Fat Mex Inpaint Sampler
- model
- clip
- vae
- target_image
- mask
- image1
- image2
- images
- latent
◄promptReplace the masked head area with the person of image 1. Match the head shape, rotation and lighting of the source image.►
◄negative_promptugly, blurry, deformed, bad anatomy, plastic skin►
◄seed0►
◄grow_mask_by6►
◄preset_hintauto►
◄steps8►
◄cfg0.0►
◄sampler_nameauto►
◄schedulerauto►
◄denoise1.00►
CategoryFat Mex
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | Model from Fat Mex Model Loader (Qwen Edit preset). | |
| clip | CLIP | CLIP from Fat Mex Model Loader. | |
| vae | VAE | VAE from Fat Mex Model Loader. | |
| target_image | IMAGE | The image to inpaint on (e.g. the body image). | |
| mask | MASK | Mask defining the area to regenerate (e.g. from FatMexHeadMask). | |
| prompt | STRING | Replace the masked head area with the person of image 1. Match the head shape, rotation and lighting of the source image. | Describe the inpaint. Use 'image 1' to reference the face. |
| negative_prompt | STRING | ugly, blurry, deformed, bad anatomy, plastic skin | — |
| seed | INT | 00–18446744073709550000 | — |
| image1opt | IMAGE | Reference image 1 (e.g. the face to swap in). | |
| image2opt | IMAGE | Reference image 2 (optional — e.g. the target body for context). | |
| grow_mask_byopt | INT | 60–64 | Expand mask edges for seamless inpainting (matches VAEEncodeForInpaint). |
| preset_hintopt | COMBO | auto | 8 options: auto, Klein 9B, Klein 9B True, Qwen Image Edit 2509, Qwen Image Edit 2511, Qwen Image 2512, +2 |
| stepsopt | INT | 81–100 | Inpaint steps. |
| cfgopt | FLOAT | 0.00–100 | — |
| sampler_nameopt | COMBO | auto | 45 options: auto, euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, +39 |
| scheduleropt | COMBO | auto | 10 options: auto, simple, sgm_uniform, karras, exponential, ddim_uniform, +4 |
| denoiseopt | FLOAT | 1.000–1 | Inpaint denoise strength. 1.0 fully regenerates masked area. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| latent | LATENT | — |