Comfy-Org/ComfyUI · error · ValueError

A 15-second duration is supported only by the Wan 2.6 model.

Error message

A 15-second duration is supported only by the Wan 2.6 model.

What it means

Error "A 15-second duration is supported only by the Wan 2.6 model." thrown in Comfy-Org/ComfyUI.

Source

Thrown at comfy_api_nodes/nodes_wan.py:457

        prompt_extend: bool = True,
        watermark: bool = False,
        shot_type: str = "single",
    ):
        if "480p" in size and model == "wan2.6-t2v":
            raise ValueError("The Wan 2.6 model does not support 480p.")
        if duration == 15 and model == "wan2.5-t2v-preview":
            raise ValueError("A 15-second duration is supported only by the Wan 2.6 model.")
        width, height = RES_IN_PARENS.search(size).groups()
        audio_url = None
        if audio is not None:

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Select the Wan 2.6 model or use a shorter duration.

When it happens

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