Black Forest Labs: FLUX.1 Canny [dev]
black-forest-labs/flux-canny-dev
Access FLUX.1 Canny [dev] from Black Forest Labs using the Puter.js AI API.
Get StartedModel Card
FLUX.1 Canny [dev] is a 12 billion parameter open-weight model from Black Forest Labs that generates images conditioned on a canny edge map extracted from an input image, alongside a text prompt.
It preserves the structure and composition of the source image while a prompt drives style, texture, and content changes, useful for turning sketches into finished art, retexturing objects, or controlled style transfer.
The model was trained with guidance distillation, making it more efficient than a standard classifier-free-guidance model of the same size, and its weights are downloadable from Hugging Face. Black Forest Labs positions it just below the production Canny [pro] variant in output quality.
Cost Per Image $0.025
per generation
Configuration output
resolution
Release Date Nov 21, 2024
Code Example
Use FLUX.1 Canny [dev] 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-canny-dev"
}).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-canny-dev"
}).then(image => {
document.body.appendChild(image);
});
</script>
</body>
</html>
More AI Models From Black Forest Labs
Find other Black Forest Labs models →
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.
ImageFLUX.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.
ImageFLUX.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
You can access FLUX.1 Canny [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.
FLUX.1 Canny [dev] 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.
| Price | |
|---|---|
| Per image | $0.025 |
FLUX.1 Canny [dev] was created by Black Forest Labs and released on Nov 21, 2024.
Yes — the FLUX.1 Canny [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.
Add FLUX.1 Canny [dev] to your app for free
Developers can integrate FLUX.1 Canny [dev] for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.