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

Black Forest Labs: FLUX.2 [klein] 9B

black-forest-labs/flux-2-klein-9b

Access FLUX.2 [klein] 9B from Black Forest Labs using the Puter.js AI API.

Add to your app

Model Card

FLUX.2 [klein] 9B is an image generation and editing model from Black Forest Labs, released on January 15, 2026. It combines a 9B flow model with an 8B Qwen3 text embedder and is step-distilled to 4 inference steps, so it returns results in under a second.

It handles text-to-image generation and multi-reference image editing in a single model. It follows prompts more closely and produces higher quality than the 4B Klein variant, and Black Forest Labs says it matches or exceeds models five times its size.

It suits real-time applications, rapid prototyping, and latency-sensitive workflows, and is a faster option than the larger FLUX.2 [pro] and FLUX.2 [max] models.

Cost Per Image $0.015

per generation

Configuration output_mp

resolution

Release Date Jan 15, 2026

 

Add FLUX.2 [klein] 9B to your app

Use FLUX.2 [klein] 9B 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: "black-forest-labs/flux-2-klein-9b"
}).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: "black-forest-labs/flux-2-klein-9b"
        }).then(image => {
            document.body.appendChild(image);
        });
    </script>
</body>
</html>

More AI Models From Black Forest Labs

Find other Black Forest Labs models →

Video

FLUX 3

FLUX 3 is Black Forest Labs' multimodal foundation model, a change from the company's previous FLUX.1 and FLUX.2 releases, which were image-only. It is trained jointly on images, video, and audio using an architecture BFL calls Self-Flow, and is the company's first model to generate video and audio from the same set of weights. The video capability supports text-to-video, image-to-video, video-to-video editing, video continuation, and keyframe-based transitions, producing clips up to 20 seconds long in HD (1 megapixel per frame) or Full HD (2 megapixels per frame). It generates optional native audio alongside the video, including multilingual dialogue, sound effects, and ambient noise. Black Forest Labs reports FLUX 3 Video ranks highest in Elo ratings for text-to-video and image-to-video among models it compared, including Gemini Omni Flash, Minimax H3, and Seedance 2.0. FLUX 3 Video became generally available on August 5, 2026.

Image

FLUX.2 [klein] 4B

FLUX.2 Klein 4B is a compact, Apache 2.0 licensed model distilled from the full FLUX.2 architecture, capable of sub-second image generation on consumer GPUs with ~13GB VRAM. It supports text-to-image, image editing, and multi-reference generation in a unified model.

Image

FLUX.2 [klein] 9B

FLUX.2 Klein 9B is a larger variant of the Klein family built on a 9B flow model with an 8B Qwen3 text embedder, matching or exceeding models 5x its size in quality. It offers higher output diversity than the 4B distilled variant and is ideal for fine-tuning and research.

Frequently Asked Questions

How do I use FLUX.2 [klein] 9B?

You can access FLUX.2 [klein] 9B by Black Forest Labs 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 FLUX.2 [klein] 9B API free for developers?

FLUX.2 [klein] 9B 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 FLUX.2 [klein] 9B?
FLUX.2 [klein] 9B costs $0.015 per image.
Price
Per image$0.015
Who created FLUX.2 [klein] 9B?

FLUX.2 [klein] 9B was created by Black Forest Labs and released on Jan 15, 2026.

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

Yes — the FLUX.2 [klein] 9B 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 FLUX.2 [klein] 9B to your app for free

Developers can integrate FLUX.2 [klein] 9B 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