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.

fix(veo): reject 4K resolution for veo-3.0 models in Veo3VideoGenerationNode (#13504)

Matt Miller91e1f45d80fb
diff --git a/comfy_api_nodes/nodes_veo2.py b/comfy_api_nodes/nodes_veo2.py
index 084b086a8..2ff75d9b2 100644
--- a/comfy_api_nodes/nodes_veo2.py
+++ b/comfy_api_nodes/nodes_veo2.py
@@ -393,8 +393,8 @@ class Veo3VideoGenerationNode(IO.ComfyNode):
model="veo-3.0-generate-001",
generate_audio=False,
):
- if "lite" in model and resolution == "4k":
- raise Exception("4K resolution is not supported by the veo-3.1-lite model.")
+ if resolution == "4k" and ("lite" in model or "3.0" in model):
+ raise Exception("4K resolution is not supported by the veo-3.1-lite or veo-3.0 models.")
model = MODELS_MAP[model]