calesthio/OpenMontage · error · FileNotFoundError

Local reference image not found: {path}

Error message

Local reference image not found: {path}

What it means

Error "Local reference image not found: {path}" thrown in calesthio/OpenMontage.

Source

Thrown at tools/video/veo_video.py:428

                last_image = _get_image(
                    inputs.get("last_frame_url"), inputs.get("last_frame_path")
                )
                if not image_obj or not last_image:
                    return ToolResult(
                        success=False,
                        error="first_last_frame_to_video requires first_frame_url/path and last_frame_url/path",
                    )
                config.last_frame = _to_sdk_image(last_image)
                sdk_image = _to_sdk_image(image_obj)

            elif operation == "reference_to_video":
                ref_images = []
                image_urls = list(inputs.get("reference_image_urls") or [])
                image_paths = list(inputs.get("reference_image_paths") or [])

                for path in image_paths:
                    if not os.path.exists(path):
                        raise FileNotFoundError(
                            f"Local reference image not found: {path}"
                        )
                    ref_images.append(
                        types.VideoGenerationReferenceImage(
                            image=_to_sdk_image(Image.open(path)),
                            reference_type=types.VideoGenerationReferenceType.ASSET,
                        )
                    )
                for url in image_urls:
                    resp = requests.get(url, timeout=30)
                    resp.raise_for_status()
                    ref_images.append(
                        types.VideoGenerationReferenceImage(
                            image=_to_sdk_image(Image.open(BytesIO(resp.content))),
                            reference_type=types.VideoGenerationReferenceType.ASSET,
                        )
                    )
                if not ref_images:

View on GitHub (pinned to 95e1c3d0ab)

Solutions

  1. Correct the reference image path to an existing local file.
  2. Alternatively upload the image and pass a public URL through the reference image URL field.

When it happens

Trigger: veo_video reference-based generation is called with a local reference image path that does not exist on disk.

Common situations: See trigger scenarios.


AI-assisted analysis of calesthio/OpenMontage@95e1c3d0ab (2026-08-15). Data as JSON: /api/errors/1cb7a11c993248ff. Report an issue: GitHub.