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.

Increase image batch nodes maximum values.

comfyanonymousd3406d8d588d
diff --git a/comfy_extras/nodes_images.py b/comfy_extras/nodes_images.py
index 8f638bf8f..af37666b2 100644
--- a/comfy_extras/nodes_images.py
+++ b/comfy_extras/nodes_images.py
@@ -37,7 +37,7 @@ class RepeatImageBatch:
@classmethod
def INPUT_TYPES(s):
return {"required": { "image": ("IMAGE",),
- "amount": ("INT", {"default": 1, "min": 1, "max": 64}),
+ "amount": ("INT", {"default": 1, "min": 1, "max": 4096}),
}}
RETURN_TYPES = ("IMAGE",)
FUNCTION = "repeat"
@@ -52,8 +52,8 @@ class ImageFromBatch:
@classmethod
def INPUT_TYPES(s):
return {"required": { "image": ("IMAGE",),
- "batch_index": ("INT", {"default": 0, "min": 0, "max": 63}),
- "length": ("INT", {"default": 1, "min": 1, "max": 64}),
+ "batch_index": ("INT", {"default": 0, "min": 0, "max": 4095}),
+ "length": ("INT", {"default": 1, "min": 1, "max": 4096}),
}}
RETURN_TYPES = ("IMAGE",)
FUNCTION = "frombatch"