Back to all promptsPhoto editing
PROMPT LIBRARY

Extend a Photo to a New Aspect Ratio

Expand the canvas around an existing photo by continuing the scene at its edges while keeping subject proportions intact and avoiding distortion.

What this prompt is good for

Use this prompt to adapt an existing photograph for a website banner, a tall social placement, or a layout that needs headline space. It adds canvas around the image instead of stretching the subject. Choose the target ratio and expandable edges together, then specify which new area should remain visually quiet.

Example image

The prompt

Nano Banana1 reference image needed
Expand the uploaded photograph to [TARGET_RATIO] by adding image area on [EXTEND_EDGES]. Use the existing photograph as the central visual reference. Retain the subject's appearance, scale and pose; do not stretch the image to fit the new canvas. Continue the surrounding environment with matching perspective, light direction, grain and depth of field. Extend interrupted lines and surfaces smoothly across the old boundaries. Keep newly invented background details quiet so they do not compete with the original subject. Leave [TEXT_SPACE] relatively uncluttered if room for a future headline is needed. Return a seamless photograph in the requested shape, without borders, labels or a before-and-after layout.
Try this prompt in Gemini

Copy the prompt first, then upload the required reference image and paste the prompt into Gemini to start an image-editing chat. This link opens Gemini; it does not prefill or generate an image.

Details

Added to collection
Last updated

Prompt breakdown

See what each instruction controls, then adjust the parts that matter to your image.

Canvas specification
to [TARGET_RATIO] by adding image area on [EXTEND_EDGES]

Links the requested image shape with the edges where new content may be added.

Unstretched subject
Retain the subject's appearance, scale and pose; do not stretch the image to fit the new canvas.

Separates canvas expansion from resizing or reshaping the original subject.

Scene continuity
matching perspective, light direction, grain and depth of field

Lists the visual properties that the extended scene should share with the original.

Boundary transition
Extend interrupted lines and surfaces smoothly across the old boundaries.

Focuses attention on architectural lines and surfaces that cross the original image edge.

Headline space
Leave [TEXT_SPACE] relatively uncluttered

Reserves a chosen part of the expanded image for later typography.

GET STARTED

How to use this prompt

Upload the uncropped image. Specify the target ratio and which edges may be extended.

  1. 01

    Replace the bracketed fields with the details for your case.

  2. 02

    Upload the uncropped image. Specify the target ratio and which edges may be extended.

  3. 03

    Paste the complete prompt into your image tool, then review the result against your goal.

New to Nano Banana? Read the guide
MAKE IT YOURS

Adaptation examples

Website banner
Set [TARGET_RATIO] to “16:9”, [EXTEND_EDGES] to “left and right”, and [TEXT_SPACE] to “the right third”. Keep the subject's scale and preserve the original light direction.
Tall social placement
Set [TARGET_RATIO] to “9:16”, [EXTEND_EDGES] to “top and bottom”, and [TEXT_SPACE] to “the upper quarter”. Continue existing lines without stretching the subject.
Portrait print
Set [TARGET_RATIO] to “4:5”, [EXTEND_EDGES] to “top and bottom as needed”, and [TEXT_SPACE] to “the top margin”. Retain the seamless photographic finish and omit borders.

Tips for better results

  • State which edges should expand and where the subject should remain. Compare the original area with the result before using the extended frame.