> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Veo3FirstLastFrameNode - ComfyUI Built-in Node Documentation

> Complete documentation for the Veo3FirstLastFrameNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/Veo3FirstLastFrameNode/en.md)

The Veo3FirstLastFrameNode uses Google's Veo 3 model to generate a video. It creates a video based on a text prompt, using a provided first and last frame to guide the start and end of the sequence.

## Inputs

| Parameter         | Data Type | Required | Range                                               | Description                                                                        |
| ----------------- | --------- | -------- | --------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `prompt`          | STRING    | Yes      | N/A                                                 | Text description of the video (default: empty string).                             |
| `negative_prompt` | STRING    | No       | N/A                                                 | Negative text prompt to guide what to avoid in the video (default: empty string).  |
| `resolution`      | COMBO     | Yes      | `"720p"`<br />`"1080p"`                             | The resolution of the output video.                                                |
| `aspect_ratio`    | COMBO     | No       | `"16:9"`<br />`"9:16"`                              | Aspect ratio of the output video (default: "16:9").                                |
| `duration`        | INT       | No       | 4 to 8                                              | Duration of the output video in seconds (default: 8).                              |
| `seed`            | INT       | No       | 0 to 4294967295                                     | Seed for video generation (default: 0).                                            |
| `first_frame`     | IMAGE     | Yes      | N/A                                                 | The start frame for the video.                                                     |
| `last_frame`      | IMAGE     | Yes      | N/A                                                 | The end frame for the video.                                                       |
| `model`           | COMBO     | No       | `"veo-3.1-generate"`<br />`"veo-3.1-fast-generate"` | The specific Veo 3 model to use for generation (default: "veo-3.1-fast-generate"). |
| `generate_audio`  | BOOLEAN   | No       | N/A                                                 | Generate audio for the video (default: True).                                      |

## Outputs

| Output Name | Data Type | Description               |
| ----------- | --------- | ------------------------- |
| `output`    | VIDEO     | The generated video file. |
