Skip to content

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.

Emanuele Serra · 1 min read · Leggi in italiano
Flux Locally with ComfyUI: FLUX.2 [klein] 4B, VRAM and the Apache 2.0 Licence

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

  1. Update ComfyUI (lessons 1–2 of the ComfyUI path).
  2. Open the template library and search for FLUX.2 [klein].
  3. Let the template download the files into the right folders.
  4. 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.

AI Image Editing in ComfyUI: Flux 2 Klein – YouTube

How to Use FLUX.2 Klein in ComfyUI (Complete Guide) – YouTube

https://www.youtube.com/watch?v=GYJYud-E2I0

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.

Sources

Emanuele Serra

London-based Motion Design Director specializing in 3D animation and digital compositing, founder of 3DArt and producer of award-winning films.

Emanuele Serra →

Join the 3DArt community on Discord

Feedback on your work, live sessions, jobs and resources shared every day by 3D, VFX and motion artists.

Newsletter

The best of 3D, every week

Free resources with verified licenses, open contests, new tutorials and jobs. One email a week, no spam.