> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-feat-openapi-i18n.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# KlingStartEndFrameNode - ComfyUI Built-in Node Documentation

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

This node creates a video sequence that transitions between your provided start and end images. It generates all the frames in between to produce a smooth transformation from the first frame to the last frame. This node calls the image-to-video API but only supports the input options that work with the `image_tail` request field.

## Inputs

| Parameter         | Description                                                                                                                                                                                | Data Type | Required | Range                                                                                                                                                                                                                                                                                                                                                              |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `start_frame`     | Reference Image - URL or Base64 encoded string, cannot exceed 10MB, resolution not less than 300\*300px, aspect ratio between 1:2.5 \~ 2.5:1. Base64 should not include data:image prefix. | IMAGE     | Yes      | -                                                                                                                                                                                                                                                                                                                                                                  |
| `end_frame`       | Reference Image - End frame control. URL or Base64 encoded string, cannot exceed 10MB, resolution not less than 300\*300px. Base64 should not include data:image prefix.                   | IMAGE     | Yes      | -                                                                                                                                                                                                                                                                                                                                                                  |
| `prompt`          | Positive text prompt                                                                                                                                                                       | STRING    | Yes      | -                                                                                                                                                                                                                                                                                                                                                                  |
| `negative_prompt` | Negative text prompt                                                                                                                                                                       | STRING    | Yes      | -                                                                                                                                                                                                                                                                                                                                                                  |
| `cfg_scale`       | Controls the strength of the prompt guidance (default: 0.5)                                                                                                                                | FLOAT     | No       | 0.0-1.0                                                                                                                                                                                                                                                                                                                                                            |
| `aspect_ratio`    | The aspect ratio for the generated video (default: "16:9")                                                                                                                                 | COMBO     | No       | "16:9"<br />"9:16"<br />"1:1"                                                                                                                                                                                                                                                                                                                                      |
| `mode`            | The configuration to use for the video generation following the format: mode / duration / model\_name. (default: "pro mode / 5s duration / kling-v2-5-turbo")                              | COMBO     | No       | "pro mode / 5s duration / kling-v1-5"<br />"pro mode / 10s duration / kling-v1-5"<br />"pro mode / 5s duration / kling-v1-6"<br />"pro mode / 10s duration / kling-v1-6"<br />"pro mode / 5s duration / kling-v2-1"<br />"pro mode / 10s duration / kling-v2-1"<br />"pro mode / 5s duration / kling-v2-5-turbo"<br />"pro mode / 10s duration / kling-v2-5-turbo" |

**Image Constraints:**

* Both `start_frame` and `end_frame` must be provided and cannot exceed 10MB file size
* Minimum resolution: 300×300 pixels for both images
* `start_frame` aspect ratio must be between 1:2.5 and 2.5:1
* Base64 encoded images should not include the "data:image" prefix

## Outputs

| Output Name | Description                               | Data Type |
| ----------- | ----------------------------------------- | --------- |
| `output`    | The generated video sequence              | VIDEO     |
| `video_id`  | Unique identifier for the generated video | STRING    |
| `duration`  | Duration of the generated video           | STRING    |

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

***

**Source fingerprint (SHA-256):** `7e3a6a4b04b7ad01708a0664a6bed9d817103206074ef41a747ef8193a8ce348`
