Have a product photo that needs an offer on it, or an old flat graphic with last month's discount? See which text you can simply retype and which has to be removed first.
If you want to add text to a photo and change it later, pick an editor that puts each line on its own text layer inside a saved project, such as CapCut AI design in your browser. If the words are already part of a flattened JPEG or PNG, you usually need a different route: remove or cover the old letters, then add new text as a layer.
To show both routes, we'll work with one image the whole way through: a sample image of a speckled handmade mug that needs a sale line, "Handmade mugs, 20% off". Next month the discount changes, and someone also sends over an old version of the same graphic as a flat JPEG.
Three kinds of text on a photo, and which route fits
Where the words live decides how much work every later change takes.
Where the words liveRouteChoose it whenWhyA text layer in a saved projectSelect the layer and retypeYou are adding new wording, or you still have the project fileThe letters stay separate from the photo, so font, color, alignment, and spacing remain adjustablePixels in a flattened JPEG or PNGRemove the old text, repair the background, add a new layerYou only have the exported fileThe letters are part of the image, so they can't be retyped like a text boxLettering generated inside an AI imageGenerate without words, then add text as a layerSpelling has to be exactGenerated words are not the same as editable text; a text layer gives a different level of control over wording and typography
Our mug sale line belongs in the first row. The old flat JPEG belongs in the second, and we'll come back to it later.
Add the sale line as its own text layer
- 1
- Open your photo on a CapCut AI design canvas. 2
- Click Text in the bottom toolbar, then click on the photo where the line should start. 3
- Type your wording. We typed "Handmade mugs, 20% off".
CapCut adds it as a separate text layer above the image, and the Layers panel names it after the wording you type.
Put a second line, such as a date, on another layer rather than in the same box, so a change to one detail leaves the rest alone.
Set font, size, color, and spacing
Once the layer is selected, a floating toolbar appears above it with Design with AI, a font dropdown, font size, Text color, Alignment, More, a duplicate button, and Download. As of November 2026, a new layer on our mug image started in the Default font at size 12, with Bold on and a black fill (#000000); on a poster canvas, the toolbar showed size 40. These defaults can change, and a size-12 line can look fine zoomed in yet read small on the finished image.
For finer control, click More. It opens a text panel that starts with Layout and Alignment rows, followed by these groups:
- Position, Size, Rotate: X and Y coordinates, an editable width (height is greyed out), and rotation.
- Typography: font, size, Bold, Italic, Underline, Uppercase, Line spacing, Letter spacing, and left, center, or right alignment for the text inside the box.
- Style: Opacity, Presets, Fill, Stroke, Shadow, Background, Glow, and Curve.
For exact brand colors, open Text color and choose the custom color option to reach the Color picker, which has Solid and Gradient options, a color wheel, an eyedropper, a Hex input box, and an opacity setting.
When we set a text layer to a brand teal (#1f6f6b) on a poster, it almost disappeared over a teal color block, so check what sits behind each word before you settle on a color. On a darker or busier area, the Stroke, Shadow, or Background settings in the same panel may help separate the letters from the image.
Line it up: the layout aids on the canvas
CapCut AI design gives you a few ways to place text precisely:
- Position X/Y in the More panel lets you type exact coordinates, which helps when a series of graphics needs the sale line in the same spot every time.
- Dot grid is on by default in the zoom menu (View options).
- Rulers, in the same menu, adds pixel rulers along the top and left edges of the editor.
- The Alignment row, just under Layout near the top of the More panel, lines an element up with the canvas or other elements. With only the sale line selected, it is greyed out.
Rulers and coordinates tell you where the text sits, not how it reads. Judge centering and margins at the size the image will actually be shown, not in the zoomed editor view, and confirm no layer has drifted partly outside the canvas, where it would be cropped. Keep faces and key product details clear, and put the sale line over open background rather than across the mug itself.
Give the lines a clear order: keep the offer largest with Bold on, and set the date smaller with Bold off, so "20% off" reads first. Give both lines the same alignment.
Change the wording next month
When the discount changes, the route depends on which file you have.
If you still have the project, select the sale line's text layer and retype the number with the text controls.
If you only have the flat JPEG, the old sale line is now pixels, so you remove it first. The remover rebuilds the background where the words were.
- 1
- In the AI text remover, click Create new, set the canvas size, and upload the image. 2
- Go to AI tools > Remove, brush over the old sale line, and click Generate. 3
- Look over the repaired area for broken patterns or unnatural texture before you add anything. 4
- Add the new wording as a text layer. To match the old lettering, compare letter shape, weight, size, line spacing, alignment, and color rather than hunting for a font name. An exact match to every source font is not guaranteed.
Export the image and keep the editable copy
- Read names, dates, prices, and line breaks one by one at the final viewing size. In a reused sale graphic, check that the discount matches the current offer.
- Use Download to save the finished image.
- Keep the project as well as the exported file. CapCut cloud storage lets you reach saved photo projects across web and mobile.
- Keep a copy of the mug image with no lettering, so a future redesign doesn't have to start with text removal.
Put your own sale line on a photo
Upload a product shot to CapCut's add text to image tool, and set your offer as its own text layer.
FAQ
Can I start the text on my phone and finish it in a browser?
CapCut is available in browsers and on Mac, Windows, Android, and iPhone, and cloud storage gives you access to saved photo projects across web and mobile. Save the project, not just the exported image, because a flattened image combines the text with the photo.
How do I put the text behind the product instead of on top of it?
CapCut desktop handles this with layers: duplicate the photo into two layers, remove the background of the top one with Auto removal, Custom removal, or Chroma key, and place the text layer between them. Then use Export still frames to save a JPEG or PNG at an available resolution. The full steps are on the text behind image page.