Alibaba Qwen Releases Qwen-Image-2.1: A 7B Open-Weight Model for Image Generation and Editing

2026年9月21日 16:40
站內 AI 整理稿

Alibaba’s Qwen team has released Qwen-Image-2.1, a unified text-to-image generation and image editing model.Its visual generation component has 7B parameters across 32 single-stream DiT layers.One checkpoint covers text-to-image, multi-reference editing, local edits, and transparent RGBA output.

Is it deployable?Yes, for research and evaluation.Day 0 support covers Diffusers, ComfyUI, vLLM-Omni, SGLang, and LightX2V.Commercial deployment needs a separate license from Qwen.From 20B to 7B The original Qwen-Image shipped in August 2025 as a 20B model under Apache 2.0.

Editing lived in a separate Qwen-Image-Edit checkpoint.Qwen-Image-2.1 folds both jobs into one model at about a third of the size.Qwen team calls it the most balanced and cost-effective model in the Qwen-Image series.

One important thing to note here for capacity planning: the 7B figure covers the diffusion transformer only.The pipeline also loads an 8B Qwen3-VL encoder.Architecture The GitHub Repo lists 4 components: Transformer: 32 layers, 7B parameters, single-stream design with block-causal attention.

Text encoder: Qwen3-VL 8B, which encodes text instructions and condition images into one representation.VAE: 64-channel RGBA autoencoder with 16x spatial compression and native transparency.Scheduler: Flow Matching with Euler discrete scheduling and dynamic shifting.

The attention mask is where the speed comes from.Text tokens use a token-level causal mask.Image tokens use a chunk-level bidirectional mask within each image.Qwen calls this mixed-granularity attention.The condition prefix sits before the noisy latent, so it never attends to it.

Its keys and values therefore stay fixed across denoising steps.The model computes text and input images once, at the first step.It reuses that prefix KV cache for every remaining step.Savings grow with the number of reference images, which explains the multi-image speed claim.

What It Can Do Native transparency: Generates RGBA images from text, edits transparent layers, and extracts subjects from photos.Qwen recommends a fixed prompt template for transparent output.Multi-reference editing: Accepts up to 10 reference images.

README examples include a group photo from 6 portraits and an outfit from 5 references.Local control: Edits can target regions using circles, painted annotations, or separate masks.Identity is preserved for people and products.

Native 2K: Defaults to 2048 x 2048, with 7 supported aspect ratios up to 2752 x 1536.Aesthetics: Improved typography, portrait lighting, and fine detail.Qwen highlights panoramas, infographics, storyboards, and virtual try-ons.

Benchmark: Qwen’s Own Chart The research team compares models on Qwen-Image-Bench, Qwen’s in-house benchmark.On that chart, Qwen-Image-2.1 scores 60.28 overall.That places it above Nano Banana 2.0 at 59.82 and every listed open-weight model.FLUX 2 Max, a 32B open model, sits at 55.33.

6 closed models score higher, led by GPT Image 2.5 Sunburst at 67.01.Interactive Explainer (function(){var f=document.getElementById("mtp-qwen-image-21");window.addEventListener("message",function(e){if(!f||e.source!==f.contentWindow)return;var d=e.data;if(d&&typeof d.mtpQwenImage21==="number"){f.

style.height=d.mtpQwenImage21+"px";}});})(); Running It Install PyTorch 2.4.0 or later, transformers 5.17 or later, Diffusers from source, accelerate, and pillow.Then: Copy CodeCopiedUse a different Browserimport torch from diffusers import QwenImage21Pipeline pipe = QwenImage21Pipeline.

frompretrained( "Qwen/Qwen-Image-2.1", torchdtype=torch.bfloat16 ).to("cuda") image = pipe( prompt="A neon shop sign that reads \"QWEN IMAGE 2.1\", rainy night", numinferencesteps=40, ).images[0] image.save("t2i.png") The same pipeline handles editing when you pass image= with 1 or more references.

On smaller GPUs, pipe.enablemodelcpu_offload() reduces memory pressure.For serving, vLLM-Omni adds FP8 quantization, prefix KV caching, CUDA Graph decode, and tensor parallelism.SGLang adds Cache-DiT, CUDA graphs, multi-GPU parallelism, and component offload.

ComfyUI ships native nodes and converted weights.Beyond NVIDIA, the release covers AMD Radeon GPUs via ROCm and 8 chip platforms via FlagOS.Qwen team also released 2 prompt-rewriting models, fine-tuned Qwen3.5-VL 9B checkpoints for text-to-image and editing.

They expand short prompts into detailed ones and can pick an aspect ratio.Key Takeaways Qwen-Image-2.1 unifies generation and editing in a 7B DiT with a Qwen3-VL 8B encoder.Native RGBA output and up to 10 reference images come from one checkpoint.

Prefix KV cache reuse computes text and reference images once per generation.It scores 60.28 on Qwen’s own benchmark, first among listed open-weight models.The Qwen Research License bars commercial use without a separate agreement.Check out the Model Weights, GitHub Repo, and Technical Details.

All credit goes to the researcher of this project.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!are you on telegram?now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?Connect with us The post Alibaba Qwen Releases Qwen-Image-2.1: A 7B Open-Weight Model for Image Generation and Editing appeared first on MarkTechPost.

Related

相關文章

智東西生成式AI

一文看懂昇騰超節點:AI Infra已進入系統工程階段

(公眾號:zhidxcom) 作者 | 陳駿達 編輯 | 漠影 AI大模型競賽,正在進入新的量級。海外,十萬億參數的大模型已經逐步變成現實;國內,數萬億參數的大模型也在加速追趕。為了訓出真正的SOTA模型,算力集群從萬卡走向10萬卡已成為標配。 然而,一個尷尬的現實是:卡越堆越多,真正被利用起來的算力,卻沒有同步增長。華為的仿真數據顯示,在10萬卡集群中,卡間通信可能消耗了40%以上的訓練時間,算力利用率(MFU)往往不到30%。也就是說,大量昂貴的算力,並沒有真正用於計算。

剛剛
鈦媒體生成式AI

Anew labs,“蒸餾”的行家

醫曜2026.09.21 18:00 · 來自北京全文2781字00:00 / 08:07首款自研藥AN5162,me-too了Dice/禮來。文 | 醫曜AI圈如今言必稱"蒸餾"。蒸餾現有知識,蒸餾競爭對手,蒸餾員工技能,無物不可蒸餾。醫藥圈很少說蒸餾。但這個行業有一個耳熟能詳、讓人稍微有點不屑、卻又必須面對的詞——me-too:copy對手的骨架,在對手專利之外尋求突破。copy得好,是me-better,甚至是me-best(Best-in-Class);copy失敗呢?那就me-worse嘍。

1 小時前

Anthropic與字節扎堆AI製藥,下一個Coding風口卡在了數據這道坎上

Anthropic一邊自建溼實驗室,用來測試自家模型指揮生物實驗的能力,一邊牽手諾和諾德、百時美施貴寶,並把Coefficient Bio收入囊中;字節跳動分拆出來的新生實驗室也完成了首輪融資。被寄予厚望的AI,當下主要作用在把新藥早期研發的輪子轉得更快——壓縮候選分子的搜索空間和實驗迭代時間,但真正燒錢又耗時的臨床試驗環節卻難同步縮短,早期命中率提上來,並不等於臨床成功率就跟著漲。

1 小時前

Kimi Code 桌面客戶端上線:macOS 與 Windows 同步開放

針對開發者的實際工作流,桌面端提供內置終端、瀏覽器和 Git 狀態查看等功能,支持直接運行和調試項目、審閱代碼改動,並可關聯 PR 狀態,方便跟蹤代碼評審與合併進度。相關推薦法國興業銀行押注 AI:預計最多省下 6 億歐元成本法國興業銀行稱,AI應用擴大將帶來可觀降本空間,潛在規模約5億至6億歐元,其中已規劃到2029年實現約3.

2 小時前