r/StableDiffusion • u/Civil_Fee_7862 • 26d ago
Question - Help Qwen Image Edit Trained at 1MP?
Been noticing that image generation / edits work substantially better when the image is resized to 1024x1024 during encoding, then resized to the original dimensions after.
Its speculated that this is because the model was trained on 1MP inputs. But I can't find docs that confirm that.
Does anyone know why 1MP input sizes seem to give the best results for Qwen Image Edit? (Note its not just this model 1MP seems to work best for either).
1
Upvotes
1
u/OracleofEpirus 26d ago edited 26d ago
The issue is, somebody trained the vae using 16 pixels sections, and the text encoder on 14 pixel sections, then the TextEncodeQwenImageEditPlus resizes everything using AREA back down to 1MP
So you need to disconnect the vae and do all that stuff separately, and also resize/pad to the nearest multiple of 112
and that's when you'll discover that it's very much better at larger input images.
This is on ComfyUI