Skip to content
LaFoto

AI image glossary

What is outpainting?

Generating new image content beyond the original frame edges, used to extend a photograph to a wider aspect ratio without cropping.

Outpainting generates plausible new content outside the boundaries of an existing image. It is how a square photograph becomes a wide banner without cutting anything out — the model reads what is already in the frame and invents a continuation of it in the empty space around the edges.
A photographic print on warm paper with plain paper extending past all four of its edges

Extending instead of cutting

Every crop is a subtraction. When a photograph is the wrong shape for where it has to go, the ordinary options are to lose part of the image or to letterbox it with empty bars. Outpainting adds a third: keep everything and manufacture the rest. A portrait-orientation photograph can become a wide header, a tightly framed subject can gain the breathing room the composition wanted, and a scan with a missing corner can be completed.

How the model decides what goes there

The new region is generated conditioned on the pixels adjacent to it, so continuity of texture, lighting direction and perspective is inherited from what already exists. A prompt can steer it, but the strongest signal is always the existing image — outpainting a sunset does not produce midday light no matter what you type, because the border it is matching is orange.

Work outward in steps, not in one leap

The reliable technique is incremental. Extending by a modest margin, accepting the result, and extending again from the new edge produces far better output than asking for a large extension in one pass, because each step has a rich border to reason from. A single enormous extension gives the model a thin strip of context and a vast emptiness, and it fills the emptiness with drift.

Where it fails, and how to see it coming

Structure with rules is where it breaks. Architecture gains windows that do not line up, tiled floors lose their vanishing point, and text or repeating patterns at the border continue into confident nonsense. Faces and bodies partially cut by the original frame are the worst case — an arm entering the frame will often acquire an anatomically impossible continuation. Natural, irregular content such as foliage, sky, water and fabric extends almost invisibly.

The honest limit

Nothing outside the original frame is a record of anything. Outpainting invents, and the invented region is a plausible fiction rather than a recovery of what was actually there. That is fine for a banner and unacceptable for a photograph presented as documentary evidence, a news image, or anything on an identity document — a distinction worth keeping firmly in view.

Outpainting at a glance

Adds
Content beyond the edges
Leaves alone
The original frame
Best on
Sky, foliage, water, fabric
Struggles with
Architecture and text
Technique
Extend in small steps
Not for
Documentary or ID images

Put it to use

Where this technique appears

Outpainting — questions people ask

What is outpainting?
Generating new image content beyond the edges of an existing picture, so it can be extended to a different shape or size without cropping.
What is the difference between inpainting and outpainting?
Inpainting replaces a region inside the existing frame; outpainting adds new content outside it. Same underlying technique, opposite direction.
Can outpainting change an image’s aspect ratio?
Yes, and that is its most common use — turning a square or portrait image into a wide one without cutting the subject.
Why does my outpainted area look wrong?
Usually because too much was asked for at once. Extend in several smaller steps so each pass has a substantial border to match against.
Does outpainting work well on buildings?
Poorly, compared with natural subjects. Architecture has rules — alignment, perspective, repetition — and the model breaks them confidently. Foliage, sky and water extend almost invisibly.
Is outpainted content real?
No. It is invented content consistent with what surrounds it, which is fine for design work and not acceptable for documentary or identity purposes.
Can I outpaint a photo instead of taking a wider shot?
For a background or a banner, often yes. When the extended area contains anything with structure or anything a viewer will scrutinise, reshooting is still the better answer.

Related AI image terms

Start creating today

Generate your first image with the best AI image generator.

Turn a sentence into a finished, photorealistic image in seconds — then refine every detail. No setup, no Discord, no GPU.

Join 4,200+ creators using LaFoto