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.

Larger range for min/max compression for StableCascade_EmptyLatentImage.

comfyanonymousdbe0979b3f8e
diff --git a/comfy_extras/nodes_stable_cascade.py b/comfy_extras/nodes_stable_cascade.py
index 5d31c1e59..efe3586d2 100644
--- a/comfy_extras/nodes_stable_cascade.py
+++ b/comfy_extras/nodes_stable_cascade.py
@@ -29,8 +29,8 @@ class StableCascade_EmptyLatentImage:
return {"required": {
"width": ("INT", {"default": 1024, "min": 256, "max": nodes.MAX_RESOLUTION, "step": 8}),
"height": ("INT", {"default": 1024, "min": 256, "max": nodes.MAX_RESOLUTION, "step": 8}),
- "compression": ("INT", {"default": 42, "min": 32, "max": 64, "step": 1}),
- "batch_size": ("INT", {"default": 1, "min": 1, "max": 64})
+ "compression": ("INT", {"default": 42, "min": 4, "max": 128, "step": 1}),
+ "batch_size": ("INT", {"default": 1, "min": 1, "max": 4096})
}}
RETURN_TYPES = ("LATENT", "LATENT")
RETURN_NAMES = ("stage_c", "stage_b")