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 2.1 Master

kwaivgi/kling-2.1-master

Access Kling 2.1 Master from Kling using the Puter.js AI API.

Add to your app

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

 

Add Kling 2.1 Master to your app

Use Kling 2.1 Master 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: "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>

Frequently Asked Questions

How do I use Kling 2.1 Master?

You can access Kling 2.1 Master 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 2.1 Master API free for developers?

Kling 2.1 Master 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 2.1 Master?

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

Does it 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.

Add Kling 2.1 Master to your app for free

Developers can integrate Kling 2.1 Master 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