How to Edit Photos with AI: Remove Objects and Change Backgrounds

Published on
Sep 17, 2026 in Learning
YouMind AI photo editing: original photo on the left and actual edited result on the right

Want to remove an unwanted object from a photo or replace a busy background? Upload your photo to an AI photo editor, select the area you want to change, and describe both what should change and what should stay. Then compare the result with the original before saving it.

This guide walks through that process in YouMind using a real coffee photo. The operation screenshots show the English interface and an English version of the editing instruction. The before-and-after comparison comes from the original demonstration, which used the equivalent Japanese instruction; it is not a separate result generated by the English prompt.

What is AI photo editing?

AI photo editing starts with an existing photograph. You use instructions to remove objects, change a background, or adjust the appearance of part of the picture. The original image provides a reference for the subject and composition, but you still need to check whether the details you wanted to preserve remain accurate.

Text-to-image generation starts with a description and creates a new image. Photo editing is useful when you already have a real product photo to work with. Image generation is useful when you want to develop a new visual from scratch.

For example, a plant seller might clean up objects around a pot before using the photo in a shop poster. A café might simplify the background of a coffee photo before adding it to an announcement card. Neither task should change what customers can expect the actual product to look like.

How to edit a photo with AI in four steps

Open YouMind's AI photo editor. The following workflow uses a rectangular selection and a written instruction.

Step 1: Upload a clear photo and keep the original

Choose a photograph where the subject is easy to see. Keep a backup of the original on your device or in your own storage so you can compare versions and start again if needed.

For this demonstration, we used a white cup of coffee on a dark kitchen counter. Plates, glasses, bowls, and utensils make the background busy. Our aim was to replace that background with a quieter café setting while retaining the cup and latte art.

Coffee photo uploaded in the English YouMind interface

The original coffee photograph uploaded in the English YouMind interface.

Step 2: Select the area you want to change

Draw a rectangle around the background or object you want to edit. This is a rectangular selection, rather than a precise cutout that follows every edge. Include enough context around the target to make the requested change clear.

In the coffee example, we selected the upper background containing the dishes. We kept the cup outside that selection. If a subject overlaps the selected area, explicitly state which parts should stay in your prompt.

Selecting the coffee photo background in the English interface

Selecting the upper background of the coffee photo.

A selection guides the edit; it does not guarantee that every pixel outside the box will remain unchanged. Review the whole image afterward.

Step 3: Describe what to change and what to keep

Use a concrete instruction. Name the objects you want removed, describe the replacement, and specify the details that matter. Here is the English instruction entered in the screenshot:

Remove the dishes and kitchen utensils in the selected background and replace them with a calm café background. Keep the white cup, latte art, and foreground table unchanged.

This is an English version of the Japanese instruction used for the original test. The original result is shown below so you can inspect what changed.

Entering an English photo-editing prompt in YouMind

Entering the English instruction for the selected background.

Click Apply edit to continue into the YouMind workspace. Sign in if prompted. Check the selection and instruction in the image editor, then click Apply all to generate the edit. If you reopen the image later, use Edit area to select the region again.

Step 4: Compare the result and save the version you want

Check the generated image against the original. In particular, look at the subject's outline, shape, shadows, surface texture, and any text or logos. Confirm that the product still looks like the item you intend to show customers.

YouMind AI photo editing: original photo on the left and actual edited result on the right

The original is on the left; the actual result from this demonstration is on the right.

The edit removed the dishes and produced a softer café background. It also removed the cutting board and changed parts of the scene outside the selected region. The result illustrates why a preservation instruction is a request, not a guarantee of pixel-perfect protection.

If you are happy with the result, click Done to save it. If important details have changed, try a smaller selection or a more specific instruction, then compare again. Keep the original available throughout the process.

Two photo-editing prompts you can adapt

Remove small objects around a potted plant

Select one unwanted object at a time, leaving the plant itself outside the box where practical. Try:

Remove only the unwanted small objects around the potted plant. Keep the leaf shapes, the pot's color and pattern, the wooden table, and the direction of the natural light. Blend the edited area naturally into the background.

Check for damaged leaf edges, altered patterns on the pot, inconsistent wood grain, or faint remnants of the removed object. This is a suggested prompt, not a separately tested result in this article.

Replace the background around a coffee cup

The tested example above used a Japanese prompt. For your own photo, you can use this English version:

Remove the dishes and kitchen utensils in the selected background and replace them with a calm café background. Keep the white cup, latte art, and foreground table unchanged.

Check the cup's handle and rim, the latte-art pattern, and the contact shadow under the cup. Also inspect areas outside the selection. Your result will depend on the photo, selected region, and generation.

How to reduce unnatural results

If something looks wrong, change one part of the instruction at a time so you can tell what helped.

  • If traces of an object remain, include a little more surrounding context and ask for the area to blend into the background.
  • If the subject changes shape, make the protected details explicit and move the selection away from them where possible.
  • If shadows look inconsistent, describe the direction of the light and ask for a matching shadow.
  • If the result looks soft, reduce the scope of the change and compare it with the original at a useful viewing size.
  • If text or logos distort, exclude them from the selection where possible and inspect them carefully before using the image.

Try different prompts from the same original rather than repeatedly editing a result that has already lost important details. A polished image still needs to represent the real product accurately.

Frequently asked questions about AI photo editing

Can I edit only part of a photo?

You can select an area and focus your instructions on it. However, the result can also change neighboring areas or other details, as the coffee example shows. Check the whole image, not only the selected region.

Can I write the prompt in Japanese?

Yes. The demonstration in this guide used Japanese instructions. Be specific about what to change and what to preserve. If the result misses your intent, break a broad instruction into shorter, more concrete requests.

Does AI photo editing cost money?

Access and usage depend on your plan and current product conditions. See YouMind's pricing plans for the latest details.

Should I keep the original photo?

Yes. Keep your own backup so you can compare the edited result with the source or try again from the same photograph.

Start with one product photo

Choose a photo, select the area you want to change, describe the edit, and inspect the result. Start with a small, concrete task rather than trying to redesign the whole scene at once.

Try the workflow with YouMind's AI photo editor. Once you have a still image you are happy with, you can explore turning a photo into a video for a moving announcement or social post.

Have questions about this article?

Ask AI for Free