Comfy-Org/ComfyUI · error · ValueError
Too many images, maximum allowed is 7.
Error message
Too many images, maximum allowed is 7.
What it means
Error "Too many images, maximum allowed is 7." thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_vidu.py:361
resolution: str,
movement_amplitude: str,
) -> IO.NodeOutput:
if not prompt:
raise ValueError("The prompt field is required and cannot be empty.")
a = get_number_of_images(images)
if a > 7:
raise ValueError("Too many images, maximum allowed is 7.")
for image in images:
validate_image_aspect_ratio(image, (1, 4), (4, 1))
validate_image_dimensions(image, min_width=128, min_height=128)View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Use at most 7 images.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_vidu.py:361 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Comfy-Org/ComfyUI@1c6d8d45b3 (2026-08-14).
Data as JSON: /api/errors/967371d60eb4a91c.
Report an issue: GitHub.