Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Kling: Kling 4.0 Flash

kling/kling-4.0-flash

Access Kling 4.0 Flash from Kling using the Puter.js AI API.

Add to your app

Model Card

Kling 4.0 Flash is a video generation model from Kuaishou's Kling AI, released as the faster, lower-cost tier of the Kling 4.0 family. It reached early-access users on September 28, 2026 and became generally available alongside the full Kling 4.0 on October 15, 2026.

It supports text-to-video, image-to-video, and Omni Reference, where reference assets guide the output. Kling positions it for rapid creative iteration and short-form video.

Through the API it generates clips from 3 to 20 seconds at 720p and 24 FPS. Compared with the full Kling 4.0, it lacks 1080p and 4K output, HDR, start-and-end frame control, and multiple keyframes, and its maximum length is 20 seconds instead of 30.

Choose it when speed and cost per clip matter more than resolution or keyframe control. It suits developers generating many short drafts, previews, or social clips.

Max Duration 20s

seconds

Frame Rate N/A

fps

Aspect Ratio N/A

supported

Release Date Sep 28, 2026

 

Add Kling 4.0 Flash to your app

Use Kling 4.0 Flash in your app with the Puter.js AI API, no API keys or setup required.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.txt2vid("A cat playing with a ball of yarn", {
    model: "kling/kling-4.0-flash"
}).then(video => {
    document.body.appendChild(video);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.txt2vid("A cat playing with a ball of yarn", {
            model: "kling/kling-4.0-flash"
        }).then(video => {
            document.body.appendChild(video);
        });
    </script>
</body>
</html>

More AI Models From Kling

Find other Kling models →

Video

Kling 4.0

Kling 4.0 is a video generation model from Kuaishou's Kling AI, released in October 2026 as the successor to Kling 3.0. It generates video together with synchronized two-channel stereo audio, including dialogue, sound effects and ambience. Kuaishou built the release around realism and control. It reports steadier large-scale motion and smoother complex camera work, such as tracking and orbit shots, plus single-pass clips of up to 30 seconds for long takes. Lip-sync is improved, with speech in languages including English, Chinese, Japanese, Korean, Spanish, Portuguese, German, French and Hindi. Kuaishou has not published benchmark scores. On Puter, it accepts durations from 3 to 30 seconds at 720p or 1080p and 24 FPS. Kling 4.0 suits developers who need long continuous shots, fast action scenes or spoken dialogue from one API call.

Video

Kling 3.0 Turbo

Kling 3.0 Turbo is a video generation model from Kuaishou's Kling team, released as a faster, lower-cost variant in the Kling 3.0 family. It generates video with synchronized audio and is tuned for quick turnaround in high-volume workloads. The release notes highlight improved lip-sync, which makes it a fit for talking-head and dialogue clips. Through the API it supports 720p and 1080p output at 24 FPS, with clip lengths from 3 to 15 seconds. Choose it when generation speed and cost per clip matter more than maximum fidelity. Third-party comparisons say the original Kling 3.0 remains the better pick for 4K output and its storyboard tooling. It suits developers building apps that generate many short clips, such as marketing videos, social content, and spoken-word scenes.

Image

Kling Image 3.0

Kling Image 3.0 is a text-to-image model from Kuaishou's Kling AI, released as part of the Kling 3.0 series alongside Video 3.0, Video 3.0 Omni, and Image 3.0 Omni. Kuaishou describes the series as having major upgrades in consistency and photorealistic output. It did not publish benchmark numbers for the image model in the sources we found, so we do not cite any here. Through the API it supports eight aspect ratios (16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, and 21:9), which covers landscape, portrait, square, and ultrawide layouts. It costs $0.028 per 1k image. It suits developers who want photorealistic output from a single model at a low per-image price, and who need flexible output shapes for web, social, or banner use.

Frequently Asked Questions

How do I use Kling 4.0 Flash?

You can access Kling 4.0 Flash by Kling through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required.

Is the Kling 4.0 Flash API free for developers?

Kling 4.0 Flash is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.

Who created Kling 4.0 Flash?

Kling 4.0 Flash was created by Kling and released on Sep 28, 2026.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Kling 4.0 Flash API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Add Kling 4.0 Flash to your app for free

Developers can integrate Kling 4.0 Flash for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.

Get started How pricing works