How to extend the background of a photo

By Pixuvia · · Updated

The Studio's Expand image panel with 16:9 selected under New shape, the Fast and Pro model rows with their credits and a Sign in button, beside a tall photo of a woman standing on a rocky shore under sea cliffs at sunset.

To extend the background of a photo, place it on a larger canvas in the shape you need and let an AI model paint the empty edges to match the scene. In the Pixuvia Studio that is one tool, Expand image: pick 1:1, 4:5, 16:9 or 9:16, run it, and your original stays untouched in the middle. It needs a signed-in account and uses AI credits.

The right shape depends on where the photo is going, so this guide starts there. Find your destination below, see how much new picture it asks for and what to watch, then follow the steps. For one photo and a quick download, the image extender page does the same job with a before/after slider.

On this page
  1. How much of the picture will be new?
  2. Extending for a wide banner or YouTube thumbnail (16:9)
  3. Extending for an Instagram feed post (4:5 or 1:1)
  4. Extending for Stories and Reels (9:16)
  5. Extending to a print or other exact size
  6. How to extend the background of a photo in the Studio
  7. Which photos extend well?
  8. Sources

How much of the picture will be new?

Extending changes a photo's shape by adding picture instead of cutting it away. How much the model has to invent decides most of the quality, and it follows from the two shapes: divide the narrower ratio by the wider one and you get the share your original still fills. A 3:2 landscape (1.5) extended to 1:1 keeps 1 ÷ 1.5, two thirds of the frame, so one third is new.

Your photo1:14:516:99:16
3:2 landscape (most cameras)33% new47% new16% new63% new
4:3 landscape (many phones)25% new40% new25% new58% new
3:4 portrait (many phones)25% new6% new58% new25% new
2:3 portrait33% new17% new63% new16% new

Under about a third, the new strips are narrow and blend in on almost any photo. Past half, the model is painting more than you shot: that works on open sky, sea, sand or a plain wall and gets risky on crowds, buildings and anything with straight lines.

Opens the full-size image: Before and after: a tall product photo of a white jar on stacked stones against an orange wall, and the same scene widened to a landscape frame with more wall and stone on both sides.
Example of what extending does: a vertical product photo widened to landscape. Example: Photoroom blog.

Extending for a wide banner or YouTube thumbnail (16:9)

Pick 16:9. It suits website headers, slides, video thumbnails and desktop wallpapers. A camera's 3:2 landscape needs only 16% new picture, a thin strip on each side. A portrait photo is the hard case: a 2:3 or 3:4 shot gains 58 to 63%, more new scenery than original.

The shoreline photo in this guide is that case: 2:3, 1065 × 1600 pixels, so at 16:9 it becomes 2844 pixels wide and about 63% of it is new. It works because the sides are mist, sea and rock. If yours has a person or a building cut by the side edge, the model has to invent the rest of them; erase anything odd it adds with Erase object, as the guide to removing an object from a photo shows. Leave the new sides plain if a headline will sit on them.

Extending for an Instagram feed post (4:5 or 1:1)

Pick 4:5 for a portrait post that fills more of the screen, or 1:1 for a square; both are feed shapes in Buffer's Instagram size guide. A phone's 3:4 portrait needs only 6% to reach 4:5, barely a sliver at the top and bottom. A landscape is the opposite: a 3:2 shot gains 47% at 4:5 and 33% at 1:1, all of it above and below.

That means new sky and new ground. Watch the bottom edge: feet, table legs and reflections that touch it get continued, and those are where odd shapes show first. If the extended ground looks smeared, run it again with Pro, which aims for finer detail in busy scenes, or choose 1:1, which adds less. To fit a feed shape by cutting instead, crop for social media.

Extending for Stories and Reels (9:16)

Pick 9:16, the tall full-screen shape of Stories, Reels and phone wallpapers. Portraits are already close: a 2:3 photo gains 16% and a 3:4 photo 25%. A landscape has to grow far up and down, 58% new from 4:3 and 63% from 3:2, so the photo ends up as a band across the middle of a mostly painted frame.

For a landscape, check that its top and bottom edges are open sky, water, grass or floor, since those are what the model continues. A landscape with a busy foreground cut by the bottom edge rarely extends well this far: crop it a little tighter first, so the edge falls on something simple, then extend.

The Studio's four shapes always center the photo. For a print, a poster or a banner with exact pixel sizes, open the photo in the Editor and choose Image > Generative Expand…. It takes a width and height in pixels and an Anchor, so you can add space on one side only, for example above a subject to leave room for a title. The new area arrives as its own layer under your photo, so you can mask or paint over parts of it. It uses the same models and credits as the Studio.

Plan for detail: the model works on a copy of at most 4 megapixels, and the answer is blended onto your full-size original, so on a large photo the new areas can look softer than the original up close. Extend first, then upscale if you need more pixels. For a background that only needs plain color, Image > Canvas Size… adds the space; select it and choose Edit > Content-Aware Fill, which fills it from the photo with no credits.

How to extend the background of a photo in the Studio

With your shape picked, the run takes a minute:

  1. Open the Studio and click Open image, or drop your photo onto the page. PNG, JPG, WebP, GIF, AVIF, BMP and SVG files open.
  2. Click AI in the left rail to open AI tools, then click the Expand image card under Create & change.
  3. Under New shape, pick the shape for where the photo is going: 1:1, 4:5, 16:9 or 9:16. Your photo stays in the middle and the new space is added on the sides that need it.
  4. Under Model, choose Fast or Pro. The credits for each sit on the right of its row.
  5. Sign in if you have not yet, then click Expand image at the bottom of the panel. A run can take up to a minute.
  6. Check the result. It becomes a new version in the strip under the photo: press and hold the first one to compare with the original, or pick another shape or model and run again.
  7. Click Export (Ctrl+S, Cmd+S on a Mac), choose PNG, JPEG or WebP and save the file.
Opens the full-size image: The Studio with a tall photo of a woman on a rocky shore at sunset. The AI tools panel lists cards in groups, with Expand image under Create & change.
AI tools in the Studio: Expand image sits under Create & change, next to Generative fill.
Opens the full-size image: The Expand image panel with 16:9 selected under New shape, the Fast and Pro model rows with their credits, and Cancel and Sign in buttons at the bottom.
The Expand image panel, signed out: 16:9 is picked, and the action button asks you to sign in first.

There is no prompt box: the Studio tells the model to continue the scene. To add something specific in the new space, run Expand image first, then paint the area with Generative fill and describe it; the guide to editing a photo with AI covers prompts that work. If the button is unavailable, the photo already has that shape, or the extended image would be too large for the tool: make it smaller with Resize first. If a run fails, its credits are returned.

Which photos extend well?

  • Simple edges. Sky, water, grass, sand, snow and plain walls continue cleanly. Faces, hands, text and signs cut by the edge are the hardest to continue.
  • Room around the subject. A subject that touches the frame forces the model to invent the rest of it.
  • Even light. Soft, overcast or backlit scenes match more easily than hard sun throwing long shadows toward the edge.
  • A level horizon. A tilted horizon continues tilted; fix it with Crop & rotate's Straighten slider before you extend.

Each run is its own version, so trying another shape or model loses nothing: click any version in the strip to go back to it.

Sources