Skip to main content

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.

Generates a video from a text prompt using Kling models (Standard/Pro, multiple versions). Supports duration control, CFG scale, and negative prompts. Model
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.