Kling 2.1 Master API

Access Kling 2.1 Master AI video generation using Puter.js API.

Get Started

Model Card

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.

Max Duration 5s

seconds

Frame Rate N/A

fps

Aspect Ratio N/A

supported

Release Date Apr 15, 2025

 

API Usage Example

Add Kling 2.1 Master video generation to your app with just a few lines of code.
No API keys, no backend, no configuration required.

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

puter.ai.txt2vid("A cat playing with a ball of yarn", {
    model: "kwaivgI/kling-2.1-master"
}).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: "kwaivgI/kling-2.1-master"
        }).then(video => {
            document.body.appendChild(video);
        });
    </script>
</body>
</html>

View full documentation →

Frequently Asked Questions

What is this Kling 2.1 Master API about?

The Kling 2.1 Master API gives you access to Kling's video generation model through Puter.js. With just a few lines of JavaScript, you can integrate Kling 2.1 Master into any web app or Node.js project — no API keys, no backend, and no configuration required.

Who created Kling 2.1 Master?

Kling 2.1 Master was created by Kling and released on Apr 15, 2025.

How do I access the Kling 2.1 Master API?

You can access the Kling 2.1 Master API with just a few lines of JavaScript — no API keys, no backend, and no configuration required. Include the Puter.js library in your project and start making calls right away. For more details, check out our documentation.

Does the Kling 2.1 Master API work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Kling 2.1 Master 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.

Get started with Puter.js

Add Kling 2.1 Master video generation to your app without worrying about API keys or setup.

Read the Docs View Tutorials