{"record":{"id":"21888c51336f249a","repo":"Comfy-Org/ComfyUI","slug":"only-one-input-image-is-allowed-for-first-frame","errorCode":null,"errorMessage":"Only one input image is allowed for `first_frame`.","messagePattern":"Only one input image is allowed for `first_frame`\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_vidu.py","lineNumber":945,"sourceCode":"        duration: int,\n        seed: int,\n        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)","sourceCodeStart":927,"sourceCodeEnd":963,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_vidu.py#L927-L963","documentation":"Error \"Only one input image is allowed for `first_frame`.\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_vidu.py:945 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide only one image for first_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"}