Black Friday sale· 50% off first month
Cover for the guide on changing the background or clothes in a photo
Prompting

Official BytePlus partnerBytePlus, a ByteDance company

How to change the background or clothes in a photo with AI

Change the background or the clothes in a photo by describing the edit. Why the AI sometimes changes the face, and how to keep it the same with the Paint an area brush.

KreatorFlow4 min read

Short answer

Open the AI image editor, add your photo and describe only the change, for example: change the background to a beach at sunset. To keep the face the same, paint over just the area you want to change with the Paint an area brush, and add: keep the face, hair and pose exactly as in the photo. Change one thing at a time. The editor shows the credits before you edit.

Updated:

Edit a photo without changing the face, in five steps

  1. 1

    Add a sharp photo

    Open the AI image editor and add your photo. A sharp photo with the face in clear light gives the editor the most to hold on to.

  2. 2

    Paint the area to change

    Press Paint an area and paint over the background, or over the shirt, jacket or dress. Painting tells the editor where the change goes, so the rest of the picture is left alone.

  3. 3

    Describe only the change

    Write what the painted area should become: a beach at sunset, a plain studio wall, a navy blazer, a red dress. Do not describe the whole picture again.

  4. 4

    Add a keep line

    End with: keep the face, hair, skin tone and pose exactly the same. This is the line that protects the face.

  5. 5

    Check the face, then change one more thing

    Compare the face with your original. If it moved, run the edit again with a smaller painted area. Do the next change as a new edit, one thing per edit.

Edit prompts that leave the face alone

Paint the area first, then paste one.

  • New background

    Change the background to a quiet beach at sunset. Keep the person, the face, the hair and the pose exactly the same. Match the light on the person to the new background.

  • New clothes

    Change the shirt to a navy blazer over a white t-shirt. Keep the face, the hair, the skin tone and the pose exactly the same.

  • Plain studio

    Replace the background with a plain light grey studio wall. Keep everything on the person exactly the same.

Why the AI changes the face

An image editor does not cut and paste. It redraws the picture from your photo and your words, so anything in the prompt, or anything not protected, can be redrawn a little. A broad prompt such as make it look better gives it licence to change the face.

The fix is to narrow the job: paint only the area you want to change, describe only that change, and say what to keep.

  • Paint only the area that changes
  • Describe one change per edit
  • Add a line that names the face, the hair and the pose
  • Start from a sharp, well lit photo

Tips for a clean result

A new background looks right when the light matches, so say what the light is. For clothes, name the garment, the colour and how it is worn. If a face still shifts, run the edit again, because each run gives a new result.

Only use photos of people who agree to it, and photos you took or have the right to use. The model may refuse some photos of real people.

Editing a photo of a real person can show an upgrade prompt, and the editor tells you when it does.

What it costs

The editor shows the credits for an edit before you press the button, and if a job fails, the credits come back automatically. Leftover plan credits carry into the next paid month.

Frequently asked questions

How do I change the background of a photo with AI?

Open the AI image editor, add your photo and describe only the change, for example: change the background to a beach at sunset. To keep the face the same, paint over just the area you want to change with the Paint an area brush, and add: keep the face, hair and pose exactly as in the photo. Change one thing at a time. The editor shows the credits before you edit.

Can I change someone's clothes in a photo?

Yes. Paint over the clothes, then describe the new ones, for example: change the shirt to a navy blazer. Add a line to keep the face and pose the same.

Why does the AI change the face in my photo?

The editor redraws the picture, so anything that is not protected can shift. Paint only the area to change, describe only that change and add: keep the face, hair and pose exactly the same.

What does Paint an area do?

It marks the part of the photo where the change goes, so the rest of the picture is left alone. You can pick the brush size and undo a stroke.

Can I make two changes at once?

It works better as two edits. Change the background first, then the clothes, and check the face after each one.

How much does an edit cost?

The editor shows the credits before you edit. If a job fails, the credits come back automatically.

Edit your photo

Add a photo, paint the area and see the credits first. Only use photos of people who agree to it, and photos you took or have the right to use. The model may refuse some photos of real people.

More guides