Extending a Photo's Background
How generative expand, also called outpainting, adds new background around a photo so it fits a new shape, and how to make it convincing.
You have a perfect portrait, but it's square and you need a wide banner. Cropping would cut off the subject. Extending the background, sometimes called outpainting or generative expand, adds new image around the edges.
How it works
You choose a new, larger canvas. The AI looks at the existing photo and paints new content into the empty areas, continuing walls, skies, floors, landscapes and patterns so the result looks like a wider photo.
When it works well
- Simple backgrounds: skies, studio walls, grass, sand, water.
- Soft, out-of-focus backgrounds, where the fill doesn't need much detail.
- Moderate extensions: adding a little on each side is more reliable than tripling the width.
When it struggles
- Complex scenes: buildings, crowds and detailed interiors are hard to continue convincingly.
- People cut off at the edge: the AI may try to complete a half-visible person, often oddly.
- Strong perspective lines: roads and rooms need lines to continue correctly.
Tips
- Expand in steps rather than all at once.
- Keep the subject away from the new edges.
- Generate several versions and choose the best.
- Check for repeated patterns or odd objects in the new areas.
Alternatives
- Cutout and recompose: remove the background and place the subject on a new canvas with a background that fills any shape. See aspect ratios explained.
- Blur: extend with a blurred, stretched version of the edges for a soft, simple look.
- Solid colour: pad with a colour sampled from the background.
Be honest about edits
Extended areas are invented. For documentary or news images, that matters. See the ethics of photo retouching.
In BGZone
Generative Expand in Creative Studio extends the picture on your device, filling the new space from what's around it. See Generative Fill and Expand.