跳到正文

正在自动登录…

← 返回项目列表

QwenLM/Qwen-Image-2.1

图像生成图像编辑

Qwen-Image-2.1 是一个开源的统一文本到图像生成与图像编辑模型,支持生成普通或透明(RGBA)图像、编辑透明图层、从照片中提取主体,并可基于最多10张参考图像进行局部编辑。适用于需要高质量图像生成与编辑的开发者或研究人员。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/16 21:31:33 · 查看原文

值得看Python应用与服务
累计 Stars
2,043
当前热度
已过新项目期
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/16 21:31:33

使用方式

通过 Python 使用 Diffusers 库加载模型进行文本到图像生成和图像编辑,也可通过 ComfyUI 或 vLLM-Omni 等工具使用。

查看 README 依据
Visit the [Qwen-Image-2.1 Pro API page](https://modelstudio.console.alibabacloud.com/ap-southeast-1/model/market/detail/qwen-image-2.1-pro?serviceSite=international&ref=list) or [Qwen-Image-2.1 Turbo API page](https://modelstudio.console.alibabacloud.com/ap-southeast-1/model/market/detail/qwen-image-2.1-turbo?serviceSite=international&ref=list) for access and usage details. ## Quick Start ### Requirements ```bash pip install torch>=2.4.0 pip install transformers>=5.17 pip install git+https://github.com/huggingface/diffusers pip install accelerate pip install pillow ```
- 2026.09.20: [ComfyUI](https://github.com/Comfy-Org/ComfyUI) natively supports Qwen-Image-2.1 from Day 0. Compatible weights at [Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1), with example workflows for [text-to-image](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_t2i.json) and [image editing](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_image_edit.json).
- 2026.09.20: [vLLM-Omni](https://github.com/vllm-project/vllm-omni) supports high-performance Qwen-Image-2.1 inference from Day 0, with step-wise execution, prefix KV caching, CUDA Graph decode, FP8 quantization, and TP/Ulysses parallelism. - 2026.09.20: [SGLang](https://github.com/sgl-project/sglang) provides Day-0 native support for Qwen-Image-2.1, including prefix caching, Cache-DiT, CUDA graphs, TP/Ulysses/Ring/CFG parallelism, and component offload. See [PR #39983](https://github.com/sgl-project/sglang/pull/39983).
部署要求

需要安装 torch>=2.4.0、transformers>=5.17、diffusers、accelerate 和 pillow,并使用 CUDA 设备运行。

查看 README 依据
Visit the [Qwen-Image-2.1 Pro API page](https://modelstudio.console.alibabacloud.com/ap-southeast-1/model/market/detail/qwen-image-2.1-pro?serviceSite=international&ref=list) or [Qwen-Image-2.1 Turbo API page](https://modelstudio.console.alibabacloud.com/ap-southeast-1/model/market/detail/qwen-image-2.1-turbo?serviceSite=international&ref=list) for access and usage details. ## Quick Start ### Requirements ```bash pip install torch>=2.4.0 pip install transformers>=5.17 pip install git+https://github.com/huggingface/diffusers pip install accelerate pip install pillow ```
已知限制

Turbo 版本使用固定的8步采样调度,设置 num_inference_steps 不会覆盖其保存的调度。

查看 README 依据
The editing example loads a yacht sketch and turns it into a photorealistic image. Both calls use the saved **8-step schedule** and the default CFG=1 setting. Setting `num_inference_steps` alone does not override Turbo's saved schedule. See the [Turbo model card](https://huggingface.co/Qwen/Qwen-Image-2.1-Turbo) for more details. The following examples use the original **Qwen-Image-2.1** checkpoint. ### Text-to-Image ```python import torch from diffusers import QwenImage21Pipeline pipe = QwenImage21Pipeline.from_pretrained( "Qwen/Qwen-Image-2.1", torch_dtype=torch.bfloat16

README

正在加载 README…

收录信息

仓库创建时间
2026/9/14 12:12:17
首次达标收录
2026/10/9 11:44:24
统计更新时间
2026/10/22 19:05:35

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.1 / 5

新颖度
3.9
实用价值
4.8
成熟度
4.1
实质含量
3.5

由 Jev 模型根据仓库描述与 README 评估,2026/10/16 20:41:49 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/14 18:08:25
许可证标识
NOASSERTION
Fork 数
139
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目