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 reference image and text prompt. Model
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.