← All models
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
| Field | Type | Description |
|---|---|---|
| prompt | string | Text prompt for video generation. |
| duration | integer | Video duration in seconds (3-20). |
| resolution | stringenum: 720p | Output resolution. Flash is 720p only. |
| aspect_ratio | stringenum: 16:9, 9:16, 1:1, 21:9 | Aspect ratio of the generated video. |
| start_image_url | string | Image 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_url | string | The 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
| Field | Type | Description |
|---|---|---|
| video | — | The generated video. |