Comfy-Org/ComfyUI · error · ValueError
Only one input image is allowed for `first_frame`.
Error message
Only one input image is allowed for `first_frame`.
What it means
Error "Only one input image is allowed for `first_frame`." thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_vidu.py:945
duration: int,
seed: int,
resolution: str,
movement_amplitude: str,
) -> IO.NodeOutput:
validate_string(prompt, max_length=2000)
if get_number_of_images(first_frame) > 1:
raise ValueError("Only one input image is allowed for `first_frame`.")
if get_number_of_images(end_frame) > 1:
raise ValueError("Only one input image is allowed for `end_frame`.")
validate_images_aspect_ratio_closeness(first_frame, end_frame, min_rel=0.8, max_rel=1.25, strict=False)View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Provide only one image for first_frame.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_vidu.py:945 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/21888c51336f249a.
Report an issue: GitHub.