Outpainting

Widen a landscape into a panorama with an expand model

Turn a finished landscape into a wide panorama: expand it in steps, prompt only the new area and check every seam before the next run.

AAirogenia6 min read
A flat, stylised mountain lake at night in teal and lime: a brighter square panel in the middle holds the original picture of a peak and its reflection under a pale moon, and the same ridges, water and sky carry on to the left and right edges, with two faint vertical lines marking where the old frame ended

You made a landscape you like. The light is right, the ridge sits well, the water holds the reflection. Then you need it wide: a banner, a desktop background, a header that runs the full width of a page. Rendering it again in a wide frame gives you a different valley. The better move is to keep the picture you have and grow it outwards, which is what an expand model does. It is often called outpainting: the model paints new ground and sky around your image so it fits a wider shape, and leaves the original pixels alone.

This is a walkthrough of doing that well. It is a different job from choosing a wide frame before you render; here the picture already exists and you are only adding to it.

What the expand model actually takes

The expand model has a short list of inputs, and knowing them saves a few wasted runs:

  • One image. The picture you want to widen. It stays as it is; only the area around it is new.
  • A target aspect ratio, picked from a fixed list of common shapes, from tall portrait to widescreen. The model fills whatever space the new shape needs.
  • An optional prompt for the expanded area. Not for the whole picture: only for what should appear in the new space. Leave it empty and the model guesses from the edges. The field expects English.
  • Advanced extras: a negative prompt for what to keep out, a seed to repeat a result, and a switch to keep transparency if your image has any.

There is no setting for which side grows. You pick the shape; the model decides how the new area is shared around your picture. Plan for that rather than fight it.

Step 1: start from a picture that can be widened

Some originals widen easily and some do not. The easy ones have their subject near the middle and their edges made of things that go on: water, sky, a ridge line, forest, fog. The hard ones have something cut off at the edge (half a tree, half a boat, a building corner), because the model has to finish it, and finishing a half-object is where outpainting looks most made up. If the original is still being drafted, leave a little air around the subject. Our lighting guide helps here too: a low, side-on light gives the model a clear direction to continue.

Step 2: widen in steps, not in one jump

Going from a tall or square picture straight to widescreen asks the model to invent most of the final image in one go. It can, but the new parts drift: the horizon shifts a little, the light comes from a slightly different place, and the far edges turn into generic scenery. Smaller steps keep each addition close to what is already there.

  1. Square to a gentle landscape shape, for example 1:1 to 4:3. The model only adds a strip on each side.
  2. Check the result (step 4 below). Keep it only if the seam is clean.
  3. Feed the result back in as the new image and pick the next wider shape, for example 4:3 to 16:9.
  4. Stop when you reach the shape you need, not the widest one on the list.

Each step is a separate run with its own price, shown on the Generate button before you confirm. Two careful steps usually cost less than three attempts at one big jump that keeps going wrong.

Step 3: prompt only the new area

This is the part people get wrong. The instinct is to paste the original prompt again. But the model can already see the picture; describing the peak and the moon again tends to make it add a second peak and a second moon in the new space. Describe what belongs in the strip that is being added, and how it should meet the old edge.

Prompt
the lake shore continues on both sides, low dark pine forest along the water, the same ridge line falling away gently, calm water with soft reflections, the same cool night light
Continuation words (continues, the same, falling away) and only things that live at the edges of a valley.
Prompt
open sky and a wide horizon, distant hills fading into haze, no new mountains, the same soft dusk light from the left
For a second, wider step: ask the far edges to quieten down so the panorama keeps one centre.

The negative prompt earns its place here. If the first try put a second sun in the sky or a new peak on the edge, add "second sun, extra moon, new mountain peak, people" and run it again. Empty is a fair first try too: on calm water, sky and mist, the automatic guess is often good enough.

Step 4: check the seam before the next step

Every widened picture has two invisible lines where the old frame used to end. Look at the result at full size and run your eye along them before you widen again, because a flaw kept in step one is copied into every step after it.

  • The horizon. It should be one straight line across the whole width, at the same height on both sides of the seam.
  • The light. Shadows and bright faces should keep pointing the same way. A new strip lit from the other side is the most common giveaway.
  • Texture and grain. The old area and the new one should have the same softness. A crisper or blurrier band means a redo.
  • Repeats. A tree, a rock or a cloud copied from the old area into the new one, mirrored, reads as fake at once.
  • Things crossing the line. A shoreline or path that runs into the seam should come out the other side at the same angle.

What it will not do

The honest limits. The widest shape is the widest one in the ratio list; a long, thin panorama wider than that is beyond a single model run, and the studio does not stitch several pictures into one. You also cannot choose a side: if you only want the sky to grow upward, this is not the tool. The new area is invented, so a real place stays itself only in the part you started with. And text, signs or faces near the edges are poor candidates; the model may continue them badly. For a series that keeps one place across lighting or seasons, the four seasons post covers another way to hold a scene steady.

Want to try it on something you already have? The models page lists every tool in the studio, and the expand model page has a button that opens it ready to use.

Questions

Should I repeat my original prompt when I expand an image?

No. The model can see the picture, so repeating its subject tends to add a second copy in the new space. Describe only what should fill the added area and how it continues the old edge, or leave the prompt empty.

Why widen in several steps instead of one?

A big jump makes the model invent most of the final picture at once, and the far edges drift in light and horizon. Small steps add a narrow strip each time and let you check the seam before going on.

Can I make a panorama wider than the widest ratio in the list?

Not in one run. The model stops at the widest shape it offers, and the studio does not stitch several images together into one longer picture.

#Outpainting#Panorama#Landscapes

Keep reading

All articles →