Remove text from image with AI and put the right text back
Remove text from an image with AI, swap it in place, or cover it and retype in the brand font. A guide for design teams, with a prompt and Hebrew RTL checks.

You can remove text from an image with AI in three ways, and the right one depends on what goes back in its place. Erase it when the space only needs to be clean. Replace it in place with a prompt when it’s a short headline. When the words must be exact, cover the old text and retype it in the real brand font.
A retail chain’s one-person marketing team told me their version of this. Their campaign images arrive from a global vendor as flat PNGs with the English copy baked in. They need the English gone and Hebrew set on top, in the brand’s Hebrew font. Their attempts with AI kept ending in right-to-left errors and rounds of back-and-forth with Claude.
This guide is for designers and in-house marketers who edit their own or licensed brand assets: a vendor campaign kit, a product shot, last season’s banner. Hebrew is my main example, because it’s where these edits break most often.
| Method | Fits when | Tools that do it | Where it breaks |
|---|---|---|---|
| Erase the text | The area only needs to be clean, or new type goes on later | Photoshop Generative Fill, Gemini app (Nano Banana), ChatGPT Images | Busy photos, text over a product or a face, large blocks of copy |
| Replace in place | A short headline or label, about the same length as the old one | Photoshop Generative Fill with a partner model, Gemini app, ChatGPT Images | Small print, punctuation, brand fonts, Hebrew beyond a few words |
| Cover and retype | Legal lines, product names, long copy, brand fonts, most Hebrew | A text layer in Figma, Photoshop, Illustrator or InDesign | Takes a designer’s eye to match size, color and position |
Before you start, ask for the open file
The first thing I ask a team is whether a layered file exists somewhere. In a PSD, TIF, AI, InDesign or Figma file, the text sits on its own layer. With that file you don’t need AI for the text at all. You hide the English layer, add a Hebrew one in the brand font and export.
That was the case on the retail call. The open layered files and the full brand guideline exist. The flat PNGs are what makes the job hard, and the AI work gets far easier once you start from the source.
Ask the vendor, the agency or the brand team for:
- The layered source file for each asset
- The fonts it uses, Latin and Hebrew, with the weights
- The copy as text, separate from the image
- The guideline pages on type, logo placement and safe areas
If none of that exists, pick one of the three methods below.
How do you remove text from an image with AI?
Select the text, let the model fill the area, and check what it invented. Photoshop and the chat apps follow the same steps. They differ in control and in where the result lands.
In Photoshop. Select the lettering with a little margin around it and run Generative Fill. Describe what should be there, like “plain background” or “continue the wall.” Adobe says the result arrives as a Generative Layer in the Layers panel, so you can hide it or try again without touching the original. Generative Fill also runs partner models, which Adobe lists as Google’s Gemini 3 (with Nano Banana Pro) and FLUX.2 pro. Adobe notes that partner models only see what’s inside your selection, so give them a generous one. I mapped where Firefly sits in a studio’s tool stack in a separate guide.
In the Gemini app or ChatGPT. Upload the image and ask in plain words: “Remove the headline ‘SUMMER COLLECTION’ and fill the area so it matches the background. Change nothing else.” Both return a whole new image. That is faster for a one-off, and you have to check every other pixel, because the logo, the product edge and any small print can shift too.
What to expect from the background:
- Flat color, gradients and simple textures usually come out clean. There is little to invent.
- Photos are harder. The model has to guess what was behind the letters: the edge of a bottle, a hand, a shelf. Compare those areas with the original.
- Large blocks of text mean a large invented area. If more than a headline has to go, think about covering it with a shape and retyping instead.
If new copy goes on later, erase a slightly wider area than the old text needed. Hebrew often runs a different length from the English, and you want clean space for it.
Change text in an image with AI: the prompt and where it breaks
Replacing text in place means asking the model to redraw the old words as new ones, in the same style and spot. For a short headline this works well enough to try first. In Photoshop, Adobe’s tip for changing text with FLUX uses FLUX.1 Kontext [pro] in Generative Fill. Select the whole image, open Generative Fill from the Edit menu, pick the model and put the old and new text in quotes. In the Gemini app or ChatGPT, upload the image with this prompt:
In this image, replace the text "SUMMER COLLECTION" with "NEW SEASON".
Keep the same font, weight, color, size and letter spacing.
Keep the same position, alignment and number of lines.
Change nothing else in the image: same product, logo,
background, light, crop and small print.
If the new text needs more space, keep the font size,
leave everything where it is, and tell me.
The quotes give the model the exact string to find and the exact string to write. “Change nothing else” matters most in chat apps, which return a whole new image.
Where it breaks:
- Punctuation. Quotes, periods and dashes move or vanish.
- Small print. Anything below headline size tends to come out as letters that look right and spell nothing.
- Brand fonts. You get a close cousin of the font. On a short sale headline that may pass. On a brand that licenses its own typeface, it won’t.
- Length changes. The new string is longer or shorter, and the model squeezes it or adds space.
- Hebrew. A word or two can work. Past that, I don’t trust it for client work.
Google’s own Gemini image model page says the model “may struggle with grammar, spelling, cultural nuances, or idiomatic phrases,” and asks you to check text in images for accuracy. My rule is simple. AI in-place edits are fine for a short headline. Everything else goes on a text layer.
Cover it and retype it in the real font
This is the slowest method and the only one where the words come out exactly right. Use it for:
- Legal lines and disclaimers
- Product names, model numbers, sizes, dates and prices on packaging
- Anything longer than a headline
- Any brand with its own licensed font
- Hebrew beyond a few words
The steps:
- Clear the area. Erase the old text with the first method. On a flat background, a shape sampled from the background color is often cleaner than any generated fill.
- Place the image as one layer in Figma, Photoshop, Illustrator or InDesign.
- Set the new copy on a text layer in the brand font. Match the original’s size, weight, color and position. Measure them from the old text before you erase it.
- Keep the copy as live text. The next language or size is then a quick text edit.
Mockups follow the same split. AI builds the scene, and you set the brand on top, as in mockups where you place the logo and copy yourself.
Localizing to Hebrew: translate first, then set the type
When one prompt has to translate, typeset and set direction at once, RTL errors pile up, and every fix risks a new one. That matches the back-and-forth the retail team described. I split the job into three passes.
Translate as text first. Paste the English copy into Claude, ChatGPT or Gemini as text. Say where each line sits and how much room it has, like “headline, one line, about the same width as the English.” Ask for two or three options of different lengths. Hebrew runs a different length from the English, so you choose the version that fits before anything touches the image.
Set it as type. Short headline: the in-place prompt can work, with the Hebrew in quotes and “write it right to left” added. Anything else: a text layer in the Hebrew brand font. Figma’s help center says right-to-left and bidirectional text work in Figma Design and FigJam on all plans. Figma detects direction from the language, and you can override it per paragraph.
Check the RTL basics. I keep the full right-to-left checklist for AI type in my typography guide, with font files, text styles and a type rules file. These items break most often in edited images:
- Alignment. Figma’s help center notes that text layers default to left alignment. Check every new Hebrew layer.
- Numbers. Digits run left to right inside a Hebrew line. Check dates, sizes, phone numbers and percentages against the source.
- Mixed Hebrew and English. A product name in English inside a Hebrew sentence can flip the word order around it. Read each line from the right.
- Font fallback. If the brand font has no Hebrew characters, Figma shows a fallback font without any warning. Name an approved Hebrew font.
Edit text in images with AI across a whole campaign
A campaign means the same edit in every size and sometimes in several languages. Do the language work once, on a master.
- Localize the master first. Get one approved Hebrew version with live text, then resize the localized master into every format. After that, each size only needs a type check.
- Run it from a sheet. When the copy changes per product, the pattern from a Claude Skill that filled one Adobe template works for languages as well as products.
- Write the rules down. The retail owner also told me a non-designer colleague made an off-brand banner. A short rules file, or better a skill, gives a colleague or an agent the same starting point: the fonts, RTL, spacing and the rules you always use. Here’s how to write the font and RTL rules as a skill.
A rules file for this job can be short:
Image text edits: [brand]
Fonts
- Latin: [brand font], Hebrew: [Hebrew brand font]
- Missing font: stop and ask
AI may edit in place
- Headlines up to [N] words, same length or shorter
Always a text layer
- Legal lines, product names, numbers, Hebrew past [N] words
Hebrew
- Translate as text first, then set the type
- Right aligned, right to left, numbers checked against source
Never touch
- Logo, product, people
Public brand skills reflect one person’s taste. Yours should come from your guideline and the corrections your team keeps making. If you run an agency, client brand kits are already on my list of the agency jobs worth handing to AI first, and this rules file belongs in each kit.
Check every edited image before it goes out
An AI edit can change pixels you never selected. Run this on every edited file before it ships:
- Put the original and the edit side by side at full size and flip between them. Anything that changed outside the text goes back.
- Logo, product, faces and hands match the original.
- Every word matches the approved copy, letter by letter.
- A fluent Hebrew reader checks direction, final letters, punctuation and word order.
- Numbers, dates, URLs and phone numbers match the source.
- The type is the brand font. A lookalike fails.
- Check at final size, in every format it runs in.
- Keep the original file and the edit layer, so the next change starts from the source.
Frequently asked questions
Can AI remove text from an image?
Yes. Flat backgrounds usually come out clean. On photos the model guesses what was behind the letters, so check those areas. Work on images your team owns or licenses.
Can AI change text in an image and keep the font?
For a short headline, it gets close with the prompt above. It won’t reproduce a licensed brand font exactly. When the font matters, retype the text on a layer.
How do I translate text in an image without losing the design?
Translate the copy as text with a language model first, with notes on where each line sits and how long it can be. Then erase the old text and set the translation on a text layer in the brand font. Use the in-place prompt only for a short headline, and run the RTL checks for Hebrew.
Can AI write Hebrew in an image?
A word or two, sometimes. The Gemini app’s image page says you can add words to an image in many languages, and it doesn’t name Hebrew. What breaks in Hebrew, from final letters to direction, is in the typography guide linked above. For client work, set Hebrew on a text layer.
Which AI can edit text in an image?
Photoshop’s Generative Fill, when you want the edit on a layer. Adobe’s text-change tip uses FLUX.1 Kontext [pro]; check which partner models your picker shows. For quick edits by prompt, use the Gemini app with Nano Banana 2 or 2.1, or ChatGPT Images 2.6. OpenAI says 2.6 keeps characters, products and brand details consistent as you edit. For the rest of the stack, here’s a starter stack for each design job.
Start from the source file, and keep the words on a layer
If you want to know whether your team’s files, fonts and rules are ready for this kind of work, score your team’s AI setup with a short quiz. If you’d rather set it up with someone who has done it, talk through your localization workflow with me.
Ask for the open file before you open an AI tool. Erase with AI when you need clean space, and swap a short headline in place if you like. Everything that has to be exactly right goes back as live text in the brand font, translated first and read line by line by someone who reads the language.