Comfy-Org/ComfyUI · error · ValueError

Exactly one input image is required.

Error message

Exactly one input image is required.

What it means

Error "Exactly one input image is required." thrown in Comfy-Org/ComfyUI.

Source

Thrown at comfy_api_nodes/nodes_wan.py:631

        seed: int = 0,
        generate_audio: bool = False,
        prompt_extend: bool = True,
        watermark: bool = False,
        shot_type: str = "single",
    ):
        if get_number_of_images(image) != 1:
            raise ValueError("Exactly one input image is required.")
        if "480P" in resolution and model == "wan2.6-i2v":
            raise ValueError("The Wan 2.6 model does not support 480P.")
        if duration == 15 and model == "wan2.5-i2v-preview":

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Provide exactly one input image.

When it happens

Trigger: Thrown at comfy_api_nodes/nodes_wan.py:631 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/e74d7327c5ff2f0c. Report an issue: GitHub.