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

The Complete Guide to LLM Evaluation

In this article, you will learn how to evaluate LLM applications systematically, from choosing scorers…

38 mins ago

Production MLOps at GS Caltex with Amazon SageMaker Canvas, part 1

GS Caltex uses Amazon SageMaker Canvas and Amazon SageMaker Pipelines to connect process engineers’ models…

39 mins ago

New AI agent observability and governance across BigQuery and Looker

As enterprises move AI agents from experimental prototypes into production, data and platform teams are…

39 mins ago

The FAA Nationwide Ground Stop Is Over

The five-hour ordeal ended Friday evening. Planes will be allowed to fly again, but the…

2 hours ago

Tiny flaws in diamonds could unlock a quantum computing revolution

Scientists have discovered a faster way to identify diamond-based materials that could power quantum computers…

2 hours ago

New AI ‘copilot’ lets engineers guide structural designs as algorithms create them

The use of algorithms to design structures has led to new parts optimized for ultralight…

2 hours ago