Flux Locally with ComfyUI: FLUX.2 [klein] 4B, VRAM and the Apache 2.0 Licence
Lesson 3 of the Flux path: running FLUX.2 [klein] locally with ComfyUI. Why the 4B is the right choice for commercial work, how much VRAM you need, the official template and speed.
The most interesting Flux for a freelancer isn’t the biggest: it’s FLUX.2 [klein] 4B. Apache 2.0 licence (free commercial use), very fast, and able to generate, edit and combine references with the same model. ComfyUI has an official template.
Why the 4B
- Apache 2.0: you can use it for clients with no extra licence.
- Light: runs on consumer GPUs.
- All in one: text-to-image, editing and multi-reference (up to 4 images).
- The 9B is better but non-commercial: fine for tests.
Installation
- Update ComfyUI (lessons 1–2 of the ComfyUI path).
- Open the template library and search for FLUX.2 [klein].
- Let the template download the files into the right folders.
- Generate a first image without changing anything.
Try the speed
With a model this fast you can explore in bursts: random seed and lots of variations.
Isometric cutaway of a tiny bakery, warm interior lights, flour sacks, a baker shaping bread, soft shadows, clean 3D illustration style.
A futuristic electric motorbike parked in a rainy Tokyo alley at night, neon reflections, wet asphalt, cinematic.
Distilled or Base
Distilled versions are made for few steps and maximum speed; the “Base” versions are slower but better suited to fine-tuning and LoRAs (lesson 9).
Download the prompts
Lesson 03 prompt pack (.txt). Or save any prompt with ★ Save to your Prompt Library.
Recommended videos
AI Image Editing in ComfyUI: Flux 2 Klein – YouTube
How to Use FLUX.2 Klein in ComfyUI (Complete Guide) – YouTube
Common problems
- Out of memory: use fp8 versions or lower the resolution.
- Template missing: ComfyUI isn’t up to date.
Next lesson: text and typography in images.