{"record":{"id":"c96f19e8f9f606fe","repo":"Comfy-Org/ComfyUI","slug":"only-one-input-image-is-allowed-for-end-frame","errorCode":null,"errorMessage":"Only one input image is allowed for `end_frame`.","messagePattern":"Only one input image is allowed for `end_frame`\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_vidu.py","lineNumber":947,"sourceCode":"        resolution: str,\n        movement_amplitude: str,\n    ) -> IO.NodeOutput:\n        validate_string(prompt, max_length=2000)\n        if get_number_of_images(first_frame) > 1:\n            raise ValueError(\"Only one input image is allowed for `first_frame`.\")\n        if get_number_of_images(end_frame) > 1:\n            raise ValueError(\"Only one input image is allowed for `end_frame`.\")\n        validate_images_aspect_ratio_closeness(first_frame, end_frame, min_rel=0.8, max_rel=1.25, strict=False)\n        payload = TaskCreationRequest(\n            model=model,","sourceCodeStart":929,"sourceCodeEnd":965,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_vidu.py#L929-L965","documentation":"Error \"Only one input image is allowed for `end_frame`.\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_vidu.py:947 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide only one image for end_frame."],"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-15T17:31:12.345Z"}