Back Home

最新模型

Qwen-Image-2.1 weights released with native support for transparent image generation and editing

The new version combines text-to-image generation, editing with multiple reference images, and transparent layers, while reusing prefix caches to reduce redundant computation. Free use is limited to research and evaluation; commercial use requires separate permission.

Internet Archive Book Images · No restrictions · Image source
zh-Hant

The Qwen team released the weights for Qwen-Image-2.1 on September 20, bringing text-to-image generation, image editing, and transparent layer processing into a single model. The new version accepts up to ten reference images and lets users specify areas to modify by circling, scribbling, or applying masks, providing a unified interface for compositions featuring multiple people and for asset compositing. [Official model card](https://huggingface.co/Qwen/Qwen-Image-2.1)

The architecture uses a 32-layer single-stream diffusion Transformer, with approximately seven billion parameters in the visual generation component. A key feature of inference is the reuse of prefix KV caches for text and conditioning images: this portion of the state remains fixed across denoising steps, allowing subsequent steps to focus computation on the target image. This helps reduce redundant computation when editing with multiple reference images, but the seven-billion-parameter figure does not indicate the VRAM requirements of the entire pipeline. [Project overview](https://github.com/QwenLM/Qwen-Image-2.1)

Transparency support is also reflected in the implementation: the published VAE configuration specifies four channels for both input and output, with a 64-channel latent representation, corresponding to RGBA images that include transparency. In practical workflows, this could reduce the need for a separate background-removal step after generation. Whether generated assets are ready for delivery still depends on the quality of hair detail, semitransparent objects, and edges. Testing should include compositing layers over both dark and light backgrounds to check for residual color in transparent areas and white halos around contours. [VAE configuration](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/vae/config.json)

For deployment, Diffusers has merged a dedicated pipeline. The official example uses BF16 and 40 denoising steps, and provides a way to offload the model to the CPU. [Deployment example](https://huggingface.co/Qwen/Qwen-Image-2.1) Code review also led to a fix for cache slices retaining the storage of an entire tensor, showing that caching strategies must be validated for both speed and memory lifecycle behavior. Evaluations should hold the code version, resolution, and number of reference images constant when comparing end-to-end latency and peak VRAM usage. [Integration and fix history](https://github.com/huggingface/diffusers/pull/14804)

Licensing is a prerequisite for adoption. The Qwen Research License limits free use to research or evaluation, while commercial use requires separate permission. Being able to download the weights does not grant commercial usage rights. [License text](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE)

For Chinese-language design workflows, the next areas worth testing are Traditional Chinese character forms, the layout of long sentences, and the consistency of people and products after repeated edits. Understanding Chinese prompts and accurately rendering text within images should also be evaluated separately, to avoid treating visual appeal as evidence of instruction-following ability. If a prompt-rewriting step is added, testing must also account for the additional model’s runtime and VRAM usage. The materials released provide a reproducible starting point, but they do not yet establish the proportion of usable Chinese-language assets or the scale of speedups across all hardware configurations.

Sources

  1. Qwen-Image-2.1 官方模型卡
  2. Qwen-Image-2.1 官方儲存庫與發布紀錄
  3. Qwen-Image-2.1 VAE 設定
  4. Diffusers PR #14804:Add Qwen-Image 2.1
  5. Qwen Research License Agreement