Seedream 5.5 is live on Atlas Cloud — native transparent PNG & 80+ round editing
Home
Explore
Kwaivgi
Kling 4.0
kwaivgi/kling-v4.0/image-to-video
Atlas Cloud GeneratorUnlock your potential as a director.Go Create
Kling Video 4.0 Image-to-Video
image-to-video

Kling Video 4.0 Image-to-Video API by Kuaishou

kwaivgi/kling-v4.0/image-to-video
Image-to-video

Kling 4.0 keyframe video: animate from a first frame, through up to 10 keyframes, to a last frame in a single 3-30 second shot.

Compare models

Kling Video 4.0 Image-to-Video is developed by Kuaishou. Atlas Cloud (operated by Atlas Cloud AI LLC) provides access to it and does not own it. All trademarks belong to their respective owners.

Kling Video 4.0 Image-to-Video

Kling Video 4.0 Image-to-Video is keyframe-based generation: give it a first frame, optional middle keyframes and an optional last frame, and Kling 4.0 animates one continuous 3–30 second shot through all of them.

Why Choose This?

  • Multi-keyframes. Up to 10 images in one shot — first frame, middle keyframes in timeline order, and last frame.
  • Precise narrative control. Pin characters, poses and scenes at each keyframe.
  • Up to 30 seconds. Long takes in a single generation.

Parameters

ParameterRequiredDescription
modelYeskwaivgi/kling-v4.0/image-to-video
imageYesFirst keyframe (URL or Base64). JPG / JPEG / PNG, max 30MB, at least 300px, aspect ratio 2:5 to 5:2.
middle_imagesNoKeyframes between the first and last frame, in timeline order. Up to 8.
last_imageNoLast keyframe.
promptNoDescribes the motion between keyframes. Refer to keyframes as @image_1, @image_2, … (first → middle → last).
durationNoVideo length in seconds, integer 3–30. Default 5.
resolutionNoNative 720p or 1080p (default); Tencent ESR 1080p-esr, 2k-esr, or 4k-esr.

How to Use

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Authorization: Bearer $AIP_API_KEY" \ -H "Content-Type: application/json" \ --data-raw '{ "model": "kwaivgi/kling-v4.0/image-to-video", "prompt": "She looks into the camera with a confident smile, adjusts her hair and walks two steps toward the camera; the camera slowly pushes in.", "image": "https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/kling-tob-release_note/image_25.png", "duration": 5, "resolution": "1080p" }'

Generation is asynchronous. The response contains a request id; poll GET https://api.atlascloud.ai/api/v1/model/prediction/{id} until status is completed, then read the video URL from outputs.

Notes

  • Preview. Kling 4.0 is in early access upstream; pricing and limits follow Kling's preview terms and may change.
  • The Kling 4.0 API has no audio on/off or multi_shot parameter; describe sound and shot structure in the prompt.
  • duration must be an integer from 3 to 30. Supported resolutions are 720p, 1080p, 1080p-esr, 2k-esr, and 4k-esr.
  • ESR choices generate a Kling source video, then enhance it with Tencent ESR: 1080p-esr uses a native 720p source; 2k-esr and 4k-esr use a native 1080p source. These are enhanced outputs.
  • 2k-esr targets 1440p (2560×1440 at 16:9); 4k-esr targets 2160p (3840×2160 at 16:9). The source aspect ratio and frame rate are preserved; portrait outputs use the corresponding short-edge target.
  • ESR pricing adds an enhancement charge for output seconds to the source-generation price. Video-input billing still applies to source generation; the enhancement charge is not multiplied by input-video duration. ESR requires an additional processing stage, so completion can take longer than native generation.
  • The output video is transferred to AtlasCloud storage before it is returned.
  • Up to 10 images in total across image, middle_images and last_image. The output aspect ratio follows the keyframes.

Explore Similar Models

One API for All Media AI.

Explore all models