{"record":{"id":"f274181476d1596c","repo":"Comfy-Org/ComfyUI","slug":"a-15-second-duration-is-supported-only-by-the-wan","errorCode":null,"errorMessage":"A 15-second duration is supported only by the Wan 2.6 model.","messagePattern":"A 15-second duration is supported only by the Wan 2\\.6 model\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_wan.py","lineNumber":457,"sourceCode":"        prompt_extend: bool = True,\n        watermark: bool = False,\n        shot_type: str = \"single\",\n    ):\n        if \"480p\" in size and model == \"wan2.6-t2v\":\n            raise ValueError(\"The Wan 2.6 model does not support 480p.\")\n        if duration == 15 and model == \"wan2.5-t2v-preview\":\n            raise ValueError(\"A 15-second duration is supported only by the Wan 2.6 model.\")\n        width, height = RES_IN_PARENS.search(size).groups()\n        audio_url = None\n        if audio is not None:","sourceCodeStart":439,"sourceCodeEnd":475,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_wan.py#L439-L475","documentation":"Error \"A 15-second duration is supported only by the Wan 2.6 model.\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_wan.py:457 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Select the Wan 2.6 model or use a shorter duration."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1c6d8d45b3693bfbb32385b410d813a7fd6be216","analyzedAt":"2026-08-14T19:37:18.893Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}