# How to replace a photograph’s background in Nano Banana through Yes AI

Canonical: https://instadot.ru/en/how-to-replace-a-photographs-background-in-nano-banana-through-yes-ai/
Language: en

![A white ceramic mug in a bright kitchen beside the original product photo](https://instadot.ru/assets/images/nano-banana-background-cover-81b80bc7.webp)

Contents of article

The mug photograph is sharp, but the background contains a socket, the edge of a bag and somebody else’s cup. Retaking everything for one post feels excessive. Try replacing the background in Nano Banana through Yes AI: move the object into different surroundings, then check whether AI has changed the object itself.

Take a white ceramic mug without a logo and place it in a bright kitchen. Below are a sample prompt and a sequence for checking the result. The key requirement is that the object remains recognisable: a beautiful scene cannot make up for a reshaped handle or missing rim.

## What you need to replace the background

On [Nano Banana's page in Yes AI](https://yesai.su/ru/nanobanana) you can work with images using text and reference images. In [the service’s official reference guide](https://yesai.su/llms-full.txt) photo-detail editing is described in terms of what to change and what to preserve. Check mode names, attachment counts and resolution in the current interface.

An account will be required to send the task. Before starting, look at the selected parameters and [the cost of the operation](https://yesai.su/prices): do not assume image generation is free simply because text chat is. If you are opening the platform for the first time, start with [a brief Yes AI overview](https://instadot.ru/en/yes-ai-service-access-to-neural-networks-in-one-place/).

## Choose a source image that clearly shows the object

For a first attempt, choose a photograph with a simple background, even lighting and a clear silhouette. The handle must not blend into surrounding objects, and the mug’s rim must not be cropped out. Save the original separately so you can check the result against it.

A blurred area is difficult to reconstruct faithfully.

If the mug has a design or lettering, decide beforehand how faithfully it must survive. For an actual product listing, even a small invented detail may matter. Our example has no decoration, making it easier to focus on the shape, white glaze and lighting. A broader visual-production workflow is covered in the article [about content for Instagram via neural networks](https://instadot.ru/en/how-to-create-content-for-instagram-through-neural-networks/).

![Two reference cards: a white mug on a neutral background and a bright kitchen without an object](https://instadot.ru/assets/images/nano-banana-reference-3c89d454.webp)

The mug card sets the appearance of the object, and the kitchen card is only the desired environment. Editorial illustration.

## Describe the background and limitations in one request

Start with one source image and one clear scene. Sign in to Yes AI, open Nano Banana, attach the photograph using a supported method and check the available settings. Use an additional kitchen image only if multiple references are supported; a description is enough for the first prompt.

In the prompt, separate the environment and the object. Instead of “make it beautiful and expensive” name the surface, light source and unwanted changes:

>

Replace the surroundings in the photograph: put this white ceramic mug on a light wooden worktop in a calm, modern kitchen. Soft daylight comes from the left, and the distant background is slightly blurred. Preserve the mug’s original angle, silhouette, proportions, handle shape, rim thickness and white glaze. The whole object must fit in the frame. Do not add patterns, lettering, steam, food or other objects nearby. Give the mug a natural contact shadow consistent with the light direction.

This prompt sets criteria but does not lock the object’s pixels. After generation, you still need to compare the mug with the source.

Simplify the scene if the first attempt turned out to be too much: leave the countertop and a calm wall, remove shelves and dishes from the description. It's easier to see what happened to the main object. The second task - for example, to add a towel to the background - it makes sense to discuss after checking the mug itself.

## Check the mug before the interior

Open the source and result side by side at comparable sizes. Inspect the outline first: has the mug widened, has its angle changed, and are the handle’s attachment points intact? Then move to smaller details.

- **Handle and edge.** Look for excess bends, breaks, thickenings and an uneven inner contour.

- **Surface.** Check if there are any spots, patterns, letters or textures that were not in the photo.

- **Shadow and support.** The mug should appear to rest on the table. Check that the shadow direction and highlights match the light source.

- **Boundary with the background.** Look for a light halo, a blurred edge or a piece of the original background inside the handle.

![A white mug with close-ups of its handle, rim, base and natural shadow](https://instadot.ru/assets/images/nano-banana-check-211eed80.webp)

Compare the handle, rim and base with the original, then check the shadow and object boundary. Editorial illustration.

If you like the background but the handle has changed, the work is not finished. For commercial photography, resemblance to the real object matters more than an impressive kitchen.

After enlarging, view the image on a phone at its intended publication size. Small defects may disappear, while the overall composition becomes clearer: is there enough space, does the background compete with the object, and is the white handle visible against a pale wall? If text will overlay the photograph, leave an area without fine detail.

## Correct a specific deviation

Do not change the interior, angle and mug shape at the same time. First name the error you found. If the selected mode supports continued editing with the required images, you can phrase the prompt like this:

>

The handle has changed: it is now wider than in the original photograph. Restore its original shape and attachment points. Keep the bright kitchen and the composition. Also check the mug’s upper rim; do not add decoration.

If continuation is unavailable, return to the source image and refine the original prompt. After correcting it, inspect the whole object again: fixing one defect does not rule out introducing another.

## When manual compositing is preferable

Manual replacement of the background is preferable when the exact outlines, fine engraving, logo or measurable features of the product should be preserved. Selection of the original subject and work with the background in the graphic editor allow you to control which parts of it change. Complex transparent edges will require separate processing.

A post illustration can take more creative liberties. Even so, do not present altered product properties as real. You can prepare the caption using [the guide to social media text with ChatGPT](https://instadot.ru/en/how-to-create-social-media-texts-for-free-with-chatgpt/); before publishing, check whether the description matches what is actually shown in the photo.

[Back to articles](https://instadot.ru/en/blogpage/)

## Keep reading

[All content ](https://instadot.ru/en/blogpage/)

[

![A magnifying glass over a green leaf in a blue vase: an image-enlargement diagram](https://instadot.ru/assets/images/yesai-upscaler-cover-8820fb6f.webp)

](https://instadot.ru/en/how-to-enlarge-an-image-in-image-upscaler-via-yes-ai-and-check-details/)

Articles

### [How to enlarge an image in Image Upscaler via Yes AI and check details](https://instadot.ru/en/how-to-enlarge-an-image-in-image-upscaler-via-yes-ai-and-check-details/)

A small illustration before cropping: when upscaling helps, how to compare edges and texture, and why sharpness does not prove accuracy…

[Read article: How to enlarge an image with Image Upscaler in Yes AI and check details](https://instadot.ru/en/how-to-enlarge-an-image-in-image-upscaler-via-yes-ai-and-check-details/)

[

![A central hub connects a speech bubble, image and film strip.](https://instadot.ru/assets/images/yes-ai-guide-42b275b5.webp)

](https://instadot.ru/en/yes-ai-service-access-to-neural-networks-in-one-place/)

Articles

### [Yes AI service: access to neural networks in one place](https://instadot.ru/en/yes-ai-service-access-to-neural-networks-in-one-place/)

How Yes AI access works, what tasks it handles and where to check features and costs.

[Read article: Yes AI service: access to neural networks in one place](https://instadot.ru/en/yes-ai-service-access-to-neural-networks-in-one-place/)

[

![A smartphone showing a bicycle, headphones and a schematic sound wave: an accessible photo-description illustration](https://instadot.ru/assets/images/instagram-alt-cover-0e62a409.webp)

](https://instadot.ru/en/instagram-alt-text-describing-a-photo-for-a-screen-reader/)

Articles

### [Instagram alt text: describing a photo for a screen reader](https://instadot.ru/en/instagram-alt-text-describing-a-photo-for-a-screen-reader/)

A red-bicycle photograph explained: what belongs in alt text, which details to remove and where to save descriptions for new or existing…

[Read article: Alternative text on Instagram: how to describe a photo for a screen reader](https://instadot.ru/en/instagram-alt-text-describing-a-photo-for-a-screen-reader/)
