Pricing
Compare models →$0.094 per second of output at 720p (a 5 second clip costs $0.47).
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
duration | integer | The duration of the generated video in seconds (3-20).345678910111213141516171819205 |
aspect_ratio | string | The aspect ratio of the generated video.16:99:161:121:9"16:9" |
README
Kling V4.0 Flash Text-to-Video
Kling V4.0 Flash Text-to-Video turns a text prompt into a 720p video with synchronized audio. Flash is the fast, lower-cost tier of Kling 4.0: 720p clips of 3 to 20 seconds with synchronized audio, for quick iteration and volume work.
Why Choose This?
- Fast iteration — Flash returns clips quickly, so you can try more ideas per hour.
- Up to 20 seconds — Any length from 3 to 20 seconds in one generation.
- Four aspect ratios — 16:9, 9:16, 1:1 and 21:9 ultrawide.
- Native audio — Sound is generated together with the picture.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text describing the video, including sound you want to hear. |
| duration | No | 3 to 20 seconds, default 5. |
| aspect_ratio | No | 16:9 (default), 9:16, 1:1 or 21:9. |
Pricing
$0.094 per second of output at 720p (a 5 second clip costs $0.47).
Prompting Guide
- Name the subject, the action, the setting and the camera movement ("slow dolly-in", "handheld tracking shot").
- Describe the sound you want (ambience, music, a line of dialogue) in the prompt.
- Iterate on Flash, then move a settled prompt to Kling V4.0 when you need 1080p or longer clips.
Related Models
- Kling V4.0 Flash Image-to-Video — Animate a first-frame image.
- Kling V4.0 Flash Reference-to-Video — Generate with reference images and videos.
- Kling V4.0 Flash Video Edit — Edit an existing video with an instruction.
- Kling V4.0 — The full Kling 4.0: 1080p, clips up to 30 seconds, keyframes and reference audio.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Kling 4.0 Flash Text To Video API example
The catalog lists POST https://api.opensi.com.ai/api/v3/kwaivgi/kling-v4.0-flash/text-to-video for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"duration": 5,
"aspect_ratio": "16:9"
}Kling 4.0 Flash Text To Video API — Frequently asked questions
What is the Kling v4.0 Flash Text To Video API?
Kling v4.0 Flash Text To Video is a Kuaishou model for video generation, exposed as a REST API on OpenSIAI. Kling V4.0 Flash Text-to-Video generates high-quality videos from text prompts with synchronized audio, focusing on fast generation and rapid creative iteration for social content, marketing videos, storytelling, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Kling v4.0 Flash Text To Video API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/kwaivgi/kling-v4.0-flash/text-to-video.
How much does Kling v4.0 Flash Text To Video cost per run or per second?
Kling v4.0 Flash Text To Video starts at $0.094 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Kling v4.0 Flash Text To Video accept?
Key inputs: prompt, aspect_ratio, duration. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/kwaivgi/kling-v4.0-flash/text-to-video.
How long does Kling v4.0 Flash Text To Video take to generate?
Reported generation time on OpenSIAI is around 93 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Kling v4.0 Flash Text To Video outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Kuaishou). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.