SDXL and FLUX resolution calculator
Diffusion models produce their best images near the pixel count they were trained on. Pick a ratio and a target size and get dimensions that keep composition clean and avoid duplicated subjects.
Why native resolution matters
SDXL and most FLUX-family models were trained around one megapixel (for example 1024 x 1024). Generating far above that in one pass often produces doubled heads, extra limbs or repeated objects, because the model tries to fill more space than it learned to compose. Far below it, detail suffers.
The usual workflow is to generate near native size, then upscale with a hires fix or a dedicated upscaler.
Common SDXL-style sizes
- 1:1 - 1024 x 1024
- 3:2 - about 1216 x 832
- 16:9 - about 1344 x 768
- 9:16 - about 768 x 1344
- 21:9 - about 1536 x 640
Common questions
Why round to multiples of 64?
The VAE works on blocks of 8 pixels and many models prefer dimensions divisible by 64. Odd sizes can cause artefacts or be resized silently.
Can FLUX go above 1 megapixel?
FLUX-family models tolerate somewhat higher resolutions than SDXL, but very large single-pass sizes still risk artefacts. Upscaling is safer.
What size for SD 1.5?
Around 512 x 512, or about 0.26 megapixels, adjusted for ratio.
Related
Image Prompt Generator
Generate structured prompts for SDXL and FLUX from subject, medium, light, lens and mood choices.
Free toolSDXL Negative Prompt Builder
Build focused, weighted negative prompts for SDXL and SD 1.5 to cut artifacts, watermarks and anatomy errors.
Free toolRandom Art Style Generator
Shuffle medium, era, palette, lighting and texture to discover new looks, lock the ones you like.
Free toolPrompt Weight Syntax Converter
List concepts with weights and convert them into A1111 and ComfyUI (word:1.2) syntax, nested parentheses, Midjourney double-colon or plain order.
Free toolGPU VRAM Checker for Image Models
Estimate VRAM for SDXL, FLUX-family, Chroma, Qwen-Image and more at BF16, FP8 and GGUF, and see whether your GPU fits at your target size.
GuideHires Fix Explained: Settings for Sharp, High-Res Images
How hires fix works and the settings that matter: upscale factor, upscaler choice, denoise and hires steps, plus building it in ComfyUI.
Now render it in the studio.
Paste your prompt into the unrestricted image studio and pick a model.