
Video description
0/8000Click to upload or drag and drop
Supported formats: JPEG, PNG, WEBP Maximum file size: 10MB
Output video duration
Output video aspect ratio. Only effects when the first frame is active.
Video description
0/8000Click to upload or drag and drop
Supported formats: JPEG, PNG, WEBP Maximum file size: 10MB; Maximum files: 10
Click to upload or drag and drop
Supported formats: MP4, QUICKTIME, X-MATROSKA, X-MSVIDEO, WEBM Maximum file size: 10MB; Maximum files: 5
Up to 5 clips, 2–20 s each, 20 s combined (including video elements)
Output video duration
README
Complete guide to using Kling 4.0 Flash
Kling 4.0 Flash API for Fast 720p Video Generation

What the Kling 4.0 Flash API Does on Kie.ai


Keyframe to Video from a Single First Frame

720p MP4 Output, 3 to 20 Seconds

Built for Faster, Lower-Cost Iteration
Kling 4.0 Flash API vs Kling 4.0 API
Both models are available on Kie.ai with the same API key. Choose Kling 4.0 Flash for fast, lower-cost 720p drafts and high-volume generation. Choose Kling 4.0 when your workflow requires 1080p, clips longer than 20 seconds, or keyframe control.
| Feature | Kling 4.0 Flash API | Kling 4.0 API |
|---|---|---|
| Resolution | 720p | 720p and 1080p |
| Duration | 3–20 seconds | 3–30 seconds |
| Models | Reference to Video (text, image, element and video inputs) and first-frame Keyframe to Video | Reference to Video and Keyframe to Video with multi-keyframe control |
| Keyframe control | First frame only | First frame, end frame and multiple keyframes |
| Price at 720p on Kie.ai | 17 credits/s (11.3 with video input) | 28.5 credits/s (17 with video input) |
| Best for | Drafts, variations, and high-volume 720p video | 1080p output, longer clips, and keyframe-controlled shots |
How to Use the Kling 4.0 Flash API on Kie.ai
- 1
Step 1: Try It in the Playground
Sign up on Kie.ai and open the Kling 4.0 Flash playground in your browser. Select Reference to Video or Keyframe to Video, enter a prompt, attach reference media or a first-frame image, choose a duration, and test outputs before writing any code. - 2
Step 2: Get Your API Key
Generate an API key on your Kie.ai API Key Management page and pass it in the Authorization: Bearer YOUR_API_KEY request header. - 3
Step 3: Create a Generation Task
Send a POST request to https://api.kie.ai/api/v1/jobs/createTask with the model ID, for example {"model":"kling-4.0/flash-reference-to-video","input":{"prompt":"...","duration":5,"aspect_ratio":"16:9"}}. Pass media inputs (image_urls, video_urls, first_frame) as URLs. The call creates an asynchronous task and returns a taskId. Check the Kie.ai docs for each model's full parameter schema. - 4
Step 4: Get the Video
Poll GET /api/v1/jobs/recordInfo?taskId=... or configure a callBackUrl to receive the result when generation finishes, then download your 720p MP4.