AigenwayDocumentation

Kling AI / Kling V3 / Text to video

kling_ai/kling-v3/text_to_video
Async

Generate a video from a text prompt.

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.
videos_countintegerno
duration_secondsinteger
yes
5, 10

Example request

{
  "provider": "kling_ai",
  "model": "kling-v3",
  "method": "text_to_video",
  "params": {
    "mode": "pro",
    "prompt": "A red sports car drifting around a mountain curve at sunset, cinematic",
    "resolution": "1080p",
    "aspect_ratio": "16:9",
    "duration_seconds": 5
  }
}

Example response

null
Pricing: see your dashboard (auth required).