Instructions to use Qwen/Qwen-Image-2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Qwen/Qwen-Image-2.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Test comparison. Minimax h3 vs Qwen-Image-2.1. Image generation.
I’d like to thank you for the model.
Despite the feedback, I’m glad to see new models being released openly, and I wish you continued development and hope they keep bringing us great new models.
However, I decided to compare Qwen-Image-2.1 with Minimax H3 in terms of editing.
I’m not sure how reasonable it is to compare these two models, considering that they use different technologies, but since both can be used for image editing, I thought it would be interesting to compare them specifically in terms of character generation.
Both models were run in 8-bit with ConvRot.
GPU: RTX 5090.
For Minimax H3, I used the Minimax H3 Image nodes, which allow image generation, along with Minimax VDN Turbo at 8 steps.
Beta, Euler, 8 steps.
For Qwen, I used a clean workflow.
CFG: 1.0, steps: 25.
Resolution: 2K.
I generated several different characters and used them as references.
The result.
*Image 1: the image source (on the right);
*Image 2: the image with the character (on the left).
It seemed like MiniMax was winning. I don't know what the reason is: the text encoder, the number of parameters, the prompts, or the architecture as a whole.
At least in my experience, when trying to create a consistent character, Qwen-Image-2.1 seems to simply paste the face or the edited parts onto the image, which makes the result look quite crude.
Quite often, the inserted part doesn’t match the original image in terms of either scale or color.
No matter how much I tried changing the prompt, it was difficult to put the character into a different pose or change the camera angle.
On top of that, occasionally there are still various kinds of issues with limbs.
I can't deny that maybe it needs a special approach in terms of promting, and maybe I don't understand it, but I've tried both small and long prompts.
The result is approximately similar, It works better with long prompts, but it still tends to gravitate too much toward the original image.
I also noticed that it doesn't work well with character references, where we give several images of him from different angles at the entrance. Starts duplicating character.
But, If you use only one image, it tends to gravitate toward its angle, lighting, and pose.
Perhaps it will perform much better for other types of tasks.
On the positive side, I found that it works quite well as an upscaler and enhances image detail.
Nevertheless, thank you for releasing the model weights openly.
Image generation models like GPT Image, Nano Banana, Grok Imagine, and others usually require pretty long and detailed prompts. Because of this, the system often routes the prompt through a backend LLM to refine and expand it before feeding it into the image generator. Video models, on the other hand, are trained to take much shorter prompts, but the model itself is still capable of filling in the gaps and generating a complete result. (How should I best explain this concept?)
can you provide your image wf for minimax? I'd like to test it
Yes, if Qwen image 2.1 released in April or May, it would be a good model. but in September, it already far behind.
2.1 can handle large resolution pictures, that's an improve from 2.0, but others are not so good.
Though minimax is almost 4 x the params
Felt the same. Qwen image 2.1 seems to lack this knowledge of physical coherence. Minimax H3 has this physical casual chain built in. Thats why qwen image 2.1 requires dissected prompts touching every bit of influence to work relatively reasonably well.
Dear community,
may I ask for some help, please! I downloaded the above workflow in order to give it a try but I cannot install "taeh3_decoder.safetensors" (I always get a red boundery". I put the file "taeh3_decoder.safetensors" into "ComfyUI/models/vae_approx/" I am pretty sure that I am doing a big mistake but since I am a newby in the world of ComfyUi I don´t no what to to now. Any help is greatly appeciated! Thank you! Edit: If this of concern: I am using ComfyUI portable 0.37
Dear community,
may I ask for some help, please!
Teach3_decoder is only needed for the preview during generation.
Remove the Modal Preview Override node and connect the model branch directly. You won’t lose anything.
Are you using the Qwen Image 2.1 I2I Prompt enhancer?
Are you using the Qwen Image 2.1 I2I Prompt enhancer?
I’m not sure about that specific prompt enhancer.
Maybe it has some different system instructions, though I doubt it.
I usually use Qwen 3.8 as the LLM for prompt expansion. It worked well with other models.
Other than that, I tested it a bit.
For characters, despite producing a more detailed image, the results are noticeably worse than with MiniMax H3.
For now, I see it more as an upscaler.
In a pipeline like this:
LLM → H3 → Qwen 2.1
Are you using the Qwen Image 2.1 I2I Prompt enhancer?
I’m not sure about that specific prompt enhancer.
Maybe it has some different system instructions, though I doubt it.
I usually use Qwen 3.8 as the LLM for prompt expansion. It worked well with other models.
Other than that, I tested it a bit.
For characters, despite producing a more detailed image, the results are noticeably worse than with MiniMax H3.
For now, I see it more as an upscaler.
In a pipeline like this:
LLM → H3 → Qwen 2.1
Well then you're probably not following the input template for editing properly, hence why it sucks in your comparisons.
Though minimax is almost 4 x the params
But it has the same generation speed.
Though minimax is almost 4 x the params
But it has the same generation speed.
Yes, but to be fair, the VDN version of MiniMax was used in this example. It seems to be something like a Turbo version, with almost no quality loss, and it allows generation in just 8 steps.
For Qwen 2.1, the standard version with 25 steps was used.
However, since MiniMax is a video model, it cannot generate fewer than 5 frames, so even at 8 steps it generated 5 frames at once.
Apparently, a VAE has also been released that allows generating just a single frame, which speeds up generation by several times, but I haven't tested the quality yet.
It's also worth noting that MiniMax requires significantly more powerful hardware to run.
Dear community,
may I ask for some help, please!Teach3_decoder is only needed for the preview during generation.
Remove the Modal Preview Override node and connect the model branch directly. You won’t lose anything.
Dear Pvok (and / or community)
thank you very much for your workflow and the hint you gave me earlier. Since I build up a new laptop I had to install a new copy of ComfyUI and all workflows incliuding your workflow. This leads me to my problem:
This is the workflow I am using right now but I am not able to switch the person from image 1 with the person from image 2 (for test purposes I borrowed the bodybuilder scene as well the old lady you provided above). After running the workflow I get the initial picture of the bodybuider but without exchanged person. Where are the mistakes? The workflow does not report any mistakes during or after running! Any help is greatly appreciated! Thank you!










