# Runway First-Last-Frame to Video

The Runway First-Last-Frame to Video node generates a video using a start frame, an end frame, and a text prompt. It creates a smooth transition between the two provided keyframes using Runway's gen3a_turbo model. It is especially useful for complex transitions where the end frame is completely different from the start frame.

## Inputs

| Parameter | Description | Data Type | Required | Range |
|-----------|-------------|-----------|----------|-------|
| `prompt` | Text prompt for the generation (default: empty string) | STRING | Yes | N/A |
| `start_frame` | Start frame to be used for the video | IMAGE | Yes | N/A |
| `end_frame` | End frame to be used for the video. Supported for gen3a_turbo only. | IMAGE | Yes | N/A |
| `duration` | Duration of the generated video in seconds. The longer 10s duration gives the generation more time to smoothly transition between the start and end frames (default: "5"). | COMBO | Yes | `"5"`<br>`"10"` |
| `ratio` | Aspect ratio for the generated video (default: "768:1280") | COMBO | Yes | `"768:1280"`<br>`"1280:768"` |
| `seed` | Random seed for generation (default: 0) | INT | Yes | 0 to 4294967295 |

**Parameter Constraints:**

- The `prompt` must contain at least 1 character
- Both `start_frame` and `end_frame` must have maximum dimensions of 7999x7999 pixels
- Both `start_frame` and `end_frame` must have aspect ratios between 0.5 and 2.0
- The `end_frame` parameter is only supported when using the gen3a_turbo model

**Notes:**

- The generation cost is based on the selected duration: USD 0.0715 per second (USD 0.3575 for 5 seconds, USD 0.715 for 10 seconds)
- This node is marked as deprecated

## Outputs

| Output Name | Description | Data Type |
|-------------|-------------|-----------|
| `output` | The generated video transitioning between the start and end frames | 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/RunwayFirstLastFrameNode/en.md)

---
**Source fingerprint (SHA-256):** `1d8720aba833348583d2aa37e13a1ad43d9055b0201c9cb6ad9c95dada7e5056`
