calesthio/OpenMontage · error · FileNotFoundError
Local input image not found: {path}
Error message
Local input image not found: {path} What it means
Error "Local input image not found: {path}" thrown in calesthio/OpenMontage.
Source
Thrown at tools/video/veo_video.py:371
# Construct generation configuration
config = types.GenerateVideosConfig(
aspect_ratio=aspect_ratio,
duration_seconds=duration_seconds,
resolution=resolution,
number_of_videos=1,
)
if inputs.get("generate_audio") is not None:
config.generate_audio = inputs["generate_audio"]
if inputs.get("negative_prompt"):
config.negative_prompt = inputs["negative_prompt"]
if inputs.get("seed") is not None:
config.seed = inputs["seed"]
def _get_image(url: str | None, path: str | None) -> Image.Image | None:
if path:
if not os.path.exists(path):
raise FileNotFoundError(f"Local input image not found: {path}")
return Image.open(path)
if url:
resp = requests.get(url, timeout=30)
resp.raise_for_status()
return Image.open(BytesIO(resp.content))
return None
def _to_sdk_image(pil_img: Image.Image) -> types.Image:
buf = BytesIO()
fmt = pil_img.format or "PNG"
try:
pil_img.save(buf, format=fmt)
except KeyError:
pil_img.save(buf, format="PNG")
fmt = "PNG"
return types.Image(
image_bytes=buf.getvalue(),
mime_type=f"image/{fmt.lower()}",View on GitHub (pinned to 95e1c3d0ab)
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.
When it happens
Trigger: veo_video image_to_video is called with a local input 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/b70dd4c93030144a.
Report an issue: GitHub.