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

Krea: Krea 2 Large

krea/krea-2-large

Access Krea 2 Large from Krea using the Puter.js AI API.

Add to your app

Model Card

Krea 2 Large is Krea's flagship text-to-image foundation model, larger and more flexible than Krea 2 Medium.

It is strongest at photorealism, with natural lighting, shallow depth of field, and real-world textures, and it also handles expressive and artistic styles. Krea says Large is more than twice the size of Medium and uses softer post-training, which gives it results Medium cannot match. Medium is the faster and cheaper option, and is described as especially stable for illustration and anime styles.

Through the API you can pass up to 10 style reference images with an adjustable strength, use moodboards, set the aspect ratio (1:1, 4:3, 3:2, 16:9, 4:5, 2:3 and others), and tune a creativity setting. Output renders at 1K.

It suits developers who need photographic images or a consistent look driven by reference images. We found no published benchmark scores for it.

Cost Per Image $0.06

per generation

Configuration output

resolution

Release Date N/A

 

Add Krea 2 Large to your app

Use Krea 2 Large 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.txt2img("A serene mountain landscape at sunset", {
    model: "krea/krea-2-large"
}).then(image => {
    document.body.appendChild(image);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.txt2img("A serene mountain landscape at sunset", {
            model: "krea/krea-2-large"
        }).then(image => {
            document.body.appendChild(image);
        });
    </script>
</body>
</html>

Frequently Asked Questions

How do I use Krea 2 Large?

You can access Krea 2 Large by Krea 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 Krea 2 Large API free for developers?

Krea 2 Large 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.

What is the pricing for Krea 2 Large?
Krea 2 Large costs $0.06 per image.
Price
Per image$0.06
Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Krea 2 Large 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 Krea 2 Large to your app for free

Developers can integrate Krea 2 Large 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