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

# Kling Image2Video

> Generates a video from a reference image and text prompt.

Generates a video from a reference image and text prompt.

**Model**

```bash theme={null}
Kling Image-to-Video (GMI API)
```

## Inputs

### Required

* **prompt (STRING)**\
  Text prompt describing motion and scene. Max 2500 characters.
* **negative\_prompt (STRING)**\
  Defines unwanted elements in output video. Max 2500 characters.
* **cfg\_scale (FLOAT)**\
  Controls prompt adherence strength.
* **duration (STRING)**\
  Video length in seconds. Options: 5, 10
* **model (STRING)**\
  Kling model version used for generation.

### Optional

* **start\_frame\_image (IMAGE)**\
  Image tensor used as the starting frame of the video.
* **start\_frame (STRING)**\
  URL of reference image used as starting frame.

## Outputs

* **VIDEO (VIDEO)**\
  Generated video tensor output.
* **VIDEO\_URL (STRING)**\
  Public URL to generated video.
* **FILE\_PATH (STRING)**\
  Local file path where video is saved.
