Kling

Kling API

Access Kling instantly with Puter.js, and add AI to any app in a few lines of code without backend or API keys.

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

puter.ai.txt2vid("A sunrise drone shot flying over a calm ocean", {
    model: "kwaivgI/kling-2.1-master"
}).then(videoElement => {
    document.body.appendChild(videoElement);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.txt2vid("A sunrise drone shot flying over a calm ocean", {
            model: "kwaivgI/kling-2.1-master"
        }).then(videoElement => {
            document.body.appendChild(videoElement);
        });
    </script>
</body>
</html>

List of Kling Models

Video

Kling 2.1 Master

kwaivgI/kling-2.1-master

Kling 2.1 Master is Kuaishou's premium AI video generation model featuring 1080p output, advanced 3D spatiotemporal attention for cinematic-grade realism, and superior prompt adherence. It supports both text-to-video and image-to-video with refined facial modeling and complex motion dynamics ideal for professional filmmakers and advertisers.

Video

Kling 2.1 Standard

kwaivgI/kling-2.1-standard

Kling 2.1 Standard is a cost-effective 720p AI video generation model from Kuaishou designed for high-volume content creation. It currently supports image-to-video generation only, offering fast rendering speeds and solid quality for social media clips, quick ads, and personal projects at roughly 5x lower cost than Master mode.

Video

Kling 2.1 Pro

kwaivgI/kling-2.1-pro

Kling 2.1 Pro is the mid-tier 1080p AI video model from Kuaishou offering enhanced sharpness, realistic lighting, and both first and last frame conditioning for precise transitions. It focuses on image-to-video generation with refined camera tools, sitting between Standard and Master in terms of quality and pricing.

Video

Kling 2.0 Master

kwaivgI/kling-2.0-master

Kling 2.0 Master is Kuaishou's flagship model from the 2.0 generation, delivering 1080p cinema-grade video with 3D spatiotemporal joint attention for realistic motion and physics simulation. It marked a major leap in visual realism and semantic understanding, supporting up to 5-second videos at 24fps with a multi-elements editor for flexible scene control.

Video

Kling 1.6 Standard

kwaivgI/kling-1.6-standard

Kling 1.6 Standard is Kuaishou's accessible 720p AI video model released in December 2024, offering a 195% improvement over Kling 1.5 in image-to-video quality. It provides fast, consistent video generation with enhanced prompt adherence and natural motion, ideal for beginners and creators needing quick social media content.

Video

Kling 1.6 Pro

kwaivgI/kling-1.6-pro

Kling 1.6 Pro is Kuaishou's professional-tier 1080p video model featuring superior motion fluidity, enhanced character realism, and unique first-and-last frame conditioning for 5-second clips. It delivers videos with greater storytelling control, making it ideal for marketing videos and cinematic short-form content.

Frequently Asked Questions

What is this Kling API about?

The Kling API gives you access to models for AI video generation. Through Puter.js, you can start using Kling models instantly with zero setup or configuration.

Which Kling models can I use?

Puter.js supports a variety of Kling models, including Kling 2.1 Master, Kling 2.1 Standard, Kling 2.1 Pro, and more. Find all AI models supported by Puter.js in the AI model list.

How much does it cost?

With the User-Pays model, users cover their own AI costs through their Puter account. This means you can build apps without worrying about infrastructure expenses.

What is Puter.js?

Puter.js is a JavaScript library that provides access to AI, storage, and other cloud services directly from a single API. It handles authentication, infrastructure, and scaling so you can focus on building your app.

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

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