{"record":{"id":"b70dd4c93030144a","repo":"calesthio/OpenMontage","slug":"local-input-image-not-found-path","errorCode":null,"errorMessage":"Local input image not found: {path}","messagePattern":"Local input image not found: (.+?)","errorType":"validation","errorClass":"FileNotFoundError","httpStatus":null,"severity":"error","filePath":"tools/video/veo_video.py","lineNumber":371,"sourceCode":"        # Construct generation configuration\n        config = types.GenerateVideosConfig(\n            aspect_ratio=aspect_ratio,\n            duration_seconds=duration_seconds,\n            resolution=resolution,\n            number_of_videos=1,\n        )\n\n        if inputs.get(\"generate_audio\") is not None:\n            config.generate_audio = inputs[\"generate_audio\"]\n        if inputs.get(\"negative_prompt\"):\n            config.negative_prompt = inputs[\"negative_prompt\"]\n        if inputs.get(\"seed\") is not None:\n            config.seed = inputs[\"seed\"]\n\n        def _get_image(url: str | None, path: str | None) -> Image.Image | None:\n            if path:\n                if not os.path.exists(path):\n                    raise FileNotFoundError(f\"Local input image not found: {path}\")\n                return Image.open(path)\n            if url:\n                resp = requests.get(url, timeout=30)\n                resp.raise_for_status()\n                return Image.open(BytesIO(resp.content))\n            return None\n\n        def _to_sdk_image(pil_img: Image.Image) -> types.Image:\n            buf = BytesIO()\n            fmt = pil_img.format or \"PNG\"\n            try:\n                pil_img.save(buf, format=fmt)\n            except KeyError:\n                pil_img.save(buf, format=\"PNG\")\n                fmt = \"PNG\"\n            return types.Image(\n                image_bytes=buf.getvalue(),\n                mime_type=f\"image/{fmt.lower()}\",","sourceCodeStart":353,"sourceCodeEnd":389,"githubUrl":"https://github.com/calesthio/OpenMontage/blob/95e1c3d0ab93482159818560f6a8c8e866b9139f/tools/video/veo_video.py#L353-L389","documentation":"Error \"Local input image not found: {path}\" thrown in calesthio/OpenMontage.","triggerScenarios":"veo_video image_to_video is called with a local input image path that does not exist on disk.","commonSituations":"See trigger scenarios.","solutions":["Fix the image path so it points to an existing local file.","If the image is remote, pass its URL via the image_url parameter instead of image_path."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"95e1c3d0ab93482159818560f6a8c8e866b9139f","analyzedAt":"2026-08-15T06:31:20.014Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}