It's the same for every diffusion model; your images need to be divisible by 8 in both directions : )
Some workflows will just randomly error (like this one) due to how different nodes handle incorrect sizes, some workflows will silently fail, some models reject images with wrong proportions, and some will "succeed" but mess up your image along the edge where there was a mismatch.
That is to say, it's very inconsistent so it's best to keep on top of it and remember to check for divisibility by 8 before you do anything. It'll save you headaches with things like random errors and unexpected cropping, etc.
That one looks like maybe you've tried inputting an image of incorrect size? It's hard to interpret the shape errors sometimes. What dimensions were your input image?
I'm not familiar with OWUI so I'm not sure, sorry. But this post is about Qwen Image Edit 2511, not Qwen Image 2512. Maybe that's where the problem is?
Hmmm I'm afraid I don't know, I'm not much of a mac user. However, luckily for you the model is still pretty good even without the clownsharksampler. Just swap it out for a regular Ksampler (and make sure to connect everything back to it correctly) then you're good to go : )
Yep, same text encoder and vae as for 2509. Not sure why it wouldn't be working for you if the 2509 workflow does - what do you mean by 'renders are not right' exactly?
Try turning off the double ref option and giving it a 1024x1024 image (or any square image and setting the scaling to 1024). That'll be a very close to how it runs through the base workflow. If that still gives weird results, then... well, something weird is going on lol.
Yep, they're fairly small workflows so you shouldn't have much trouble piecing together what they're doing.
If you do want to see the ref structure in a cleaner way you can grab the dev workflows - the switches and other clutter have been removed from them so it's easier to see what's going on node-wise.
I do recommend starting with the single image one if you want to put it through its paces; I do think qwedit multi-image stuff is generally pretty poor compared to Klein.
Same prompt and reference images as what? I mean the pic you gave as an example, I'd like to see if I can figure out why yours turned out that way - it's not consistent with the results I've been getting on my end.
Mostly I just couldn't be bothered testing it with the long gen times. Qwedit is pretty iffy with multi image stuff, even at only two images, so the workable use cases for three inputs would be pretty sparse I imagine.
Buuuut if someone really wants it, I can put it together - it's just some copy pasting.
Hey there, sorry for getting back to you a little late! I resolved to finish up the workflows & tutorial I was working on but it took longer than expected.
Sidebar, you could also do this manually by using a depth model (not tied to any other model, a separate one) to make a depth map of your image, and then use that map to isolate the subject of your image. You can then put the subject, foreground and background all on different layers and mess around with them to your heart's content.
You can use the same trick to do things like cut out foreground & background elements from pics, or even videos. I've used it before to isolate a dancer against a background crowd of people.
It can do up to 3mpx no problem, but the qwen text encoder nodes in comfy all force downscale to 1mpx for no reason. So you have to either use obscure custom nodes to avoid that, or set up your own reference input instead.
If you're using the normal comfy encoder, best practice is to use a node that downscales the image to 1 mpx (1024x1024 pixels specifically, target the exact number) using the lanczos method, rounding to 8. This perfectly matches with the internal comfy node will try to do, but the comfy node uses area downscale instead of lanczos which is terrible and makes images extremely blurry.
This is why qwen edit outputs are so bad in comfy.
Yep, it's just a keyword the model understands. You'll get the hang of it if you play around with the example terms I mentioned :)
why use an upscaler?
Two reasons:
All the available Qwedit workflows downscale to 1mpx for no reason, and I haven't quite finished up the workflow + post I've been working on to bypass that - but I could share it with you early if you'd like to use it. It's working fine, I just haven't done the writeup that goes with it so I haven't posted it yet.
Qwen often leaves a noticeable halftone pattern on images (like a subtle grid of dots), and you can reliably remove it by just downscaling your output by 0.75% or so and then re-upscaling with seedvr or whatever other upscaler you like. I know that sounds like a downside but the fix is very reliable and the output quality is high.
Here's an example output of that same image I showed before, with a quick edit to change it to a winter scene. I did the edit at 1440p, then downscaled the output by 75% and re-upscaled to 1920p.
Pre-upscale image, if you zoom in you'll see the halftone pattern I was talking about
Post-upscale image, if you zoom in you'll see it's detailed and the halftone pattern is gone
You can use Qwen Edit for that sort of thing, then use an upscaler afterwards to get back to whatever your desired resolution is. Here's a quick example I just did using a previous image gen.
Prompt:
Relight to white backlit. Sillhouette the woman and dog.
OP is using a flawed Qwen edit workflow or has bad settings, here's a better example. The dude's face is pretty low quality, but that's because the input pic is terrible and Qwen is quite sensitive to that.
In OP's defense, the best way of using Wanimate isn't properly documented anywhere. Nowhere easily findable, at least. I've been puzzling it out for a few days and it's very finnicky trying to figure out things like what aspect ratio face images should be in, how much (or how little) you should mask out to get best results, what type of source/target images work best for identity transfer (such as blacking out everything except the face itself for a face reference).
Even things like which pose extraction models to use and which methods to use for auto-masking (like SAM3 vs older methods) are very unclear and give super different results. It's a very involved model to use with lots of individual steps that heavily affect the output quality.
It's tough to figure out, and some applications are just harder than others too; maybe 2D cartoons fall into that category.
It's not any slower than Wanimate is, from my experience. You can use the lightx lora with it and otherwise it runs in roughly the same amount of time.
When you say slow, do you mean like... 20% slower or something?
It's the same for every diffusion model; your images need to be divisible by 8 in both directions : )
Some workflows will just randomly error (like this one) due to how different nodes handle incorrect sizes, some workflows will silently fail, some models reject images with wrong proportions, and some will "succeed" but mess up your image along the edge where there was a mismatch.
That is to say, it's very inconsistent so it's best to keep on top of it and remember to check for divisibility by 8 before you do anything. It'll save you headaches with things like random errors and unexpected cropping, etc.
All the individual nodes for this workflow are exposed as well, but dw I get you when you say this stuff seems arcane in the beginning lol
Good luck getting it working! Sorry I can't help much with OWUI, but lemme know if it works out : )
That one looks like maybe you've tried inputting an image of incorrect size? It's hard to interpret the shape errors sometimes. What dimensions were your input image?
I'm not familiar with OWUI so I'm not sure, sorry. But this post is about Qwen Image Edit 2511, not Qwen Image 2512. Maybe that's where the problem is?
Hmmm I'm afraid I don't know, I'm not much of a mac user. However, luckily for you the model is still pretty good even without the clownsharksampler. Just swap it out for a regular Ksampler (and make sure to connect everything back to it correctly) then you're good to go : )
Yep, same text encoder and vae as for 2509. Not sure why it wouldn't be working for you if the 2509 workflow does - what do you mean by 'renders are not right' exactly?
Try turning off the double ref option and giving it a 1024x1024 image (or any square image and setting the scaling to 1024). That'll be a very close to how it runs through the base workflow. If that still gives weird results, then... well, something weird is going on lol.
Swapping faces is difficult in general, and Qwen isn't very good at it in base form.
There are loras for it though, I've had some success with this one: https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap
Yep, they're fairly small workflows so you shouldn't have much trouble piecing together what they're doing.
If you do want to see the ref structure in a cleaner way you can grab the dev workflows - the switches and other clutter have been removed from them so it's easier to see what's going on node-wise.
I do recommend starting with the single image one if you want to put it through its paces; I do think qwedit multi-image stuff is generally pretty poor compared to Klein.
Fair enough, I had pretty much exactly the same experience up until recently. Lemme know if it ends up the same way as usual for you lol
Same prompt and reference images as what? I mean the pic you gave as an example, I'd like to see if I can figure out why yours turned out that way - it's not consistent with the results I've been getting on my end.
Seems like something's gone wrong there, it looks nothing like what normally comes out.
Do you have the prompt + source image handy? I can test it out on my side and get back to you
The lack of respect is just me doing a bit to make the post more interesting, but you may be on to something with the pretension
Mostly I just couldn't be bothered testing it with the long gen times. Qwedit is pretty iffy with multi image stuff, even at only two images, so the workable use cases for three inputs would be pretty sparse I imagine.
Buuuut if someone really wants it, I can put it together - it's just some copy pasting.
Hey there, sorry for getting back to you a little late! I resolved to finish up the workflows & tutorial I was working on but it took longer than expected.
Here it is: https://www.reddit.com/r/comfyui/comments/1tqm4pb/cracked_the_case_on_high_res_quality_qwen_edit/
Lemme know if you run into any issues, and hopefully it works well for your stuff : )
Close enough, dope as fuck
Sidebar, you could also do this manually by using a depth model (not tied to any other model, a separate one) to make a depth map of your image, and then use that map to isolate the subject of your image. You can then put the subject, foreground and background all on different layers and mess around with them to your heart's content.
You can use the same trick to do things like cut out foreground & background elements from pics, or even videos. I've used it before to isolate a dancer against a background crowd of people.
It can do up to 3mpx no problem, but the qwen text encoder nodes in comfy all force downscale to 1mpx for no reason. So you have to either use obscure custom nodes to avoid that, or set up your own reference input instead.
If you're using the normal comfy encoder, best practice is to use a node that downscales the image to 1 mpx (1024x1024 pixels specifically, target the exact number) using the lanczos method, rounding to 8. This perfectly matches with the internal comfy node will try to do, but the comfy node uses area downscale instead of lanczos which is terrible and makes images extremely blurry.
This is why qwen edit outputs are so bad in comfy.
Yep, it's just a keyword the model understands. You'll get the hang of it if you play around with the example terms I mentioned :)
Two reasons:
All the available Qwedit workflows downscale to 1mpx for no reason, and I haven't quite finished up the workflow + post I've been working on to bypass that - but I could share it with you early if you'd like to use it. It's working fine, I just haven't done the writeup that goes with it so I haven't posted it yet.
Qwen often leaves a noticeable halftone pattern on images (like a subtle grid of dots), and you can reliably remove it by just downscaling your output by 0.75% or so and then re-upscaling with seedvr or whatever other upscaler you like. I know that sounds like a downside but the fix is very reliable and the output quality is high.
Here's an example output of that same image I showed before, with a quick edit to change it to a winter scene. I did the edit at 1440p, then downscaled the output by 75% and re-upscaled to 1920p.
Pre-upscale image, if you zoom in you'll see the halftone pattern I was talking about
Post-upscale image, if you zoom in you'll see it's detailed and the halftone pattern is gone
You can use Qwen Edit for that sort of thing, then use an upscaler afterwards to get back to whatever your desired resolution is. Here's a quick example I just did using a previous image gen.
Prompt:
https://preview.redd.it/09y8k9cttt0h1.jpeg?width=2172&format=pjpg&auto=webp&s=c467382798ca1c129dd708cb95c3af24522bf139
OP is using a flawed Qwen edit workflow or has bad settings, here's a better example. The dude's face is pretty low quality, but that's because the input pic is terrible and Qwen is quite sensitive to that.
https://preview.redd.it/fmkn2t1t5r0h1.png?width=1440&format=png&auto=webp&s=ed0bc940622860ac0b1fca0626cbe69cf12368ab
Qwen edit workflow/prompt issue. Here's a better example. The dude's face is low quality because the input pic of him is terrible.
https://preview.redd.it/ttx2el675r0h1.png?width=1440&format=png&auto=webp&s=698ade959da40178246ce35b54d7bc0af902b4be
It's not set up to do face transfer if that's what you're asking. If you want to leave a face intact you can just not paint over it with your mask.
There are controlnets for zimage base that I haven't tried yet, if you need to do face stuff one of those might help (like depth).
Here you go: https://www.reddit.com/r/StableDiffusion/comments/1rrqrpf/so_turns_out_zimage_base_is_really_good_at/
That workflow does img-to-img, inpainting and refining all very easily.
In OP's defense, the best way of using Wanimate isn't properly documented anywhere. Nowhere easily findable, at least. I've been puzzling it out for a few days and it's very finnicky trying to figure out things like what aspect ratio face images should be in, how much (or how little) you should mask out to get best results, what type of source/target images work best for identity transfer (such as blacking out everything except the face itself for a face reference).
Even things like which pose extraction models to use and which methods to use for auto-masking (like SAM3 vs older methods) are very unclear and give super different results. It's a very involved model to use with lots of individual steps that heavily affect the output quality.
It's tough to figure out, and some applications are just harder than others too; maybe 2D cartoons fall into that category.
It's not any slower than Wanimate is, from my experience. You can use the lightx lora with it and otherwise it runs in roughly the same amount of time.
When you say slow, do you mean like... 20% slower or something?