Skip to content
Try cards for free0% on first 3 deposits + free cards We charge % on top-ups only·10+ US & HK BINs·Facebook, TikTok, Unity, AI toolsSign up

Qwen-Image-2.1: Installing and Testing a Free Local Image Generation Model

We tested Alibaba’s free local image generation model, Qwen-Image-2.1, which can create and edit images. 

Qwen-Image-2.1 is a compact model that can run locally. It can generate and edit images from text prompts, supports transparency, and can work with multiple references simultaneously.

A quantized model is a model whose weights are stored with lower numerical precision. It takes up less space and usually requires less memory, but may lose some quality.

We tested two quantized versions on two different hardware setups:

Qwen-Image-2.1 on DGX Spark in ComfyUI 0.37.0. The following components were installed:

  • a 7B generator in Q8_0 quantization;
  • Qwen3-VL 8B text encoder: INT8 ConvRot from Comfy-Org.
  • VAE in BF16;
  • two prompt enhancement models based on Qwen3.5-VL 9B: one for generation and one for editing.
  • About 36 GB total on disk.

Qwen-Image-2.1 on a Mac with an M3 Pro and 18 GB of memory via stable-diffusion.cpp, build master-920-2f88688, with Metal acceleration.

  • a 7B generator in Q4_K_M quantization;
  • Qwen3-VL 8B text encoder in UD-Q4_K_XL quantization;
  • a separate mmproj vision module in F16 for working with references;
  • VAE in BF16.
  • Prompt enhancement models were not installed.
  • About 11.2 GB of weights total on disk.

The models we tested had no censorship, all prompts were completed without refusals!

Generation Results

We used a proven prompt from the article https://cpa.rip/prompts/ai-prompts-igaming/.

Compressed Q4 on a Macbook Pro M3 pro 18Gb, 512×512 size, generation time: 5 minutes, 47 seconds:

Qwen-Image-2.1 Q8 on DGX Spark, 1092×1088 size, generation time: 10 seconds:

We uploaded the ad creative to an LLM and asked it to create a description in JSON format. Based on this description, Qwen-Image-2.1 generated a similar image:

Testing editing of a finished reference on Q8:

When generating images with a large amount of text, errors and artifacts may occur:

Available Qwen-Image-2.1 Modes

Qwen-Image-2.1 combines generation and editing in one model. The following modes are available:

  • Text-to-image generation – creating an image from scratch.
  • Image editing – modifying an uploaded image with a text command, such as changing the background, clothing color, or an object.
  • Working with multiple references – combining objects, characters, and details from different references. The model supports up to 10 images.
  • Generation and editing with transparency – creating objects on a transparent background and modifying existing RGBA images.
  • Object extraction – isolating a person or object from a photo while removing the surrounding background.
  • Local edits – modifying a selected area marked with a circle, a drawn annotation, or a separate mask.

Installation With Codex/Claude Code

The easiest way to install Qwen-Image-2.1 locally is to give an LLM a command, and it will install, configure, and test everything. Example command:

Install for me on Mac https://huggingface.co/Qwen/Qwen-Image-2.1?spm=a2ty_o06.30285417.0.0.5e12c921YNM0wk&file=Qwen-Image-2.1

Codex selected the compressed Q4_K_M version on its own, which will run on your hardware. If necessary, you can specify the exact model:

Our Telegram channel

Affiliate news, case studies and promo codes — subscribe!

@cparip

Comments

Affiliate programs

All programs →All →
VavadaPart Direct advertiser · Brands: Vavada Casino
0.0Website
Brands: Vavada Casino Website
NOVA PARTNERS Direct advertiser · Brands: ПАНДА, LEEBET, BANDA, KUSH, EVA, APEX
0.0Website
Brands: ПАНДА, LEEBET, BANDA, KUSH, EVA, APEX Website
EPS Partners Direct advertiser · Brands: EpicStar
0.0Website
Brands: EpicStar Website
Royal Partners Direct advertiser · Brands: FLAGMAN, IRWIN, GIZBO, LEX, MONRO, 1GO, STARDA, IZZI, DRIP, LEGZO, VOLNA, JET, FRESH, SOL, ROX, FUGU, IRIS
0.0Website
Brands: FLAGMAN, IRWIN, GIZBO, LEX, MONRO, 1GO, STARDA, IZZI, DRIP, LEGZO, VOLNA, JET, FRESH, SOL, ROX, FUGU, IRIS Website
Traffic Cake Direct advertiser · Brands: Twindor, Winnita, VOX
0.0Website
Brands: Twindor, Winnita, VOX Website
V.Partners Direct advertiser · Brands: Vegas, ICE Casino, VERDE Casino, FS Casino, Fiery Play, Slotoro, Hit’N’Spin
0.0Website
Brands: Vegas, ICE Casino, VERDE Casino, FS Casino, Fiery Play, Slotoro, Hit’N’Spin Website

Offers.help offer catalog

All offers →