Skip to content

Mask a mug for an AI background edit without losing the handle

Mark the editable background and protected product, then correct a leftover hole colour and a missing emblem from an illustrated reference.

22 min readAs of Nov 2026

Lesson guide · goals & preparation
BeginnerDesigners

By the end of this lesson

  • Read the mask legend and separate solid material from an opening.
  • Compare identity marks against a reference.
A cream mug with a navy rim and orange emblem
Illustration: A cream mug with a navy rim and orange emblem · AI Ping

Who this is for

  • Designers editing backgrounds while preserving product identity.

What you need

  • Start by comparing two drawings side by side.

1 / 4

Theory

Understand what to ask AI to do, how to ask, and the ideas behind the workflow.

  1. A new background, a different mug?

    A cream mug sits against blue. After the change to apricot, a small blue island remains inside the handle and the orange emblem has disappeared. One mistake missed part of the background. The other altered the product. Our illustrated reference makes both easy to inspect.

    Give the two faults different names before you report them. Call a half-changed spot a 'leftover background' and a vanished feature a 'missing mark.' Then check them by hand: place the original and the edit at the same size, point at one spot, and decide only whether the background stayed or the mug itself changed. Sorting the two kinds lets you attach the right instruction to each.

  2. Map the edit boundary before choosing a colour

    A mask describes where the edit may happen. In this teaching diagram white means editable and black means protected. Check the preview in your own editor because selection conventions vary. Trace both sides of the handle. The hole is background even though the mug surrounds it.

    The mug, its editable background including the handle opening, and a recoloured result

    Illustration: The mug, its editable background including the handle opening, and a recoloured result · AI Ping

    1. Find the navy rim, orange dot and handle in the blue reference.
    2. In this mask the exterior and opening are white for editing; the cup and contact shadow are protected in black.
    3. Check the apricot inside and outside the handle, plus the single original emblem.
    Read every step as text
    1. In the comparison draft the background is apricot, but blue remains inside the handle and the orange dot is gone. One error missed an area to edit; the other altered a feature to keep.
    2. E1 names the background outside the mug as the first area to change. It is marked white in the mask.
    3. The same blue shows through the handle opening. It lies inside the mug’s outline yet it is background, so it is marked white separately and no blue stays.
    4. The ring around that opening is mug material. Trace the inner edge as well, and keep the ring black so its thickness is protected.
    5. The cream body and navy rim are the mug described in M1-a, and E2 says to keep its outline. They go in the protected area.
    6. There is one orange dot on the front. It is protected at its original position and count, not redrawn as a similar decoration.
    7. E2 also preserves the contact shadow at the base. It is kept black so its shape and contact point stay put.
    8. Inspect the edit at four places: rim and body colours, one dot in its original spot, an apricot opening inside an intact ring, and the base shadow.

    Here is a hand check for finding every boundary. Point at an empty space and ask whether a wall or table shows through it. If it does, that space is background, not mug material, so it belongs in the edit. The handle opening is exactly such a place. Trace it twice, once along the outer edge and once along the inner edge, then confirm in the preview that the opening falls on the changeable side.

    M1 illustrated reference and change brief
    IDSource or instruction
    M1-aCream body, navy rim, one orange dot on the front, handle on the right
    M1-bMuted blue background, also visible through the handle opening
    E1Change the background outside the mug and inside the opening to pale apricot
    E2Keep the outline, angle, mark position and shape of the contact shadow

    Download the blue reference (SVG)

2 / 4

Step by step

Learn what to prepare, how to request help and how to revise the result through examples and explanations.

  1. Write the background request with preservation rules

    State the requested colour and the identifying features to preserve. Give the tool the source illustration and the edit mask when image input is supported. With a text-only assistant request an editing brief that a designer can carry out; it cannot apply a pixel mask to an unseen file.

    Add one line before you send the request: ask the assistant to restate what it will change and what it will keep. If it answers 'only the background to apricot; outline, orange dot and shadow unchanged,' the scope matches. If it answers 'make the mug look more premium,' the scope has drifted. Write the brief as two lists, change and keep, and tag each line with its source ID such as M1-a or E2 so the reasoning stays traceable.

    Example prompt
    Using M1 and E1–E2, write an image-editing brief with editable areas, protected areas and inspection points. Name the handle material and its opening separately.
    
    M1 illustrated reference and change brief
    ID | Source or instruction
    M1-a | Cream body, navy rim, one orange dot on the front, handle on the right
    M1-b | Muted blue background, also visible through the handle opening
    E1 | Change the background outside the mug and inside the opening to pale apricot
    E2 | Keep the outline, angle, mark position and shape of the contact shadow
  2. Repair the handle opening and emblem separately

    The left comparison drawing deliberately leaves the original blue in the opening and drops the orange dot. Identify those two local faults. Restoring an emblem means matching its original position, shape and count, not adding a similar decoration somewhere on the cup.

    Fixing both faults in one request makes it hard to tell what caused a bad result. Ask first to match only the blue inside the opening to the outside, check that, then request the emblem restoration separately. Changing one thing at a time lets you read the outcome as 'the opening is fixed but the dot is not,' so you know which instruction worked. Point to places by nearby objects, like 'inside the ring,' instead of coordinates.

    Example prompt
    Match only the blue inside the handle opening to the apricot outside. Preserve the handle and existing outer background. Restore the single orange dot at its original M1 position.
    Worked example & explanation

    The two identified faults define the scope. Preserve the correct rim and contact shadow.

  3. Inspect the edited product against the reference

    Follow the corrected drawing clockwise from the rim around the handle, through its opening, across the contact shadow and back to the dot. Record what each check establishes. “The opening matches the outside while the handle retains its thickness” gives the next designer something reproducible.

    Faulty preview with a blue handle hole and missing emblem beside the corrected mug
    Illustration: Faulty preview with a blue handle hole and missing emblem beside the corrected mug · AI Ping

    Besides scanning with your eyes, match by number so no feature slips past. Count the orange dots in the reference, write 'one,' then count the same place in the edit and set the two figures side by side. If the numbers differ, something was added or dropped. For things you cannot count, like colour or shape, mark 'present, absent, same position.' Recording the count and the position lets another person recount against the same standard.

    Four specific checkpoints for the handoff
    LocationExpected appearanceSource
    Rim and bodyNavy outline and cream fillM1-a
    FrontOne orange dot at its original positionM1-a, E2
    HandleIntact rim, apricot opening matching the outsideM1-b, E1
    BaseShadow has the same footprint and contact pointE2

    Download the white-editable mask (SVG)

3 / 4

Self-check

Think about what you would ask AI, then read the explanation. Written submissions and external AI use are optional.

This is a learning check, not a test you must pass. Use the explanations to understand the ideas.

  1. Q1What regions belong in the scissors edit?

    Write your thoughts (optional)

    Your writing is not sent anywhere. It disappears when you leave or reload this page, so copy anything you want to keep.

    Read the answer and explanation

    Select the outside and both openings for lilac. Protect the green loop material and silver blades.

    This is your own review, not an automatic score.

  2. Q2What request fixes a single yellow opening?

    Write your thoughts (optional)

    Your writing is not sent anywhere. It disappears when you leave or reload this page, so copy anything you want to keep.

    Read the answer and explanation

    Match the yellow inside the large loop to the outer lilac. Preserve the corrected small opening and green rims.

    This is your own review, not an automatic score.

  3. Q3Two hinge dots look plausible. Approve?

    Write your thoughts (optional)

    Your writing is not sent anywhere. It disappears when you leave or reload this page, so copy anything you want to keep.

    Read the answer and explanation

    The reference has one dot. Remove the extra mark and verify the surviving dot’s position.

    This is your own review, not an automatic score.

Common mistakes

  • An opening inside the outline may be protected by mistake.
  • A missing mark can change product identity.

Your learning record

Completion is optional. Mark this lesson when you feel ready, or move to the next lesson without marking it.

Completion is saved in this browser.

4 / 4

Apply to your work

Consider how new material changes the workflow and checking criteria. Trying an external AI tool is optional.

  1. Try a product with two openings

    The scissors have two disconnected openings. Write a new request, describe a path around each loop, and count the hinge marks. Underline the reference features that fit this product before borrowing any language from the mug example.

    Before you start, place the S1 record and the faulty draft at the same size. Label the two loops, then trace the outer and inner edge of each, marking which parts are new background and which are green or metal. Count the hinge dots in S1 and in the draft, and write both numbers down. Do not jump to an answer; first build separate lists of what to change, keep, and count, linking each to its source.

    S1, a separate pair of left-handed scissors
    RecordCondition
    S1Two green finger loops, silver blades, one white dot on the hinge
    Background changeYellow to lilac, including both loop openings
    Faulty draftLarge opening still yellow, two hinge dots
Write a note (optional)

Use this only if you want to record a prompt or your understanding. This is a notebook, not a connected AI assistant.

Your writing is not sent anywhere. It disappears when you leave or reload this page, so copy anything you want to keep.

Contents

This reading lesson explains how to use external AI tools. Read from theory to the workflow, examples and explanations, or use the contents to jump to a section. Skipping does not mark a lesson complete.

References