InvokeAI
InvokeAI copied to clipboard
[enhancement]: FLUX KONTEXT Prefered Sizes (Resolutions)
Is there an existing issue for this?
- [x] I have searched the existing issues
Contact Details
No response
What should this feature add?
In comfy UI we have the FluxKontextImageScale node due to Kontext prefers the following sizes, as referenced in this file: https://github.com/comfyanonymous/ComfyUI/blob/d9277301d28e732e82d0de1d5948aa00acbf6b65/comfy_extras/nodes_flux.py#L81
"PREFERED_KONTEXT_RESOLUTIONS = [ (672, 1568), (688, 1504), (720, 1456), (752, 1392), (800, 1328), (832, 1248), (880, 1184), (944, 1104), (1024, 1024), (1104, 944), (1184, 880), (1248, 832), (1328, 800), (1392, 752), (1456, 720), (1504, 688), (1568, 672),"
It would be a nice addition to add those resolutions to invoke's optimize size for model feature, however it currently always resets the resolution to 1024x1024 it would be nice to click this button and invoke automatically resizes to the closest or show us more sizes if right clicked.
Alternatives
No response
Additional Content
No response
So the ask is being able to resize the current Aspect Ratio for the reference image to one in that list?
Not for the reference image but the resulting image.