SwarmUI icon indicating copy to clipboard operation
SwarmUI copied to clipboard

Automatic Image Scaling for ControlNet input images

Open Dayuppy opened this issue 6 months ago • 0 comments

Feature Idea

It would be very helpful to have automatic detection of when the ControlNet input image does not match the generated resolution.

Other

I am requesting this because the results are horrible and inaccurate when the resolutions do not match and I could not figure this out until hours of troubleshooting with no apparent reason why the same process was working fine in EasyDiffusion and Automatic1111.

ControlNet image that I generated a couple of years ago:

Demonic_meteor_blackhole_portal_lasers_mining_factory__Detailed_and_Intricate__Photo__Landscape__Dig_Seed-4341004_Steps-30_Guidance-20

Here is an example of the many failed generations after turning off Zero Negative (which made it even worse): image

image

Here is a test result that is more of what I was expecting that was generated in Automatic1111:

image

Here is my result within SwarmUI after simply re-importing the same input image at 1024x1024 instead of 2048x2048:

image

Dayuppy avatar Aug 31 '24 19:08 Dayuppy