How to run Qwen-Image 2.1 locally on Windows, Mac and Linux
No Python, no ComfyUI, no cloud. One installer, a model download, and you edit photos by describing the change. Updated October 10, 2026.
What Qwen-Image 2.1 is
Qwen-Image 2.1 is the open-weights image model from Alibaba's Qwen team. One model both creates images from text and edits existing photos from an instruction ("remove the people", "make it a snowy night", "change the sign to say…"). It leads the open-weights image-editing rankings, and the official Turbo version makes an image in 8 steps, fast enough to use on a consumer GPU.
Most guides run it through ComfyUI: install Python, add custom nodes, download several model files and load a workflow. That works, but it is a lot to set up and keep working. This guide uses Kokon, a free, open-source desktop app that does all of that for you.
What you need
| Minimum | Recommended | |
|---|---|---|
| Windows + NVIDIA | 12 GB VRAM (RTX 3060 12 GB, 4070, 5070) | 16 GB or more (RTX 4080, 5070 Ti, 4090, 5090) |
| Windows + AMD / Intel Arc | 12 GB VRAM, Vulkan (beta) | 16 GB or more |
| Mac | Apple Silicon, 16 GB unified memory, macOS 15 (slow) | 32 GB or more, Pro/Max/Ultra chip |
| Linux (beta) | x86-64, Ubuntu 22.04 / Debian 12 / Fedora 40 or newer, GPU as on Windows | 16 GB VRAM or more, NVIDIA proprietary driver |
| Disk | 15 GB free | 25 GB free |
NVIDIA cards with 8 GB work in beta (since Kokon 0.9.3): images are made at about 1 megapixel, and users report 1 to 2 minutes per edit on an RTX 3060 Ti and an RTX 5050 Laptop. 16 GB of system RAM is recommended. 12 GB or more gives larger images and faster edits.
Step 1: Install Kokon
Download the latest release from GitHub:
- Windows:
Kokon_<version>_x64-setup.exe(about 136 MB). It installs for your user only, no administrator rights. The beta is not code-signed yet, so if SmartScreen warns, click More info → Run anyway. - Linux (x86-64, beta):
Kokon_<version>_amd64.deb(Ubuntu, Debian, Mint:sudo apt install ./Kokon_<version>_amd64.deb) orKokon-<version>-1.x86_64.rpm(Fedora:sudo dnf install ./Kokon-<version>-1.x86_64.rpm). NVIDIA cards need the proprietary driver. - Mac (Apple Silicon, beta):
Kokon_<version>_aarch64.dmg. Drag Kokon to Applications. The beta is not notarized by Apple yet, so macOS blocks it the first time:
- Open Kokon. macOS says “Kokon” Not Opened: click Done (not Move to Trash).

- Open System Settings → Privacy & Security and scroll down to Security. Next to “Kokon” was blocked to protect your Mac, click Open Anyway and confirm with your password or Touch ID.

- Open Kokon again and click Open. You only do this once; in-app updates don't trigger it again.
If macOS instead only says The application “Kokon” can't be opened, with just an OK button, and Privacy & Security shows no Open Anyway: open Terminal, run xattr -dr com.apple.quarantine /Applications/Kokon.app, then open Kokon as usual. This removes the “downloaded from the internet” flag from Kokon only.
Step 2: Let it download the model
On first launch Kokon shows your graphics card (or your Mac's chip and memory) and recommends a preset. It downloads what it needs: the stable-diffusion.cpp engine, Qwen-Image 2.1 Turbo as a 4-bit GGUF (about 4 GB), the Qwen3-VL text encoder and the VAE, about 12 GB in total. Downloads resume if interrupted, and every file is checked against a pinned SHA-256 hash.
On Windows with an NVIDIA card you can pick the CUDA engine (fastest) or Vulkan; AMD and Intel cards use Vulkan. Macs use Metal.
Step 3: Create or edit
- Create: type a description and press Enter. Add an aspect ratio in words ("16:9 banner") or pick one from the menu.
- Edit: drop or paste a photo, describe the change, press Enter. The result appears as a new version; drag the slider to compare before and after.
- Edit only one area: click Paint area, brush over the part to change, then choose Change, Remove, Replace or Add. Pixels outside the brush stay exactly as they were.
- Expand: click Expand to extend the photo beyond its borders, to any ratio.
There are only three quality levels: Fast (~1 MP), Balanced (~1.5K) and Quality (native 2K). Resolution, memory use and upscaling are chosen for your GPU.
Prompts that work well
| Edit | Example prompt |
|---|---|
| Remove | "Remove all the people from the beach" |
| Replace | "Replace the yellow armchair with a deep green velvet sofa" |
| Relight | "Make it a snowy winter night, warm light glowing from the windows" |
| Text | "Change the gold sign text to 'KOKON CAFÉ' in the same lettering" |
| Restyle | "Turn it into a hand-painted watercolor illustration" |
| Product shot | "Place the sneaker on wet black stone with a soft orange rim light" |
Say what should change and, when it matters, what should stay: "…keep the person and the composition the same". For small objects, paint the area first: it is more reliable than describing where the object is. More rules, with good and bad examples side by side: the prompt guide.
How fast is it?
Measured with Qwen-Image 2.1 Turbo (8 steps):
- RTX 5070 Ti (16 GB): about 24 s for an edit at 1.5K, about 36 s for a new image at native 2K, about 11 s to upscale a 1-megapixel image 4×.
- RTX 5070 (12 GB): works with the 12 GB preset, a little slower than the 5070 Ti.
- M2 Pro, 16 GB: about 65 seconds for a new 1-megapixel image with Kokon's own Mac engine (about 106 s for an edit).
Kokon measures your machine with the first image and shows realistic time estimates from then on.
Troubleshooting
- "Out of memory": choose Fast or Balanced, close other GPU-heavy apps, or run setup again and pick a lighter preset.
- The first image is slow: the model loads once (and Vulkan compiles its GPU programs on first use). Later images are faster.
- Something else: Settings → Diagnostics → Copy, then open an issue with the report.
Use it from an AI agent
Kokon includes an MCP server, so Claude Code, Cursor or any MCP client can create and edit images on your GPU without an API key. See free local image generation for Claude Code and MCP.
License notes
Kokon is open source (AGPL-3.0). Qwen-Image 2.1 and its Turbo model are under the Qwen Research License: research and evaluation only, no commercial use without a license from the Qwen team. Kokon is an independent project, not affiliated with Alibaba.