← Back to all generators

kwaivgi/kling-v4.0

Kling 4.0: generate 3 to 30 second videos at up to 1080p from text, keyframes, reference images, or reference videos, and edit existing videos

Capabilities

Reference Images

Cost

Community model (estimated from hardware time)

Input Parameters

promptrequiredstring

Text prompt describing the video. Refer to images as @image_1, @image_2, ... and videos as @video_1, @video_2, ... (see start_image and reference_images for numbering). Up to 26,000 English characters or 11,000 non-English characters.

aspect_ratiostring

Aspect ratio of the output video. Ignored when start_image, middle_images, end_image or base_video is set, since the aspect ratio then comes from the input.

Default: "16:9"
16:99:161:121:9
base_videostring

Video to edit (.mp4/.mov, 3-30 seconds, 700-4553px per side, max 300MB). Referred to as @video_1. When set, the output keeps the length and aspect ratio of this video.

durationinteger

Video duration in seconds. Ignored when base_video is set.

Default: 5min: 3, max: 30
end_imagestring

Last frame of the video. Same format requirements as start_image.

middle_imagesarray

Keyframes between the first and last frame, in order. Same format requirements as start_image.

Default:
reference_imagesarray

Reference images for characters, objects, scenes or style. Images are numbered in this order: start_image, middle_images, end_image, reference_images. Up to 10 images in total across all image inputs.

Default:
reference_videosarray

Reference videos to take motion, camera work or style from (.mp4/.mov, 3-30 seconds each, 700-4553px per side, max 300MB). Numbered after base_video.

Default:
resolutionstring

Output resolution.

Default: "1080p"
720p1080p
start_imagestring

First frame of the video. Supports .jpg/.jpeg/.png, max 30MB, min 300px, aspect ratio between 2:5 and 5:2.

Version: a35865309ecdUpdated: 11/7/202699 runs