DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to generate images with the official Qwen-Image-2.1 base model with Awesome Qwen Image

Run the reference BF16 Diffusers checkpoint for text-to-image and editing.

Short answer: Open the official Qwen-Image-2.1 model card on Hugging Face and read the license and aspect-ratio table; then download the whole Qwen/Qwen-Image-2.1 repo, not a single file, because the DiT and text encoder ship as numbered safetensors shards with an index; load the model with the QwenImage21Pipeline class in Diffusers. All steps.

  • Top pick
  • Content
  • Intermediate
  • 1 hour
  • From the README
  • Any agent

Authorization notice. Awesome Qwen Image is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA developer or researcher who wants the reference model and a standard Diffusers setup.

The problemCommunity conversions differ in quality and format, and it is hard to know which file is the baseline.

The outcomeA working generation from the official weights, with a clear baseline to compare other variants against.

What you need first

  • A runtime that matches the chosen entry point: Diffusers, ComfyUI, llama.cpp, or MLX on Apple Silicon
  • Enough disk space: the base text encoder alone is about 17.5 GB in BF16
  • A GPU with 8 to 12 GB VRAM for the INT4 ConvRot pack, or a Mac with Apple Silicon for MLX-4bit
  • Acceptance of the Qwen Research License that covers the base weights

Steps

  1. Open the official Qwen-Image-2.1 model card on Hugging Face and read the license and aspect-ratio table.
  2. Download the whole Qwen/Qwen-Image-2.1 repo, not a single file, because the DiT and text encoder ship as numbered safetensors shards with an index.
  3. Load the model with the QwenImage21Pipeline class in Diffusers.
  4. Run a sample prompt using the default of 40 steps without classifier-free guidance, then try CFG if prompt adherence is weak.
  5. Check that the output has the expected size for the aspect ratio you chose.

Prompt for your agent

Using the wildminder/awesome-qwen-image list, load the official Qwen/Qwen-Image-2.1 model with QwenImage21Pipeline in Diffusers and generate an image from the prompt <prompt>. Report the output file path and the step count used. Verify that the image matches the prompt and that the default 40 steps without CFG ran.

Caveat. The base text encoder is Qwen3-VL-8B at about 17.5 GB, so the first download is large.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for wildminder/awesome-qwen-image and "Generate images with the official Qwen-Image-2.1 base model"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer