Easy Apply Fooocus Inpaint(applyFooocusInpaint)
Easy Apply Fooocus Inpaint node from ComfyUI-Easy-Use.
apply Fooocus Inpaint
applyFooocusInpaint applies a Fooocus inpaint head and patch to a diffusion model. It takes a base model and an inpaint latent, and returns a patched MODEL that is ready to be used for Fooocus-style inpainting in a sampler.
Description
This node is the "Easy Use" wrapper for applying a Fooocus inpaint patch to a model. Instead of managing the head and patch logic manually, you select the desired Fooocus inpaint head and patch presets from the available lists, and the node outputs the patched model for use in an inpainting workflow.
Inputs
model
- Type:
MODEL - Required: Yes
The base diffusion model that will be patched with the selected Fooocus inpaint head and patch.
latent
- Type:
LATENT - Required: Yes
The latent representation used when applying the Fooocus inpaint patch. In a typical inpaint workflow, this is the latent of the image/mask region being inpainted. This input is consumed by the patching operation and is not returned as an output.
head
- Type:
COMBO - Required: Yes
Selects which Fooocus inpaint head to apply. The dropdown is populated with the available head presets installed in the environment.
patch
- Type:
COMBO - Required: Yes
Selects which Fooocus inpaint patch to apply. The dropdown is populated with the available patch presets installed in the environment.
Outputs
MODEL output
The patched model with the selected Fooocus inpaint head and patch applied. This model should be used in place of the original model when sampling.
Usage Notes
- The node only returns the patched
MODEL; it does not return a modified latent. - In a typical workflow, connect the patched model to a
KSampleralong with the same or related latent used for conditioning. - Make sure the Fooocus inpaint head and patch presets are available in the correct model folders so they appear in their respective dropdown lists.
- The original model input is not modified by this node; the output is the patched model to use for inpainting.
Comments
Sign in with GitHub to join the discussion.