Categories: Image

Totally fixed the Qwen-Image-Edit-2509 unzooming problem, now pixel-perfect with bigger resolutions

Here is a workflow to fix most of the Qwen-Image-Edit-2509 zooming problems, and allows any resolution to work as intended.

Here is an example of pixel-perfect match between an edit and its source. First image is with the fixed workflow, second image with a default workflow, third image is the source. You can switch back between the 1st and 3rd images and see that they match perfectly, rendered at a native 1852×1440 size.

Qwen-Edit-Plus fixed

Qwen-Edit-Plus standard

Source

The prompt was : “The blonde girl from image 1 in a dark forest under a thunderstorm, a tornado in the distance, heavy rain in front. Change the overall lighting to dark blue tint. Bright backlight.”

Technical context, skip ahead if you want : when working on the Qwen-Image & Edit support for krita-ai-diffusion (coming soon©) I was looking at the code from the TextEncodeQwenImageEditPlus node and saw that the forced 1Mp resolution scale can be skipped if the VAE is input if not filled, and that the reference latent part is exactly the same as in the ReferenceLatent node. So like with TextEncodeQwenImageEdit normal node, you should be able to give your own reference latents to improve coherency, even with multiple sources.

The resulting workflow is pretty simple : Qwen Edit Plus Fixed v1.json

https://preview.redd.it/uysnoimm9ltf1.png?width=2052&format=png&auto=webp&s=512bf761f2ff54426f5df0448bbfe4043ad6cc24

Note that the VAE input is not connected to the Text Encode node (there is a regexp in the Anything Everywhere VAE node), instead the input pictures are manually encoded and passed through reference latents nodes. Just bypass the nodes not needed if you have fewer than 3 pictures.

Here are some interesting results with the pose input : using the standard workflow the poses are automatically scaled to 1024×1024 and don’t match the output size. The fixed workflow has the correct size and a sharper render. Once again, fixed then standard, and the poses for the prompt “The blonde girl from image 1 using the poses from image 2. White background.” :

Qwen-Edit-Plus fixed

Qwen-Edit-Plus standard

Poses

And finally a result at lower resolution. The problem is less visible, but still the fix gives a better match (switch quickly between pictures to see the difference) :

Qwen-Edit-Plus fixed

Qwen-Edit-Plus standard

Source

Enjoy !

submitted by /u/danamir_
[link] [comments]

AI Generated Robotic Content

Share
Published by
AI Generated Robotic Content
Tags: ai images

Recent Posts

A Decision Matrix for Time Series Forecasting Models

Time series data have the added complexity of temporal dependencies, seasonality, and possible non-stationarity.

5 hours ago

Introducing CodeMender: an AI agent for code security

CodeMender helps patch critical software vulnerabilities, and rewrites and secures existing code.

5 hours ago

Responsible AI: How PowerSchool safeguards millions of students with AI-powered content filtering using Amazon SageMaker AI

This post is cowritten with Gayathri Rengarajan and Harshit Kumar Nyati from PowerSchool. PowerSchool is…

5 hours ago

More choice, more control: self-deploy proprietary models in your VPC with Vertex AI

Building the best AI applications requires both the freedom to choose the most powerful, specialized…

5 hours ago

OpenAI unveils AgentKit that lets developers drag and drop to build AI agents

OpenAI launched an agent builder that the company hopes will eliminate fragmented tools and make…

6 hours ago

Jony Ive Says He Wants His OpenAI Devices to ‘Make Us Happy’

“I don’t think we have an easy relationship with our technology at the moment,” the…

6 hours ago