Kling 4.0 Flash
Generate 720p video with native audio using the Kling 4.0 Flash API. Describe the subject, action, camera movement, and sound in text, or upload a single image as the opening frame of a 3–20 second clip. Draft the opening of a vertical ad, animate a product photo, or preview the timing of a storyboard before filming. Find text-to-video and first-frame request examples, supported parameters, and usage pricing on the model page.
Overview for yir
Use Kling 4.0 Flash to generate 720p video with native audio from text or one first-frame image.
Typical use cases
- Describe a shot to preview camera motion, composition, and sound.
- Start a clip from a storyboard image or still frame to guide its opening composition.
Quick start and example
- Choose Text to video and describe the scene and camera movement.
- Choose First frame to video and provide one public HTTPS image as
first_frame. - Start with 5 seconds at 720p. Submit the request and keep the task ID.
- Query
GET /v1/videos/{task_id}. On success, look for the video URL inresult.files.
The Playground contains a request example and an illustrative job response.
Key parameters
| Parameter name | Required or default | Allowed or example values | When to use it |
|---|---|---|---|
prompt | Required | Scene and motion description | Guide the action, framing, and camera movement. |
references | Required for image inputs | One public HTTPS image | Use the role required by the selected mode. |
duration | 5 seconds | 3–20 seconds | Set the output length. |
resolution | 720p | 720p | Choose the output resolution. |
aspect_ratio | 16:9 | Text to video: 16:9, 9:16, 1:1, 21:9; First frame to video: auto | Set the framing for the selected mode. |
generate_audio | true | true | The video includes generated audio. |
n | 1 | 1 | Submit a separate job for each additional video. |
Version and route differences
OpenAny supports text-to-video and first-frame-to-video for this model. Both modes produce 720p video with native audio.
Billing and usage limits
OpenAny displays video pricing per second. See Pricing on this model page for the current rate. The final charge appears when the job completes.
Common questions
Can I use a public image URL?
Yes. Use a direct HTTPS image link and assign the reference role shown in the Playground.
How do I get the video after submitting?
Use the original task ID to query the job until it finishes, then read the file URL from the result.