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.

Lower the minimum resolution of EmptyLatentImage.

comfyanonymous01094316268c
diff --git a/nodes.py b/nodes.py
index 3bc08663e..9ccf179ce 100644
--- a/nodes.py
+++ b/nodes.py
@@ -889,8 +889,8 @@ class EmptyLatentImage:
@classmethod
def INPUT_TYPES(s):
- return {"required": { "width": ("INT", {"default": 512, "min": 64, "max": MAX_RESOLUTION, "step": 8}),
- "height": ("INT", {"default": 512, "min": 64, "max": MAX_RESOLUTION, "step": 8}),
+ return {"required": { "width": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8}),
+ "height": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8}),
"batch_size": ("INT", {"default": 1, "min": 1, "max": 64})}}
RETURN_TYPES = ("LATENT",)
FUNCTION = "generate"