image-generationdiffusion-modelscomfyuifluxopen-sourcelocal-ai

The Best Open-Source Image Generation Stack in 2026

Max P

The open image generation stack got rebuilt between late 2025 and mid 2026: FLUX.2, Qwen-Image-2512, and Z-Image all landed within weeks of each other, and the sensible default changed with each release. This guide picks a base model per use case, settles the UI question, lays out a working upscaling and editing chain, and ends with the license check you should run before any output touches a paying customer. It is written for developers and technical makers generating on their own hardware.

The picks, up front

  • Best overall output: FLUX.2 [dev]. The strongest open-weight image model you can download, with a license that bites commercial self-hosters.
  • Best commercial-safe all-rounder: Qwen-Image, specifically the 2512 refresh. Apache 2.0, 20B parameters, and the best open text rendering not named FLUX.
  • Best small and fast model: Z-Image Turbo. 6B, Apache 2.0, eight sampling steps, fits a 16 GB card.
  • Best editing model: Qwen-Image-Edit, the 2511 build. Apache 2.0, takes multiple reference images.
  • Best finetuning base: Chroma for full freedom, FLUX.2 klein 4B for speed.
  • Best for anime and illustration: Illustrious XL and the wider SDXL ecosystem, still.
  • UI: ComfyUI. This stopped being a real debate in 2025.

Every one of these has a real weakness, covered below. A roundup that loves everything is useless.

The 2026 field, compared

Three model families now matter for general work: Black Forest Labs and its FLUX.2 line (November 2025), Alibaba Tongyi and its Qwen-Image line (August 2025, refreshed December 2025), and Tongyi's separate Z-Image line (November 2025 and January 2026). The Stable Diffusion families that defined 2023 and 2024 are now niche picks rather than defaults, with one big exception for stylized art.

ModelParamsLicensePractical VRAM floorWhere it wins
FLUX.2 [dev]32BFLUX.2 Non-Commercial~32 GB at FP8, 24 GB with offloadingOverall quality, typography, multi-reference
Qwen-Image-251220BApache 2.0~16 GB at FP8, ~3 GB with 4-bit offloadText rendering, realism, license freedom
Z-Image Turbo6BApache 2.016 GB native, less with GGUF quantsSpeed and quality per GB
FLUX.2 klein 4B4BApache 2.0~13 GBFour-step latency on consumer cards
Chroma1-HD8.9BApache 2.0Comfortable on 24 GB, quants go lowerUnfiltered finetuning base
SD 3.5 Large8BStability CommunityMid-range cards via FP8 and GGUFMature tooling, known behavior
SDXL3.5BOpenRAIL++6 to 8 GBUnmatched finetune library
Illustrious XLSDXL-basedFair AI Public License6 to 8 GBAnime and character art
HunyuanImage 3.080B MoETencent CommunityMulti-GPU onlyPrompt reasoning, if you can host it

VRAM floors are for usable day-to-day work, not proof-of-life demos with everything offloaded to system RAM.

The flagships: FLUX.2 [dev] and Qwen-Image

FLUX.2 [dev]: the quality ceiling, with strings attached

Black Forest Labs shipped FLUX.2 in November 2025. The open-weight [dev] variant is a 32B rectified flow transformer paired with a 24B Mistral text encoder, and it currently leads the open field where it counts for commercial-looking work: legible typography, product photography, controlled lighting, and multi-reference conditioning that holds a subject or style across generations.

The cost is hardware and legal overhead. Full precision wants 80 GB class hardware once the text encoder is loaded; FP8 lands around 32 GB, and ComfyUI weight offloading plus community GGUF quantizations pull it onto 24 GB cards at some quality and speed cost. The FLUX.2 [dev] Non-Commercial License allows free non-commercial use, and the outputs themselves can be used commercially, but running the weights inside a commercial product or service requires a paid license from BFL, and you cannot use outputs to train a competing model. If your product self-hosts image generation, that is a real procurement conversation, not a checkbox.

If you want the FLUX lineage without the asterisks, Chroma is the community's answer: an 8.9B Apache 2.0 model rebuilt from FLUX.1 schnell (a 3.3B timestep-encoding block replaced with a 250M FFN), retrained on roughly 5M curated images with no safety filtering, and explicitly positioned as a neutral base for finetuning. Chroma1-HD is the current flagship checkpoint. Out-of-the-box aesthetics are rougher than FLUX.2, which is the honest price of a clean license and an opinionated dataset.

Qwen-Image: the commercial-safe default

Qwen-Image launched in August 2025 as a 20B multimodal diffusion transformer under Apache 2.0, and the late December 2025 refresh, Qwen-Image-2512, is the version to run: noticeably less of the glossy AI sheen on skin, better fine detail in landscapes and fur, and stronger text layout. Across more than 10,000 rounds of blind pairwise evals on Alibaba's AI Arena, the team reports 2512 as the strongest open-source image model, and community testing has broadly agreed with that placement for prompt following and typography.

Text rendering is the standout: posters, UI mockups, product labels, and bilingual English and Chinese layouts come out legible at rates the Western open models still do not match consistently. BF16 weights want about 40 GB, FP8 fits around 16 GB, and 4-bit builds (next section) run in single-digit VRAM with offloading.

Weaknesses, honestly: a 20B dense model is not fast, distilled speedup checkpoints cost quality, and the LoRA ecosystem, while growing quickly, is still years behind SDXL in depth. None of that outweighs the license for anyone shipping a product.

Small and fast: Z-Image, klein, and 4-bit everything

Z-Image Turbo, from Alibaba's Tongyi Lab, is the efficiency result of 2025: a 6B single-stream DiT released November 26, 2025 under Apache 2.0, distilled to eight sampling steps, sub-second generation on datacenter GPUs, and a 16 GB footprint on consumer cards. At its December 2025 debut it ranked first among open models on the Artificial Analysis text-to-image leaderboard, which for a 6B model was a genuine shock. The non-distilled Z-Image base model followed on January 27, 2026, running 28 to 50 steps with CFG for maximum quality. A ControlNet, Z-Image-Edit, and the Omni base model all remain announced but unreleased as of August 2026.

FLUX.2 klein 4B, released in January 2026 under Apache 2.0, is BFL's answer at the small end: size-distilled from FLUX.2, four inference steps, about 13 GB of VRAM. Watch the fine print: the larger 9B klein variant sits under BFL's non-commercial license, so grab the 4B if license freedom is the point.

The other half of the low-VRAM story is quantization. Nunchaku, the SVDQuant inference engine from MIT Han Lab's research, runs 4-bit diffusion models with low-rank outlier absorption: FLUX-class 12B models shrink about 3.6x and run roughly 3x faster than NF4 baselines on an RTX 4090, with native ComfyUI nodes. It supports FLUX, Qwen-Image, Qwen-Image-Edit, and Z-Image with LoRA compatibility, and async CPU offloading brings Qwen-Image down to about 3 GB of VRAM. If your GPU is the constraint, this is the single highest-leverage install in the stack. GGUF quantizations loaded through ComfyUI's GGUF nodes are the simpler, slower alternative.

Anime and illustration: SDXL refuses to die

Stable Diffusion XL is a 2023 model with a 3.5B parameter base, and for photorealism it lost to the DiTs above long ago. For stylized work it remains irreplaceable, because ecosystem gravity beats architecture: thousands of finetuned checkpoints, style LoRAs, and ControlNet models exist for SDXL and nowhere else.

The center of that world is Illustrious XL, OnomaAI's Danbooru-trained SDXL derivative that most competitive anime and character-art checkpoints on Civitai now build on. Know the license before building on it: the Fair AI Public License 1.0-SD is share-alike, meaning derivative models must be released under the same terms, and closed-source monetized finetunes are prohibited. That is fine for open communities and hobby work, and a real constraint for a proprietary product.

The practical read for August 2026: an Illustrious-family checkpoint on an 8 GB card will beat a 20B DiT for anime output, and LoRA training costs a fraction as much. Use the new models for realism and text; keep SDXL for style.

The UI choice: ComfyUI won

ComfyUI is the default runtime for all of this, and at this point the argument is over. Support for new models lands within days of release (FLUX.2, Qwen-Image-2512, and Z-Image all have first-party workflow templates), the node graph doubles as a reproducible pipeline definition you can version and run headless through its API, and every serious new tool ships ComfyUI nodes first.

pip install comfy-cli
comfy install
comfy launch

AUTOMATIC1111's WebUI deserves its historical credit and an honest verdict: development stalled after v1.10.1 in July 2024, there is no native support for the FLUX-class generation of models, and community forks like Forge and its Forge Neo continuation now carry the tabbed-UI torch. If graphs are genuinely not your thing, better options exist. SwarmUI gives you a conventional tabbed interface running on a ComfyUI backend, so you keep day-one model support. InvokeAI has the best canvas-and-layers workflow for iterating on regions of an image like a design tool. Krita AI Diffusion embeds ComfyUI-backed generation and inpainting inside an actual painting app, which is where illustrators should start. On Apple silicon, Draw Things and mflux cover the gap natively.

The upscaling and editing chain

Upscaling and restoration

Real-ESRGAN is still the correct first pass in 2026: BSD-3-Clause licensed, fast, deterministic, with the general RealESRGAN_x4plus model and a smaller anime-6B variant.

python inference_realesrgan.py -n RealESRGAN_x4plus -i input.png --outscale 4

Add --face_enhance to run GFPGAN face restoration in the same pass. Its known weakness is a plasticky, over-smoothed texture on large photographic upscales, which is where a diffusion refinement pass earns its keep.

SUPIR sits at the other extreme: diffusion-prior restoration that produces the best perceived quality available for small or damaged inputs, at the cost of hallucinated detail, heavy VRAM, and a license that is strictly non-commercial without written permission. That last part is a trap: a clean Apache pipeline with SUPIR in the middle is not a clean pipeline anymore.

A chain that works: generate at the model's native resolution (Qwen-Image-2512 is comfortable around 2K), Real-ESRGAN 2x, then an optional low-denoise tiled refinement pass in ComfyUI for texture. Keep SUPIR for personal restoration work.

Editing models

Qwen-Image-Edit 2511 is the best open editing model right now and the easiest license call: Apache 2.0, built on the 20B Qwen-Image base, instruction-driven, and it accepts multiple reference images for jobs like composing two people into one shot, with much better character consistency than the earlier 2509 build and native LoRA support. FP8 runs in about 16 GB; full BF16 wants around 40 GB.

FLUX.1 Kontext [dev], released June 2025, remains excellent at precise in-context edits, especially identity-preserving changes, but carries the FLUX dev non-commercial terms: outputs are commercially usable, self-hosting it in a commercial service is not, absent a BFL deal.

For structural control, the ControlNet and IP-Adapter ecosystems are deepest on SDXL, while the new DiT models are catching up through releases like the InstantX and Alibaba Fun ControlNet unions for Qwen-Image. If your workflow depends on pose or depth conditioning across many styles, that is another point for keeping an SDXL lane in your stack.

Training your own LoRA

AI Toolkit by Ostris has become the default trainer for the current generation: it supports FLUX.1 and FLUX.2 including klein, Qwen-Image, Z-Image, SDXL, and the major open video models, driven either from a web UI or YAML configs.

git clone https://github.com/ostris/ai-toolkit
cd ai-toolkit
pip install -r requirements.txt
python run.py config/my_lora.yaml

Community guidance as of mid 2026: a 24 GB card handles LoRA training for Z-Image and klein 4B, Qwen-Image is workable on 24 GB with quantized training and comfortable at 32 to 48 GB, and FLUX.2 [dev] training is 80 GB territory, which in practice means renting an H100 for a few hours rather than buying anything. Kohya's trainer remains the standard for SDXL and Illustrious LoRAs and runs on modest consumer cards, which is a large part of why the SDXL style ecosystem keeps compounding.

Two notes that save pain. First, dataset quality dominates: 30 well-captioned, well-cropped images beat 300 scraped ones on every model listed here. Second, licenses propagate: a LoRA trained on FLUX.2 [dev] weights inherits the non-commercial deployment problem, and an Illustrious derivative must stay open under share-alike terms.

The license reality check

Model licenses as they work in practice. This is not legal advice; read the actual license file in the repo, not a blog summary of it, including this one.

  • Apache 2.0, the safe list: Qwen-Image and Qwen-Image-Edit, Z-Image and Z-Image Turbo, FLUX.2 klein 4B, Chroma. Commercial use, modification, and redistribution are all fine. If you are shipping a product, build here.
  • BFL dev licenses (FLUX.2 [dev], FLUX.1 [dev], Kontext [dev]): weights are non-commercial and non-production; outputs are usable commercially; outputs cannot train competing models; commercial self-hosting requires a paid BFL license.
  • Stability Community License (Stable Diffusion 3.5): free, including commercial use, while your organization's total annual revenue stays under 1 million dollars; beyond that the free license terminates and you need a paid tier.
  • OpenRAIL++ (SDXL): commercial-friendly with behavioral use restrictions. The most battle-tested terms on this page.
  • Fair AI Public License (Illustrious XL): share-alike; derivative weights must be published under the same terms; closed-source monetization is prohibited.
  • Tencent Hunyuan Community License (HunyuanImage 3.0): the 80B MoE from September 2025 is remarkable research, but the license excludes the EU, UK, and South Korea, adds a monthly-active-user threshold above which you need a separate agreement, and forbids using outputs to train other models. Combined with multi-GPU hosting needs, it is a benchmark curiosity for most local stacks.

The rule that matters: your pipeline is only as clean as its dirtiest link. An Apache base model with a non-commercial upscaler or a dev-licensed editing pass is a non-commercial pipeline. Audit all four stages: base model, LoRAs, editing model, upscaler.

Putting your stack together

Pick by VRAM first, license second, taste third.

  • 8 GB: Illustrious or another SDXL finetune for stylized work; a quantized Z-Image Turbo build for general prompts.
  • 16 GB: Z-Image Turbo native as the daily driver, klein 4B for FLUX-flavored output, 4-bit Qwen-Image via Nunchaku when text matters.
  • 24 GB: Qwen-Image-2512 at FP8 as the workhorse, quantized FLUX.2 [dev] for hero shots, everything above as fallback.
  • 48 GB or rented: FLUX.2 [dev] at FP8, plus enough headroom to train LoRAs on the modern models instead of only SDXL.

If any of it ships in a product, stay in the Apache column and keep BFL dev weights out of production paths until there is a signed license.

What to watch through the rest of 2026: the still-unreleased Z-Image-Edit and Omni base weights, whether Qwen holds its cadence of dated refreshes, whether BFL extends the Apache klein line upward, and how fast LoRA gravity migrates off SDXL. The churn is real, which is one more argument for ComfyUI: when the next model lands, you swap a subgraph, not a stack.

Related Tools

More Articles