Aspect ratio is the first decision in a render and the one people make most casually. Someone needs a 4:5 image for a feed, types 1024×1280, and wonders why the hands multiply. The number 1280 is not divisible by 64, the area is 1.3 megapixels — above what the model was trained on — and the model has been asked to compose for a canvas shape it has seen rarely. None of those things is visible in the prompt box.

This is the arithmetic we use before every batch. It is short, and it prevents most of the artefacts people attribute to "bad luck".

Models are trained at an area, not at a width

SDXL was trained on buckets around 1024×1024: about 1.05 megapixels, with dimensions in multiples of 64. Flux expects about the same area, with dimensions in multiples of 16. Midjourney hides the canvas behind --ar, renders at its own internal size, and offers an upscale afterwards.

ModelTrained areaDimension stepPractical range
SDXL~1.05 MP (1024²)64 px0.7–1.3 MP
Flux~1.05 MP (1024²)16 px0.4–2.0 MP
Midjourneyinternal, ratio-driven—--ar any ratio

Two consequences follow. First, a 21:9 canvas at 1 megapixel is 1536×640 — a legal SDXL bucket — while 1920×823 is not, even though it is the same ratio. Second, the further a ratio is from square, the more the model has to invent at the edges, because most training images were closer to square than your canvas. That is where duplicated figures and extra limbs come from: the model is filling width it has no consistent plan for.

The sizes we actually use

These are the buckets we generate at. Every dimension is a multiple of 64 (SDXL) or 16 (Flux), and every area stays near one megapixel.

RatioSDXL (×64)AreaFlux (×16)Area
1:11024×10241.05 MP1024×10241.05 MP
4:5896×11521.03 MP896×11521.03 MP
5:41152×8961.03 MP1152×8961.03 MP
3:21216×8321.01 MP1216×8321.01 MP
2:3832×12161.01 MP832×12161.01 MP
16:91344×7681.03 MP1344×7681.03 MP
9:16768×13441.03 MP768×13441.03 MP
21:91536×6400.98 MP1536×6721.03 MP

If you only remember one row, remember 4:5 at 896×1152. It is the workhorse for portraits and fashion, it sits in the trained band, and it crops cleanly to 1:1 for a grid without losing the composition.

The aspect-ratio calculator on the tools page computes the same numbers for any of the eight ratios, and copies them as a ready line.

Why "just generate bigger" fails

Asking for 2048×2048 does not give you a 2-megapixel composition. It gives you four 1-megapixel compositions arranged in a square, in the best case, and duplicated subjects in the worst. The model's attention was trained to place one scene in a 1024² frame; when you quadruple the area it has to fill, it does what a wallpaper pattern does and repeats.

Flux tolerates larger canvases better than SDXL — up to about 2 megapixels it usually keeps a single coherent scene — but even there, 2048×2048 is where you start seeing a second horizon and a second sun. The reliable route to a large image is:

  1. Generate at the model's native area, in the ratio you want.
  2. Choose the frame whose composition already works.
  3. Upscale once with a model or a tiled method, then inspect the seams.
  4. Composite or retouch — do not re-render the whole image at a larger size and hope.

The crop, planned from the start

If you know the final asset needs a 16:9 banner, a 4:5 feed image, and a 1:1 thumbnail, do not render three times. Render once at 4:5, 896×1152, and compose with air at the top and sides so the crops survive. In practice that means:

  • Keep the subject's eyes on the upper third, so a 16:9 centre crop does not cut the forehead.
  • Leave at least 12% empty margin on both sides, so a 1:1 crop keeps the shoulders.
  • Avoid text or key props within 15% of any edge; every crop will eventually remove one of them.

This is the same discipline a magazine photographer uses when shooting for a spread: the frame is fixed at capture, and the crop is decided later from a composition that can afford it.

Ratios that fight the model

21:9 with two people. Wide canvases invite the model to place a second figure; if the brief is a single subject on a panorama, say "one person, alone in frame, empty street to the right" and check the composition before upscaling.

9:16 with full-body framing. Vertical canvases at 1 megapixel are only 768 pixels wide. A full body in 768 pixels gives about 60 pixels of face. If the deliverable needs a visible face, shoot waist-up or generate 9:16 at 832×1472 (1.22 MP), which Flux handles comfortably and SDXL mostly does.

1:1 for a magazine spread. If the design calls for a spread, generate 3:2 and let the designer crop; a 1:1 render upscaled to a spread will be interpolated, and interpolation is exactly the softness we spend the rest of the workflow avoiding.

A note on Midjourney

Midjourney does not take width and height. It takes --ar 4:5, renders internally, and hands you an upscale. The pixel column in our calculator is therefore a reference for what a 4:5 crop of a 2-megapixel master looks like — useful when the asset has to match an existing layout, not a setting to type anywhere.

Two Midjourney habits are worth keeping: pass the ratio on every prompt in a series rather than relying on a saved default, and do the upscale on the frame you have already chosen rather than generating several upscales to compare. Upscaling changes composition slightly; choosing after the upscale means choosing a composition you did not see at 4-up.

The check before you press generate

Three questions, ten seconds:

  1. Is each dimension a multiple of 64 (SDXL) or 16 (Flux)?
  2. Is the area between 0.7 and 1.3 megapixels, and never above 2?
  3. Will the final crop, at every ratio the project needs, still contain the eyes and the hands?

If all three are yes, the canvas is not what will ruin the render. Spend the saved time on the light.