Edit a photo with Gemini and Nano Banana

Use Gemini’s image editor to change a background, the lighting or a specific detail in a photo.

ToolGemini
Format
3 minEnglish
Updated 3 min

What you will create

Replace a cluttered background with a simpler setting while keeping the subject of your photo. Use this method to prepare an illustration that fits a page or social post, not as a guarantee of perfectly reproducing a person or product.

Before you start

Choose a sharp photo and keep an original copy. Use an image you have permission to edit. Check that image editing is available for your Gemini account: access depends on factors including account conditions and country. Avoid photos showing private documents or people who have not agreed to this use.

Step-by-step

  1. Upload your image to Gemini. Begin with one photo and one change rather than a complex composition using several references.
  2. Describe the area to change. Write “replace the background with a pale wall” instead of “improve this photo”. Specify what should remain: the subject, clothing, position and framing.
  3. Compare the output with the original side by side. Check the subject first, then edges and shadows. An attractive background does not compensate for an altered face, label or shape.
  4. Refine one thing. If lighting looks artificial, request more consistent light without changing the setting or subject. If too much has changed, return to the original and request a narrower edit.
  5. Download and check the final crop. Also inspect the result at a small size. Keep the original and selected edit in separate files.

Example to adapt

Using this photo, replace only the background with a discreet pale beige wall. Keep the subject, position, clothing and framing. Preserve consistent natural lighting and a realistic shadow. Do not add text or objects. Do not intentionally alter the face or the subject's features.

This instruction describes the desired result; it does not guarantee that every detail will be preserved. For a product photo, also compare proportions and the actual colour before commercial use.

Check your result

  • Has the subject changed beyond your request?
  • Do edges, hair and transparent areas look natural?
  • Are lighting and shadows consistent with the same scene?
  • Is the downloaded file sharp enough at the intended size?

Common problems

The subject changes: return to the original and simplify the edit. A halo surrounds the subject: request an edge correction without changing anything else. The background dominates: specify that it should remain unobtrusive. The feature is unavailable: check your account's capabilities rather than repeatedly retrying or changing personal details to bypass a restriction.

Next steps

Explore the Gemini profile or try another approach with Create images with ChatGPT.