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.

Kokon running Qwen-Image 2.1 locally: a café street photo with the scooter removed, shown with a before/after slider
Kokon with a local Qwen-Image 2.1 edit: the scooter was painted and removed.

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

MinimumRecommended
Windows + NVIDIA12 GB VRAM (RTX 3060 12 GB, 4070, 5070)16 GB or more (RTX 4080, 5070 Ti, 4090, 5090)
Windows + AMD / Intel Arc12 GB VRAM, Vulkan (beta)16 GB or more
MacApple 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 Windows16 GB VRAM or more, NVIDIA proprietary driver
Disk15 GB free25 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:

  1. Open Kokon. macOS says “Kokon” Not Opened: click Done (not Move to Trash).The macOS dialog “Kokon” Not Opened, with the buttons Move to Trash and Done
  2. 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.System Settings, Privacy and Security: “Kokon” was blocked to protect your Mac, with the Open Anyway button highlighted
  3. 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

  1. Create: type a description and press Enter. Add an aspect ratio in words ("16:9 banner") or pick one from the menu.
  2. 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.
  3. 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.
  4. 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

EditExample 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):

Kokon measures your machine with the first image and shows realistic time estimates from then on.

Troubleshooting

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.

Try it

Free and open source for Windows, macOS and Linux.