PRAVEEN®
All notes

Note 002 · Image models

Run Qwen-Image 2.1 locally on an RTX 5090 or RTX PRO 6000

The new 7B Qwen-Image: native 2K, transparent PNGs and reference editing in one checkpoint. Pick your GPU, download, run it in ComfyUI.

23 Sept 20263 min readQwen-ImageComfyUILocal models

On this page
  1. 01Pick your GPU
  2. 02Install ComfyUI
  3. 03Download the models
  4. 04Launch
  5. 05Generate
  6. 06My results
  7. 07Sources

Qwen-Image 2.1 is much smaller than the 20B original, and better at the things that matter — clean small text, native 2K and real alpha channels. One checkpoint does text-to-image and editing. Both cards run it at full precision.

Generator
7B · single-stream DiT
Text encoder
Qwen3-VL 8B
Output
native 2K · RGBA
Licence
Qwen research licence

Pick your GPU

Choose once — every block below follows your pick.

BF16 generator + INT8 encoder. ≈ 24 GB, so everything stays loaded with room left for 2K images.

FileSize
Generator · BF1614.2 GB
Text encoder · INT89.35 GB

Install ComfyUI

install.sh
bash
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python3 -m venv .venv && source .venv/bin/activate
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130
pip install -r requirements.txt "huggingface_hub[cli]"

Download the models

Run from the ComfyUI folder. The repo mirrors ComfyUI's layout, so files land straight in models/.

download-5090.sh · ≈ 24 GB
bash
hf download Comfy-Org/Qwen-Image-2.1 \
  diffusion_models/qwen_image_2.1_bf16.safetensors \
  text_encoders/qwen3vl_8b_int8_convrot.safetensors \
  vae/qwen_image_2.1_vae_bf16.safetensors \
  --local-dir models

Launch

run-5090.sh
bash
python main.py

Open http://127.0.0.1:8188.

Generate

Workflow → Browse Templates → Image. There are three official templates:

  • Qwen Image 2.1: Text to Image — start here.
  • Qwen Image 2.1: Image Edit — change a photo using two reference images.
  • Remove Background: Qwen Image 2.1 — cut-outs with real transparency.

The templates ship with the INT8 files. Set Load Diffusion Model to qwen_image_2.1_bf16, and on the PRO 6000 set Load CLIP to qwen3vl_8b_bf16.

Defaults are 25 steps, CFG 1, euler / simple. To get native 2K, set Resolution Selector to 4.0 MP (2048 × 2048).

Editing: name each image by its tag, <image1> then <image2>, in the order they're connected. The output takes the first image's aspect ratio.

prompt
text
Keep the person in <image1> exactly — face, pose, lighting.
Replace the shirt with the denim shirt from <image2>.
Leave the background untouched.

My results

Same prompt and seed on both cards — filling this in as I test.

CardBuild1 MP · 25 steps2K · 25 stepsPeak VRAM
RTX 5090BF16 + INT8 encoder———
RTX PRO 6000All BF16———

Sources