Comfy-Org/ComfyUI · error · ValueError

Only one input image is allowed for `end_frame`.

Error message

Only one input image is allowed for `end_frame`.

What it means

Error "Only one input image is allowed for `end_frame`." thrown in Comfy-Org/ComfyUI.

Source

Thrown at comfy_api_nodes/nodes_vidu.py:947

        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)
        payload = TaskCreationRequest(
            model=model,

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Provide only one image for end_frame.

When it happens

Trigger: Thrown at comfy_api_nodes/nodes_vidu.py:947 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/c96f19e8f9f606fe. Report an issue: GitHub.