# ByteDance First-Last-Frame to Video

This node generates a video using a text prompt along with first and last frame images. It takes your description and the two key frames to create a complete video sequence that transitions between them. The node provides various options to control the video's resolution, aspect ratio, duration, and other generation parameters.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `model` | The model to use for video generation (default: `"seedance-1-0-lite-i2v-250428"`). | COMBO | Yes | `"seedance-1-5-pro-251215"`<br>`"seedance-1-0-pro-250528"`<br>`"seedance-1-0-lite-i2v-250428"` |
| `prompt` | The text prompt used to generate the video. | STRING | Yes | - |
| `first_frame` | First frame to be used for the video. Must be between 300x300 and 6000x6000 pixels, with an aspect ratio between 0.4 and 2.5. | IMAGE | Yes | - |
| `last_frame` | Last frame to be used for the video. Must be between 300x300 and 6000x6000 pixels, with an aspect ratio between 0.4 and 2.5. | IMAGE | Yes | - |
| `resolution` | The resolution of the output video. | COMBO | Yes | `"480p"`<br>`"720p"`<br>`"1080p"` |
| `aspect_ratio` | The aspect ratio of the output video (default: `"adaptive"`). | COMBO | Yes | `"adaptive"`<br>`"16:9"`<br>`"4:3"`<br>`"1:1"`<br>`"3:4"`<br>`"9:16"`<br>`"21:9"` |
| `duration` | The duration of the output video in seconds (default: 5). Note: For the `seedance-1-5-pro-251215` model, the minimum supported duration is 4 seconds. | INT | Yes | 3 - 12 |
| `seed` | Seed to use for generation (default: 0). | INT | No | 0 - 2147483647 |
| `camera_fixed` | Specifies whether to fix the camera. The platform appends an instruction to fix the camera to your prompt, but does not guarantee the actual effect (default: False). | BOOLEAN | No | - |
| `watermark` | Whether to add an "AI generated" watermark to the video (default: False). | BOOLEAN | No | - |
| `generate_audio` | This parameter is ignored for any model except `seedance-1-5-pro-251215` (default: False). | BOOLEAN | No | - |

## Outputs

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

> 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/ByteDanceFirstLastFrameNode/en.md)

---
**Source fingerprint (SHA-256):** `56b619d191c0a78ac51eaddf93c86f6ec85a486cc4e6d0e021c1e58b4df29189`
