Optimal SDXL Resolutions

Fooocus is a web UI created by lllyasviel (Lvmin Zhang), the co-developer of the original control net research, which fundamentally changed Stable Diffusion tech forever.

Fooocus borrows ideas from Midjourney’s ease of use with an open source philosophy, backed by SDXL rendering. But what caught my eye was the list of resolution config that came with the app. It’s a very specific list of values.

SDXL was trained at a base resolution of 1024x1024, but was further fine-tuned on multiple aspect ratios. By targeting these aspect ratios for your renders, you will then have the most optimal results — and hence why you should absolutely follow this table of values when make your renders.

List of Values

WidthHeightRatio (W:H)FractionStd
70414080.5001:2S
70413440.52411:21
76813440.5714:7S
76812800.6003:5S
83212160.68413:19
83211520.72213:18
89611520.7787:9S
89610880.82414:17S
96010880.88215:17
96010240.93815:16S
102410241.0001:1
10249601.06716:15
10889601.13317:15
10888961.21417:14S
11528961.2869:7S
11528321.38518:13
12168321.46219:13
12807681.6675:3S
13447681.7507:4S
13447041.90921:11
14087042.0002:1S
14727042.09123:11
15366402.40012:5
16006402.5005:2S
16645762.88926:9
17285763.0003:1S

Images

Social PostSocial Post

Config Source

These values were generated as part of the user_path_config file which were created dynamically by script. Sourceopen in new window

{
  "available_aspect_ratios": [
        "704*1408",
        "704*1344",
        "768*1344",
        "768*1280",
        "832*1216",
        "832*1152",
        "896*1152",
        "896*1088",
        "960*1088",
        "960*1024",
        "1024*1024",
        "1024*960",
        "1088*960",
        "1088*896",
        "1152*896",
        "1152*832",
        "1216*832",
        "1280*768",
        "1344*768",
        "1344*704",
        "1408*704",
        "1472*704",
        "1536*640",
        "1600*640",
        "1664*576",
        "1728*576"
    ],
    "default_aspect_ratio": "1152*896"
}
Last Updated: