infery
← All models

Kling 4.0 Flash Text to Video

v4-flash

Video generationby Kling

Kling 4.0 Flash generates videos from text prompts at 720p, with durations from 3 to 20 seconds and configurable aspect ratios.

Details

Accepts
text

Pricing

Price
11.75 cr / second

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
promptstringText prompt for video generation.
durationintegerVideo duration in seconds (3-20).
resolutionstringenum: 720pOutput resolution. Flash is 720p only.
aspect_ratiostringenum: 16:9, 9:16, 1:1, 21:9Aspect ratio of the generated video.
start_image_urlstringImage to use as the first frame of the video. Flash does not take an end frame. Max file size: 30.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s
elements—Characters/objects, referenced as @Element1, @Element2, ... (max 7). Up to 3 may be video elements. Flash does not accept voices.
video_urlstringThe video to edit (3-20s), referenced as @Video1. Max file size: 300.0MB, Min width: 700px, Min height: 700px, Max width: 4553px, Max height: 4553px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Min duration: 3.0s, Max duration: 20.05s, Min FPS: 23.9, Max FPS: 60.05, Timeout: 30.0s
image_urls—Reference images, referenced as @Image1, @Image2, ... (max 10).
video_urls—Reference videos, referenced as @Video2, @Video3, ... (max 4). The source, reference and element videos must total at most 20s.

Output

FieldTypeDescription
video—The generated video.