Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI_SamplingUtils > Image Inward Edge Fill

ComfyUI Node: Image Inward Edge Fill

Class Name

ImageInwardEdgeFill

Category
advanced/image
Author
silveroxides (Account age: 2211days)
Extension
ComfyUI_SamplingUtils
Latest Updated
2026-06-03
Github Stars
0.02K

How to Install ComfyUI_SamplingUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI_SamplingUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_SamplingUtils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Image Inward Edge Fill Description

Intelligently fills missing image areas by pulling edge pixels for seamless blending and inpainting tasks.

Image Inward Edge Fill:

The ImageInwardEdgeFill node is designed to intelligently fill in missing or occluded areas of an image by pulling in edge pixels from the surrounding regions. This node is particularly useful for tasks such as inpainting, where you need to reconstruct parts of an image that are missing or have been removed. By utilizing advanced algorithms, this node ensures that the filled areas blend seamlessly with the existing image, maintaining the natural appearance and texture. The primary goal of this node is to provide a smooth and coherent transition between the filled areas and the original image, making it an essential tool for artists and designers looking to enhance or restore images without leaving visible traces of editing.

Image Inward Edge Fill Input Parameters:

image

This parameter represents the input image that you want to process. It is the base image where the inpainting will occur. The node uses this image to identify the edges and surrounding pixels that will be used to fill the masked areas.

mask

The mask parameter defines the areas of the image that need to be filled. It is a binary mask where the regions marked for inpainting are indicated. The node uses this mask to determine which parts of the image require filling and which parts should remain unchanged.

inpaint_radius

This parameter controls how far the algorithm looks for edge pixels to use in the inpainting process. The inpaint_radius determines the search radius around the masked areas. A higher value allows the algorithm to consider a larger area for edge pixels, which can be beneficial for filling larger holes but may increase processing time. The default value is 3, with a minimum of 1 and a maximum of 100.

edge_blend_blur

The edge_blend_blur parameter applies a Gaussian blur to the mask, which helps in smoothly blending the filled area with the original edges of the image. This creates a more natural transition between the inpainted and original parts of the image. A value of 0 disables the blur, while higher values increase the blur effect. The default value is 9, with a minimum of 0 and a maximum of 101.

Image Inward Edge Fill Output Parameters:

image

The output is the processed image with the masked areas filled. This image is the result of the inpainting process, where the node has used the surrounding edge pixels to fill in the missing parts, ensuring a seamless blend with the original image. The output image maintains the same dimensions and format as the input image, with the filled areas integrated smoothly.

Image Inward Edge Fill Usage Tips:

  • For larger areas that need filling, consider increasing the inpaint_radius to ensure the algorithm has enough surrounding pixels to create a natural fill. However, be mindful that higher values may slow down processing.
  • Use the edge_blend_blur to adjust the smoothness of the transition between the filled and original areas. A higher blur value can help in achieving a softer blend, especially useful when dealing with complex textures or patterns.

Image Inward Edge Fill Common Errors and Solutions:

"Mask and image dimensions do not match"

  • Explanation: This error occurs when the dimensions of the mask do not match the dimensions of the input image.
  • Solution: Ensure that the mask is resized to match the dimensions of the input image before processing.

"Invalid inpaint_radius value"

  • Explanation: This error is triggered when the inpaint_radius is set outside the allowed range.
  • Solution: Adjust the inpaint_radius to be within the specified range of 1 to 100.

"Invalid edge_blend_blur value"

  • Explanation: This error occurs when the edge_blend_blur is set outside the allowed range.
  • Solution: Ensure that the edge_blend_blur is set between 0 and 101 to avoid this error.

Image Inward Edge Fill Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_SamplingUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Image Inward Edge Fill