> ## 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 Text-to-Video

> Generates a video from a text prompt using Kling models (Standard/Pro, multiple versions).

Generates a video from a text prompt using Kling models (Standard/Pro, multiple versions). Supports duration control, CFG scale, and negative prompts.

**Model**

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

## Inputs

### Required

* **prompt (STRING)**\
  Text prompt describing the video content. Max 2500 characters.
* **negative\_prompt (STRING)**\
  Text describing what should be avoided in the generated video. Max 2500 characters.
* **cfg\_scale (FLOAT)**\
  Controls how strongly the model follows the prompt.\
  Options: 0.0, 0.5, 1.0
* **aspect\_ratio (STRING)**\
  Defines output video shape. Options: 16:9, 9:16, 1:1
* **duration (STRING)**\
  Video length in seconds. Options: 5, 10
* **model (STRING)**\
  Kling model variant used for generation.

## Outputs

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