Kling 4.0 Flash
Kling 4.0 Flash is the faster, lower-cost Kling 4.0 at 720p: 3–20 second videos from text, a first frame, or reference images and videos.
Kling 4.0 Flash Reference to Video
Up to 10 reference images. Mention them in the prompt as @image_1, @image_2...
Drag and drop an image, or click to browse
Supports PNG, JPEG, WebP. Max 10MB. You can also paste from clipboard (Ctrl+V).
Up to 5 reference videos, 2–20 s combined. Mention them as @video_1.
Drag and drop a video, or click to browse
Supports MP4, QUICKTIME. Max 100MB.
3–20
Auto follows the first frame or references.
Result
Results will appear here
Cost: $0.094/second
Pre-deducted at submit: $0.47 (5s)
Kling 4.0 Flash API Implementation Guide
Get API Key
Generate your API key from the dashboard and set it as an environment variable.
export MODELHUNTER_KEY="your_api_key"Make Your First Call
Follow the API documentation for complete code examples in cURL, JavaScript, and Python, including request format, polling, and error handling.
View API Documentation →Kling 4.0 Flash Key Info
Capabilities
- Keyframe to Video
- Reference to Video
Pricing
Price per second by resolution
| 720p |
|---|
| $0.094/second |
Billed per second at the official Kling price. With reference videos, input seconds are billed too; the final charge is settled from actual usage.
Use Cases
Output Formats
Kling 4.0 Flash API Documentation
Run the playground first, then open the full API docs for integration details.
About
Generate from up to 10 images and 5 videos at 720p.
Code Examples
1curl -X POST https://api.modelhunter.ai/api/v1/kling/reference-to-video \2-H "Authorization: Bearer YOUR_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"model": "kling-4.0/flash-reference-to-video",6"input": {7"prompt": "A futuristic cityscape at sunset with neon signs"8}9}'
Schema
View Full API DocsInput
modelModel ID for this capability.
Value: kling-4.0/flash-reference-to-video
promptPrompt
image_urlsUp to 10 reference images. Mention them in the prompt as @image_1, @image_2...
video_urlsUp to 5 reference videos, 2–20 s combined. Mention them as @video_1.
durationDuration (seconds)
Default: 5
Range: 3 to 20
aspect_ratioAuto follows the first frame or references.
Options: auto, 16:9, 9:16, 1:1, 21:9, 4:3, 3:4
keep_original_soundKeep the reference video’s audio instead of generating new audio.
Default: false
webhookUrlURL to receive a webhook notification when the task completes.
metadataCustom key-value metadata to attach to the task for tracking.
Response (HTTP 202)
successWhether the request was accepted successfully.
data.idUnique task ID. Use this to poll GET /api/v1/tasks/{id} for results.
data.statusTask status: pending, processing, completed, failed.
data.typeGeneration type: reference-to-video.
data.providerProvider name: kling.
data.modelModel ID used for generation.
data.created_atISO 8601 timestamp of when the task was created.
data.estimated_secondsEstimated time in seconds until the task completes.