ComfyUI Node
Veo Image to Video
Generate video from an image (and optional last frame) using Veo.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | First frame of the video (required) | |
| clientopt | GEMINI_API_CLIENT | Gemini API client from Gemini API Config node. Optional: when unconnected, the key is resolved from ComfyUI Settings or config.ini. | |
| last_frame_imageopt | IMAGE | Optional 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_imagesopt | IMAGE | Up 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. | |
| promptopt | STRING | Optional text description to guide the video. Supports audio cues for Veo 3.x. | |
| modelopt | COMBO | veo-3.1-generate-preview | Veo 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_ratioopt | COMBO | 16:9 | Video aspect ratio (16:9 landscape, 9:16 portrait) |
| resolutionopt | COMBO | 720p | Output resolution. 1080p and 4k require duration=8s. Lite caps at 1080p. Veo 2 ignores this parameter. |
| duration_secondsopt | COMBO | 8 | Video 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_generationopt | COMBO | allow_adult | Person 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. |
| seedopt | INT | -1-1–4294967295 | Seed 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_directoryopt | STRING | Directory to save video. Empty uses ComfyUI output folder. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| video_path | STRING | — |