Skip to main content
Model IDvideo_generate.kling_2_1_standard
ProviderKIE (Kuaishou)
ModalityVideo — Text-to-Video

Parameters

prompt
string
required
Text description of the video to generate.
video_params.aspect_ratio
string
required
Output aspect ratio. Options: 16:9, 9:16, 1:1. Default: 16:9.
video_params.duration
number
required
Video length in seconds. Options: 5, 10.
video_params.resolution
string
Output resolution. Options: 720p, 1080p.
callback_url
string
Webhook URL for completion notification.

Example

curl -X POST https://routerbase.kuaibaike.com/api/v1/run/video_generate.kling_2_1_standard \
  -H "Authorization: Bearer sk-t0-xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A time-lapse of a blooming flower from bud to full bloom",
    "video_params": {
      "aspect_ratio": "9:16",
      "duration": 5
    }
  }'