Nodes/ERPK Collection/Veo Image to Video
ComfyUI Node

Veo Image to Video

Generate video from an image (and optional last frame) using Veo.

By eRepublik-Labs·Created 10 months ago·Updated about a month ago· 0
Veo Image to Video
  • image
  • client
  • last_frame_image
  • reference_images
  • video_path
prompt
modelveo-3.1-generate-preview
aspect_ratio16:9
resolution720p
duration_seconds8
person_generationallow_adult
seed-1
output_directory
CategoryERPK/Gemini/Veo

Inputs (12)

NameTypeDefaultDescription
imageIMAGEFirst frame of the video (required)
clientoptGEMINI_API_CLIENTGemini API client from Gemini API Config node. Optional: when unconnected, the key is resolved from ComfyUI Settings or config.ini.
last_frame_imageoptIMAGEOptional last frame for first-to-last interpolation. Supported on all Veo 3.x models including Lite, and Veo 2. REQUIRES duration_seconds=8 — the API rejects 4s/6s interpolation with an opaque 'use case not supported' 400 after running generation.
reference_imagesoptIMAGEUp to 3 reference images (batched IMAGE) for style/content guidance. Only supported on Veo 3.1 and Veo 3.1 Fast. REQUIRES duration_seconds=8 and aspect_ratio=16:9. Mutually exclusive with last_frame_image.
promptoptSTRINGOptional text description to guide the video. Supports audio cues for Veo 3.x.
modeloptCOMBOveo-3.1-generate-previewVeo model. Lite is cheapest (no 4k, no reference images). Veo 3.1 / 3.1 Fast support reference images. Veo 2 has no resolution control.
aspect_ratiooptCOMBO16:9Video aspect ratio (16:9 landscape, 9:16 portrait)
resolutionoptCOMBO720pOutput resolution. 1080p and 4k require duration=8s. Lite caps at 1080p. Veo 2 ignores this parameter.
duration_secondsoptCOMBO8Video duration. Veo 3.x (all variants): 4/6/8s. Veo 2: 5/6/8s. 8s output requires 1080p (or 4k where supported) or reference_images. Mismatched values are auto-clamped to the nearest valid choice.
person_generationoptCOMBOallow_adultPerson generation safety. EU/UK/CH/MENA: Veo 3.x limited to allow_adult. Veo 3.x image-to-video rejects allow_all; use allow_adult or dont_allow.
seedoptINT-1-1–4294967295Seed for ComfyUI cache invalidation. The Gemini Developer API does not accept a seed for video generation (only Vertex/Enterprise mode does), so this value is not forwarded — but changing it still forces a fresh run. -1 for random.
output_directoryoptSTRINGDirectory to save video. Empty uses ComfyUI output folder.

Outputs (1)

NameTypeDescription
video_pathSTRING