Skip to content

Expand an image with AI fill (on your device)

Make a photo wider or taller and let a model paint the new edges to continue the scene. How to do it, why small steps work better than one big one, what it is good and bad at, and how to fix the seams.

Beginner2 min readUpdated 27 September 2026Editor · Expand with AI fill

Good and bad at

Works wellWorks poorly
Sky, walls, water, grass, sand, plain studio backgroundsFaces, hands, text and logos cut by the edge
Adding 10 to 30 per cent on a sideDoubling the canvas in one go
Turning a portrait photo into a square or 4:5Inventing a whole new part of a scene

Steps

  1. Crop first so nothing important touches the edge you are expanding.
  2. Image, Expand with AI fill…. Type the new width and height, or tick Relative and add pixels. Click the anchor square for the side the photo stays on.
  3. Apply. The Editor says the new area was filled on its own layer at the bottom.
  4. Look at the seam at 100 per cent (Ctrl+1). Soften it with the Clone stamp (S) or Spot heal (J) on the AI fill layer.
  5. For a bigger expansion, repeat in steps of about 25 per cent rather than once.

The model works on 512 × 512 areas, which is why modest expansions look best and large ones on big photos can come back softer than the original pixels.

Is my photo uploaded?

No. The model downloads to your browser once and runs there. The request for the model carries nothing about your image.

Why is the new area blurrier than the photo?

The model paints at a lower resolution and the result is scaled up. Expand in smaller steps, or add a little Film Grain to match the texture.

Open the Editor

Was this guide useful?