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.

LatentCompositeMasked: negative x, y don't work.

comfyanonymousd98a4de9eb6b
diff --git a/comfy_extras/nodes_mask.py b/comfy_extras/nodes_mask.py
index 60feea0db..4dfb0b93e 100644
--- a/comfy_extras/nodes_mask.py
+++ b/comfy_extras/nodes_mask.py
@@ -9,8 +9,8 @@ class LatentCompositeMasked:
"required": {
"destination": ("LATENT",),
"source": ("LATENT",),
- "x": ("INT", {"default": 0, "min": -MAX_RESOLUTION, "max": MAX_RESOLUTION, "step": 8}),
- "y": ("INT", {"default": 0, "min": -MAX_RESOLUTION, "max": MAX_RESOLUTION, "step": 8}),
+ "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}),
+ "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}),
},
"optional": {
"mask": ("MASK",),