Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Set default value of feathering to 40.

comfyanonymousa30526aec1f7
diff --git a/nodes.py b/nodes.py
index 84f8b01f6..152fa32d1 100644
--- a/nodes.py
+++ b/nodes.py
@@ -915,11 +915,11 @@ class ImagePadForOutpaint:
return {
"required": {
"image": ("IMAGE",),
- "left": ("INT", {"default": 0, "min": 0, "max": 4096, "step": 64}),
- "top": ("INT", {"default": 0, "min": 0, "max": 4096, "step": 64}),
- "right": ("INT", {"default": 0, "min": 0, "max": 4096, "step": 64}),
- "bottom": ("INT", {"default": 0, "min": 0, "max": 4096, "step": 64}),
- "feathering": ("INT", {"default": 0, "min": 0, "max": 4096, "step": 1}),
+ "left": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 64}),
+ "top": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 64}),
+ "right": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 64}),
+ "bottom": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 64}),
+ "feathering": ("INT", {"default": 40, "min": 0, "max": MAX_RESOLUTION, "step": 1}),
}
}