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.

Make 2d area composition nodes work on video models.

comfyanonymous9af6320ec9d2
diff --git a/comfy/samplers.py b/comfy/samplers.py
index a1b4787ef..076c98791 100644
--- a/comfy/samplers.py
+++ b/comfy/samplers.py
@@ -34,6 +34,9 @@ def get_area_and_mult(conds, x_in, timestep_in):
return None
if 'area' in conds:
area = list(conds['area'])
+ while (len(area) // 2) < len(dims):
+ area = [2147483648] + area[:len(area) // 2] + [0] + area[len(area) // 2:]
+
if 'strength' in conds:
strength = conds['strength']