Home Creators Posts Import Register Favorites Logout

Downloads

Content

EDIT 1st October: I updated the workflow for the people who had those weird "ghosting" issues, this should solve the problem. DO NOT ALSO FORGET, to dl the Qwen-Image-Edit-Lightning-4steps lora (EDIT not NORMAL like before), either use this link :https://huggingface.co/Aitrepreneur/FLX/resolve/main/Qwen-Image-Edit-Lightning-4steps-V1.0.safetensors?download=trueto dl the lora into the ComfyUI_windows_portable\ComfyUI\models\loras folderor just use the nodes model installer if you need it.I explain it + color editing trick in this short update video: https://youtu.be/-DRDZZd2zKs

I will update the workflow further once nunchaku get the lora support readyHey everyone! I've just released a new video on "THE NEW OPEN-SOURCE NANO BANANA COMPETITOR!", called "QWEN IMAGE EDIT 2509 (PLUS)". And it’s basically Qwen image edit but much more powerful…A model that is able to automatically edits multiple images together with just a simple text prompt with insane precision!

You can check out the video right here: https://youtu.be/1VzPOLkcN64

I also created a 1-click installer for the Webui for my Patreon supporters for Local AND Runpod, that you can find right here: https://www.patreon.com/posts/139876451

Here the link to the manual install guide: https://pastebin.com/zW4EDqxt

Down below you will also find the QWEN-IMAGE-EDIT-PLUS_ULTRA.json for free for you to use!

As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!

Files

Comments

Aitrepreneur

No i made the video when lora support wasn't added yet but I can add it now if you need it

EarNugget

Will that ease the resource requirements? Because I'm concerned about trying to run with 12GB of VRAM.

Maddie Journey

another wf that doesn't work >< cannot reshape array of size 2993888 into shape (18432,2112)

PhoenixFire

Hey. I can't use the workflow. It's saying 'This model is not currently supported - (Model architecture not allowed for conversion! (i.e. reference VS diffusers format))' Updated my Comfy and Custom Nodes just before trying it. The last Qwen Image Edit WFs still works.

Aitrepreneur

It works, you just need to select the correct model, the correct clip and make sure you updated comfyui with the update comfyui bat file, you can dm if need be

hubba1987

The Q8 model doesn't seems to fit in RTX 3090? When model is loading I see: Falling back to numpy dequant for qtype: 23 Falling back to numpy dequant for qtype: 23 loaded partially 20756.402980926512 20756.163330078125 0 Then 4 steps of generation pass, but the process fails on "Requested to load WanVAE" Windows task manager shows 99% of VRAM loaded

Aitrepreneur

Forget it, I just tried it, nunchaku model is terrible and quality takes a huuge hit

Aitrepreneur

this is a gguf node issue, make sure that the gguf node is updated to the latest version or reinstall the node

Aitrepreneur

it should work fine, I got a 4090 with 24gb as well, so make sure you are not running other stuff in the background. Otherwise you can still dl the Q5 model instead

Frédy Nativel

i see that in your workflow you use the LORA Qwen Image Lightning 4 Steps, but there is a specific version called Qwen Image Edit 4 steps, on the githut of lightx2v (Two special version, them), i am wrong ?

hubba1987

Ok, it works now after a fresh install of COmfyUI. Thanks!

theworldofanatnom

im getting the same issue, i updated comfy and reinstalled the node but still getting that error

Aitrepreneur

yes and you can use both, both Qwen-Image-Lightning and Qwen-Image-Edit-Lightning

PhoenixFire

It still doesn't work for me either, after reinstalling the node. ComfyUI is up to date. It's the nightly version.

Aitrepreneur

Send me a dm with a screenshot of the parameters, never even seen this error

x x

I have this too.

theworldofanatnom

So Apparently there's something up with the Q5 model that gets downloaded from the .bat file. downloading it from hugging face directly and swapping replacing it seems to fix the problem

Hamdi Hirzalla h

it certainly is better! it takes less time and gives the results! I still can't get control net to act on more than a 1024x1024 of the image size but at this point I think it's more Qwen Edit plus itself than anything. a bummer because I wanted to try to get it to go further than this with the image size.

Mikael Svenson

Hmmm..interesting as nunchaku quality seemed on par before.

Hamdi Hirzalla h

yeah, I'm not sure why there's a normal and edit version. both practically gave the same result.

Imitationalism AI

Hi, I keep getting this error: mat1 and mat2 shapes cannot be multiplied (784x1280 and 3840x1280) regardless of what image size I put in

Brian Monarch

Does the one click installer work with both ComfyUI portable and also the regular ComfyUI installs? Or is it only meant for one or the other?

Aitrepreneur

Indeed, I also got an issue with the Q5, the model was probably corrupted when I dl it, I'm replacing it right now

Marcus Fiebka

Hello! Thank you for releasing this new 2509 workflow. Is it possible to add an additional reference image to the inpainting workflow? My use case if trying to add a tattoo to a person's body - specific location

Aitrepreneur

It's meant for the portable version yes but it can be easily modified for the regular one

Aitrepreneur

you have not correctly selected the correct model and clip model

Brian Monarch

What would I have to do to easily modify it?

Imitationalism AI

Qwen-Image-Edit-2509-Q8_0.gguf in unet folder, also tried moving to diffusion_models Qwen2.5-VL-7B-Instruct-UD-Q4_K_S.gguf is in text_encoder folders, tried moving to clip folder Also tried Qwen2.5-VL-7B-Instruct-Q8_0 in text_encoder folder

Aitrepreneur

It doesn't work well for this, one better way to do it is this way: https://imgur.com/a/TjHyZVU upload your image + image you want to tattoo, open with mask editor, then chose the brush and color the area you want to change then click save, then in your prompt you can say something like "tattoo the red part of the woman's arm in image 1 with the black drawing from image 2" then click run

Ryan Prosser

Did you figure this out? I have this issue also. Tried on old installation, did clean install. I figure something wrong with the clip model but I am using the same clip as in the workflow

Imitationalism AI

Nope, still trying to figure it out. And thanks for mentioning the clean install saved me the trouble. I've done too many clean installs in the past 🤣

a

hate to say it but the vae for qwen isn't in that repository that you outline in the pastebin - where can I find it?

Imitationalism AI

It works now with the Qwen2.5-VL-7B-Instruct-Q8_0.gguf Clip Don't know why. Might be after I reinstalled the GGUF custom node

Ryan Prosser

Ok bad news lol do a clean install. I was using the version of the clip I already had from previous installation (exact same file name) and for whatever reason that one won't work with this, but the one that downloads with the clean install works fine - they have the exact same file names - I don't know why it would make a difference but mine works now

PhoenixFire

Awesome! It works with the new Q5 model.

SenoTakai.AI 🌺

It is. Just need to scroll down and click to expand for more options.

HealingPaint

RTX-4090 user here...I am achieving consistency in the output face only by disconnecting the VAE input in the TextEncodeQwenImageEditPlus module. When that IS connected, the final face often ends up blurry/shifted and ruined. IMPORTANT: But you must reconnect this VAE connection when using ControlNet stuff, as it doesn't work otherwise...

ExusOne

Unfortunately, I'm having a problem with your Workflow. During generation, for example, when changing clothing and especially when changing poses, images 1 and 2 overlap, creating an unpleasant effect. This looks completely different from the one in your video. Example generations using prompts identical to those in your video are shown below to better understand the problem: https://imgur.com/a/I4UkFi8 I also noticed several errors in your workflow that affect the ControlNet function. In your Workflow, the True-->OpenposeFalse-->Depth node is outside the ControlNet group, so even though ControlNet is disabled, this option remains active and generates the error described in the YouTube comment "switch any crystools: required input is missing: on_true and on_false." Moving this node to the ControlNet group solves this problem, as does moving the Preview Image, which eliminates the visible error seen in your video. The depth and preview image were also incorrectly linked, which meant there was no visible preview of the depth mask when the false option was selected in the node described at the beginning. I've fixed everything so it looks clear and works correctly below. If you'd like, I can send you the corrected workflow (I don't want to share it directly so I don't steal your work). https://imgur.com/a/gpCKQhD For completeness - I use Qwen-Image-Edit-2509-Q4_K_S.gguf on RTX 3060 with 12 GB VRAM and 32 GB RAM, perhaps the Q8 version does not contain these errors but I have no way to check it.

Dat Nguyen

anyone else get crazy lag, im unable to naviate due to lag on runpod??

Paca7a

how did you fix the 2 images mixed together

ExusOne

Depending on what you mean. If you mean mixing two images, such as a character and clothes, without Controlnet, then it should work without any issues – just add the node written above to the Controlnet groups node and enable and disable those with the switch on the left side of the WF. If you mean changing a pose based on Controlnet, well... it kind of works, but you can see the result in the first link. I'm currently testing the official ComfyUI workflow for QwenImageEdit 2509 (the only thing I changed was adding support for the GGUF model instead of the FP8 model), and I also have a similar issue with overlapping shots, so I think it might be a problem with the model itself.

ExusOne

UPDATE - I probably found a solution to this problem, which is the model itself. I downloaded a Qwen-Image-Edit-2509-Q5_K_S.gguf and the problem fades away, so probably the Q4_K_S version is broken. I also suggest trying to test other versions of Q4models other than K_S. EDIT - The Qwen-Image-Edit-2509-Q4_K_M.gguf model works in a similar way to how it was shown in the video, as I suggested. There are some slight blurrinesses, but I find it acceptable because the outfit parameters and, more importantly, the character's appearance and color scheme are preserved. If anyone is interested, they can test the Q4_K_0 and Q4_K_1 models on the character from the first link; for now, I'm sticking with Q_M. Results below: https://imgur.com/a/Od1XETG

lord farquaad

My end result is always a completely black square. :'( I assume I probably have some package or another that is a version too old or something like that. But curious as to if anyone else has this issue and found a fix. I'm not getting any errors in my console, but this warning: "Falling back to numpy dequant for qtype: 23" does appear many many times.

inkthra

It should be from sage attention

lord farquaad

Thanks! I went ahead and just started an entirely new CUI instance fresh. No need to bloat it with my main one and vise-versa. Workin great now. Cheers.

Ganesh Subramanian

You said there won't be any shifts in the output image (in the youtube video), but while using your workflow as it is, there is a shift in the output image. You must have updated the workflow or something. Can you please fix it?

Tommario Minor

im getting error true openpose node: Prompt execution failed Prompt outputs failed validation: Switch any [Crystools]: - Required input is missing: on_true - Required input is missing: on_false the open pose feature is disabled im running a simple prompt with 1 image and cant get this workflow to work

Arsalan Delgosha

I can confirm this: using a single image edit on the left workflow has issues with the result. It's like having two images on each.

Patrick Brown

Adam Wood, you're clutch. I've been troubleshooting this error for a few hours and saw your post. Thanks so much. It worked for me.

HealingPaint

Can you create one of these Workflows that has support for 4 Loras? That would be great. Thanks.

Spool

yea, I added another vae loader down to the controlnet group and that connects back up to the textencode input

Herbert

Are there any nsfw lora out there for qwen edit? The model is more censored than everything I saw before. :-/

Dat Nguyen

aynone else getting this actually working? i installed yesterday, tons of errors, issues, doesnt even work on reboot. i had to delete error nodes just to get ti working. .;.. very sloppy work.

SilentMonk

I am still having trouble with these controlnet preprocessors. Somehow they are not installed correctly. from custom_controlnet_aux.open_pose import OpenposeDetector ModuleNotFoundError: No module named 'custom_controlnet_aux.open_pose' Does anybody know how to fix this?

ExusOne

Move the node where you can choose OpenPose or Depth inside Controlnet group as showed here: https://imgur.com/a/gpCKQhD Enable controlnet and later disable it and it should work

Hamdi Hirzalla h

well this is strange! I didn't change anything yet controlnet and everything now is working even in larger than 1024x1024. The more I think I understand how it works I only get proven wrong... at least this time it's a pleasant one!

Paperpotter

Having some good results with this. I had a few questions: 1. I want to do clothing replacement on a target image from a reference image (similar pose, different clothing) fairly precisely using in painting. So sort of a combination of the two workflows. Obviously the in painting workflow doesn’t accept a second image and the main workflow sometimes struggles to know what I’m talking about (very specific clothing pieces rather than just t-shirt). The work around has been to use the in painting model to remove the clothing then the second model to dress the person in the outfit from the reference. I’d rather be able to in paint and say ‘change the flip flops to those in image 2’ 2. Can i give regional guidance? eg tell the model where in the reference image the flip flops are 3. At the same time, the model is introducing detail from its training, eg if I upload a reference image of a black V-neck t-shirt, the model might make it a round neck (because I assume most t-shirts have round necks). Is there any levers i can twiddle or better prompting language to make the cut and style of a garment more exact - I assume I shouldn’t be negative prompting? 4. I’m noticing the colours are overly saturated. Everything looks a bit ‘crispy’. Particularly when clothing items are white. I’m working with nicely shot photography and don’t want very sharp contrast. Is there anything I can change? 5. If I remove clothing with inpainting, it doesn’t seem to follow the texture of adjacent bare skin. For example, my subject has freckles on their legs, if I take their skirt up higher, the newly exposed skin has a very flat look without the detail. Is there a trick to having it continue with the exiting skin tone and pattern more naturally?

nurtu

Will we get any wan animate for transfering animated poses into pictures?

Arsalan Delgosha

Sorry, the new update didn’t fix the problem again... I don’t understand why!

Matheus Rocher

Same problem, it's the old one with the Qwen-Image-Lightning-4steps-V1.0.safetensors and not the edit.

Arsalan Delgosha

Thanks for your amazing workflows and explanations! I can’t send a direct message, probably because I don’t have an upgraded plan. It’s okay if I’m not meant to receive support. <3

Virtamouse

I am also still seeing the "ghosting effect"

Aitrepreneur

Yup, it's Patreon being dumb, the site had issues for hours today and it didn't save the correct file...I reuploaded the correct file AGAIN...so now it should work....

Aitrepreneur

Yup, it's Patreon being dumb, the site had issues for hours today and it didn't save the correct file...I reuploaded the correct file AGAIN...so now it should work....

HealingPaint

I still get pixel shifting each time with the newest workflow/models, but it's much better. No way to truly fix that huh?

G3nius??

Getting an error , anyone knows how to fix it? TextEncodeQwenImageEditPlus mat1 and mat2 shapes cannot be multiplied (768x1280 and 3840x1280)

Mitch

ive notice ghosting is happening when image sizes are not in proportion to each other eg. 512x512 and 1024x1024 will work but a random image of 465x287 and 1024x1024 will ghost. Also the same for the output image size. seems it prefers common aspect ratios .. At least for me.. not tested extensively. Im using the Q4_K_M.guff

mario ledesma

Hi friends, I need help. It won't let me use this workflow. I've been trying to fix it for days, but I can't. I've already downloaded the new FT, but nothing works. Help. Thank you very much. -------mat1 and mat2 shapes cannot be multiplied------

Aitrepreneur

The problem here is probably the model quantization I've noticed that the lower the quant for this model, the worst it is... if you try with Q8 you won't have that issue

Aitrepreneur

Inpainting is the only way for now, this new model is much better than the previous one for that so this issue might get completely fixed for the next iteration maybe

Aitrepreneur

have you used the installer? and do you have the Qwen2.5-VL-7B-Instruct-mmproj-BF16.gguf file in the ComfyUI_windows_portable\ComfyUI\models\text_encoders folder?

mario ledesma

Hi friend. I installed it locally, with all the updates and models. But I still get an error when I try to generate an image. I also see that in the comments, several people are saying the same thing.

Bob

ok thanks, it did work out, no more mat 1 mat 2 error, it start generating, but it generates almost nothing, the generated image just does not change much.

Bob

generated image changes a lot, its kind 3d ish look like ai eventhough up[loading real life photo, it becomes like 3d painting. and it changes face slightly when asking change pose. im pretty sure there are some files missing not exactly like your set up. so can you please just upload your whole comfyui folder to download, so no single file is missing and we get exactly result you are getting.

Sutherland

First of all thanks for the amazing workflow but i still have the ghosting, image loses a lot of details, gets blurry. i wish it worked like the inpainting workflow, would've been the best thing ever..

Sutherland

Im running Q8 and ghosting is still there and it makes the image unusable for me..

Aitrepreneur

have you redownloaded the new workflow? the workflow had to be reuploaded hours ago because of a Patreon issue

Aitrepreneur

no files are missing if you are able to generate an image, the only issue might just be the quantized model, I noticed that the more quantized the worse the model is, Q4 is unfortunately really bad, if you try Q/8, you'll get much better results

Sutherland

Yes i downloaded it 15 mins ago, i checked that referencelatent is gone and its correct lora. Im using Q8, really desperate as this is my dream workflow if there is no ghosting.

Discord App

Hi and thanks for your workflow, but It doesn't work for me and I don't know why, I've downloaded the Q6_K model and both text encoders the UD_Q4_K_S and mmproj-BF16, as the instructions said, but when I run it, it just generates a black image and it doesn't give me any feedback, so I dont know what could have happened. Any idea? I have the newest workflow also.

mario ledesma

Hi friend. You told me to send you a direct message. I changed everything you told me, and I can't get it to work. I keep getting the error.

Vato Vegas

I seem to be getting Stuck at 75% K sampler - how long should it take to render an Qwen Image Edit? 4090 24GB

Vato Vegas

It finally rendered. 23.5 mins kinda long

Vato Vegas

some times it renders under 1 min. & others over 20 mins... weird.

jhonathan Paula

Hi! I’m encountering the error “mat1 and mat2 shapes cannot be multiplied (77x768 and 3072x768)” when using the TextEncodeQwenImageEditPlus node, even after following the instructions to add the correct mmproj file. Could you please help me figure out how to fix this? Thanks in advance for your time and for the great work on this project!

Aitrepreneur

have you used the installer? and do you have the Qwen2.5-VL-7B-Instruct-mmproj-BF16.gguf file in the ComfyUI_windows_portable\ComfyUI\models\text_encoders folder?

strandgames

Hello. mediapipe does not install with the version of ComfyUI portable in the pastebin instructions. This appears to be (another) python problem. The portable contains python 3.13. I am trying downgrading to python 3.10. mediapipe installs then. Not sure yet if the whole show will also work with 3.10. Also, there is no such file Qwen-Image-Edit-Lightning-8steps-V1.1.safetensors as referenced by the pastbin instructions. I am trying 1.0

strandgames

I had to get an older version of torch.

strandgames

Maybe I'll try again with python 3.13. Is there a way to install mediapipe?

Pyriel Löfas

Your workflow doesent work. i get an error: mat1 and mat2 shapes cannot be multiplied (748x1280 and 3840x1280). i use the q4 k_S version. and the clip model which is standart in your workflow

Dragonbait

Whenever I try to use openpose I get the Error "OpenposePreprocessor No module named 'skimage'". Any ideas?

Virtamouse

did anyone ever figure out the ghosting issue?

Danilo Hugo Arreghini

im having the same issue: mat1 and mat2 shapes cannot be multiplied (768x1280 and 3840x1280)

a pretty parrot

it sounds like the issue i am having, ive made some progress on making it not as bad today. mainly been tweaking things in the "Grow Mask with Blur" and upped cfg value to 3.2 (cfg is just kinda shot in the dark though) would love to figure it out though.

a pretty parrot

I think i had to deal with that when i was reinstalling, sounds familiar. maybe i dont have correct workflow. will have to try this one out. @Aitrepeneur might be handy to put a version number in the note thing by the title in the future :>

a pretty parrot

there is a lora for helping with that, "realistic skin no plastic qwen" found it when i was looking for loras. for me on Q4 first image i played with did good, next one is ghosting, but getting closer with tweaks. EDIT: tried the workflow attached here, seems a little better, but ironically significantly worse when i went from the 4step light to 8step light

Julio Sousa

The ghosting issues make this impossible to use

Daniel Skarżyński

Hi, do you have any suggestions or idea how to make better results with this qwen model. I want to change pose of a person but the generated images are wery smooth/blured. There is no detail. Even when I use 3000 px input images. I used for test full version of qwen edit bf16 and the results are the same.

Warspectre

When I try and load this work flow I get a pop up that says Missing Node Types When loading the graph, the following node types were not found ReferenceLatent ResizeMask GrowMaskWithBlur ImageResizeKJv2 TextEncodeQwenImageEditPlus CFGNorm PrimitiveStringMultiline I've tried to use the Manager but it doesn't seem to work for these. Any ideas? Thanks!

Ken Kawashima

What is the chance we could get actual masking on the main workflow? I keep getting cases where too much of the image is changed when I just wanted a local edit. Another issue I keep getting is the entire image shifting to the left by about 9-10 pixels, or getting the main subject shrinking - I can't get it to stay in place and/or size. Masking would resolve all of these issues. I know because using the inpainting workflow on the right always gets things right, but it doesn't support a 2nd image, so I can tell it where to put the change, but cannot show the change itself. I am not sure if it would be easier to add support for masking on the main workflow, or to add a 2nd image on the inpainting? Either one would be welcome. Please let me know.

Ken Kawashima

After updating ComfyUI to the latest version, I started getting "RuntimeError: gather(): Expected dtype int64 for index" errors from this workflow. I tried the nuclear solution by deleting the folder and reinstalling from scratch, but it won't work anymore. Looks like ComfyUI updates broke compatibility with it. Please help! **UPDATE (2025.12.09): Ok, I think I have figured it out. The problem is on the GGUF loader, where it became incompatible with the latest ComfyUI, which now requires the gather() index param to be an int64 (instead of int32). This is easy to fix. Open "ComfyUI \custom_nodes\ComfyUI-GGUF\dequant.py" and go to line 280 and locate: qs = torch.gather(kvalues, dim=-1, index=qs.to(torch.int32)).reshape((n_blocks, -1, 32)) and change it to: qs = torch.gather(kvalues, dim=-1, index=qs.to(torch.int64)).reshape((n_blocks, -1, 32)) so that torch gets the int64 index param that it now requires. Now restart ComfyUI and everything is fixed. ^____^

Zo

Thank you!!! This got it working for me. I was using this workflow via API and updated to play with Z Image. That one change got me rolling again.

Shelby Black

The inpainting just stopped working. Anyone else having this problem?