Black Forest Labs: FLUX.1 [dev]

This model is no longer available.

Add AI to your application with Puter.js.

Explore Other Models

Model Card

FLUX.1 Dev is a 12B parameter open-weight text-to-image model released under a non-commercial license. It offers quality comparable to DALL-E 3 and Midjourney 6 in prompt fidelity and photorealism, and is the most popular open image model globally. It's designed for developers and researchers to run on consumer hardware.

Cost Per Image $0.025

per generation

Configuration 1MP

resolution

Release Date Aug 1, 2024

 

Code Example

Add AI to 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").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").then(image => {
            document.body.appendChild(image);
        });
    </script>
</body>
</html>

Frequently Asked Questions

How do I use FLUX.1 [dev]?

You can access FLUX.1 [dev] 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 FLUX.1 [dev] free?

Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add FLUX.1 [dev] to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.

What is the pricing for FLUX.1 [dev]?
FLUX.1 [dev] costs $0.025 per image.
Price
Per image$0.025
Who created FLUX.1 [dev]?

FLUX.1 [dev] was created by Black Forest Labs and released on Aug 1, 2024.

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

Yes — the FLUX.1 [dev] 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 AI to your application without worrying about API keys or setup.

Explore Models View Tutorials