# 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.

<Note>
BytePlus shuts the Seedance 1.5 Pro model down on November 11, 2026, so this node no longer offers it and workflows saved with it stop working. `seedance-1-0-pro-250528` is the only model left on this node. For audio-video and longer clips, use the [Seedance 2.5 partner node](https://docs.comfy.org/tutorials/partner-nodes/bytedance/seedance-2-5).
</Note>

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `model` | The model used for video generation (default: `"seedance-1-0-pro-250528"`). | COMBO | Yes | `"seedance-1-0-pro-250528"` |
| `prompt` | The text prompt used to generate the video. Must not be empty and must not contain reserved parameter keywords (`resolution`, `ratio`, `duration`, `seed`, `camerafixed`, `watermark`). | 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. | 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) | 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` | Adds an AI-generated audio track. The remaining models ignore this input. (default: False) | BOOLEAN | No | - |

**Note:** Both `first_frame` and `last_frame` must be between 300x300 and 6000x6000 pixels and have an aspect ratio between 0.4 and 2.5. The `prompt` is checked and rejected if it contains reserved parameter keywords.

## 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):** `ae0f3a34a21baad7f04f6917e98d16dc64496479a050896869ec6693a9a9ebaf`
