AigenwayDocumentation

Kling AI / Kling 2.6 / Image to video

kling_ai/kling-2.6/image_to_video
Async

Animate an image into a short video.

Parameters

NameTypeRequiredDescriptionAllowed valuesBundle dim.
modestring
yes
Generation quality tier.standard, pro
promptstring
yes
Text prompt describing the desired output.
resolutionstring
yes
720p, 1080p
aspect_ratiostringno16:9, 9:16, 1:1
callback_urlstringnoWebhook URL invoked when async task completes.
input_imagesstring[]
yes
videos_countintegerno
duration_secondsinteger
yes
5, 10

Example request

{
  "provider": "kling_ai",
  "model": "kling-2.6",
  "method": "image_to_video",
  "params": {
    "mode": "pro",
    "prompt": "Subject turns their head slightly, light wind in their hair",
    "resolution": "1080p",
    "aspect_ratio": "9:16",
    "input_images": [
      "https://example.com/portrait.jpg"
    ],
    "duration_seconds": 5
  }
}

Example response

null
Pricing: see your dashboard (auth required).