AI Image Editor for Fixing and Changing Photos
Paint over what should change, or say what you want in plain words, and the editor repaints that part to match the rest of the picture.


What the AI Image Editor Can Change
Edits inside the picture, on a photo you upload or an image you generated. The parts you leave alone stay as they were.
Take Something Out
Paint over an object and the editor fills the space with what belongs behind it.
Swap One Thing for Another
Mask an area and describe what should be there instead.
Extend Past the Edges
Add new surroundings so a square image fits a wide or vertical frame.
Change the Light and the Colour
Relight a subject and remove a colour cast after the photo was taken.
AI Image Editor: Inputs and Outputs
You Provide
- A photo or generated image, as large and uncompressed as you have
- A painted mask over the area that should change
- A short description of what the result should show
- For expansion, the ratio you want to reach
You Get
- The same image with the marked area repainted
- Wider or taller versions of one picture
- A relit or colour-corrected version
- PNG or JPEG files, with earlier versions kept in history
Edit Instructions to Adapt
Clear a Cluttered Table
Mask the object and its shadow with a narrow margin. Instruction: bare oak tabletop, grain running left to right, same soft window light from the left, no objects.
Square to Widescreen
Expand left and right in two stages. Instruction: the plain plaster wall continues on both sides, slightly darker towards the edges, no furniture, no people, no extra objects.
Warm Up a Flat Portrait
Relight the subject: soft warm light from the upper left, gentle shadow on the right side of the face, keep her features and the background exactly as they are. Then remove the green cast so the white shirt reads as neutral white.

Who Uses an AI Photo Editor
Social Media Managers
Refit one photo to square, portrait and vertical posts without cropping the subject.
Shop Owners
Remove clutter and correct colour so products look as they do in daylight.
Photographers
Clean distractions from a frame that is otherwise the best of the shoot.
Designers
Add clear space to a picture so a headline has somewhere to sit.
How to Edit a Photo with a Prompt
Step 1
Upload and List the Fixes
Open the image and decide which parts must stay untouched.
Step 2
Mask the Area
Cover the object, its shadow and a narrow margin around both.
Step 3
Describe the Result
Say what should be visible there, including the light and the material.
Step 4
Check the Join and Export
Compare with the original at full size, then download.
Templates for the AI Image Editor
All Image TemplatesImage Editor Questions
Can I Edit an Image by Typing What I Want Changed?
Yes. Describe the change in plain words, or paint over an area and describe what should appear there. Anything you did not ask to change is kept.
Will Editing One Area Alter the Rest of My Photo?
No. Only the masked area is repainted. Keep the mask small and compare with the original afterwards to be sure.
Why Did the Removed Object Leave a Blurry Patch?
The mask was probably too large for the detail around it. Paint a tighter mask and describe the surface that should remain, such as brick, tile or wood grain.
Can the Editor Change a Square Photo Into a Wide Banner?
Yes. Expanding the frame paints new surroundings beyond the edges. It works best where the edges are simple, such as wall, sky or a tabletop.
Can I Fix the Lighting on a Photo I Already Took?
Yes. Relighting changes the direction and warmth of light on a subject, and colour correction removes a cast. Moderate changes look most natural.
How to Edit Images with AI: Masks, Instructions and Checks
What an AI Image Editor Changes and What It Leaves Alone
Most pictures need a change to one part while the rest stays exactly as it is. That is the job of an AI image editor. You mark the area that should change, or describe the change in words, and the model repaints that region so it matches its surroundings. A crisp packet vanishes from a beach. A cloudy sky becomes a clear one. A square photo gains enough new background to fill a wide banner.
The editing tools in GEN24 LABS sit beside the generator in Image Studio, the AI image generator this page belongs to. They cover five jobs: removing objects, replacing objects, expanding the frame, relighting and colour correction. Underneath, most of them rest on a technique called inpainting, in which a model fills a masked region using the surrounding image and your instruction as its guide.
The difference from classic image editing is worth understanding, because it tells you what to expect. A traditional editor moves and blends pixels that already exist. An AI photo editor invents new pixels. That is why it can replace an object with something that was never in the shot, and also why every edit needs checking: what appears is plausible, and nothing guarantees it is correct. The model does not know what was behind the person you removed. It paints something likely.
Two neighbouring jobs have their own guides. Lifting a subject cleanly off its background is covered in the AI background remover guide, and enlarging or restoring a picture in the AI image upscaler guide. This page stays with changes made inside the picture.
Preparing a Photo for the AI Image Editor
An edit is only as good as the file it starts from. A few minutes of preparation prevents most disappointments.
Use the largest, least compressed version you have. A photo saved from a messaging app has been squeezed, and the blocky patterns left by compression confuse the model at the edges of an edit. Go back to the original from the camera or phone.
Keep an untouched copy. Version history records your steps, but a clearly named original is the simplest insurance against an edit that goes somewhere unhelpful.
Decide what must not change. Before you touch anything, name the protected parts: the product, a face, a logo, a piece of text. Edits that brush against those areas need extra care, and knowing them in advance shapes where you draw your masks.
List the edits before you start. Three small problems are quicker to fix in one planned session than as three afterthoughts. A list also reveals conflicts, such as an object you plan to remove sitting in an area you plan to crop away.
Check the light in the original. Note where the main light comes from and how soft the shadows are. Anything you add must agree with it, and the easiest way to make that happen is to say so in the instruction.
Painting the Mask: How Much to Cover
A mask is the area you paint over to tell the editor where to work. Its size and shape affect the result more than any wording.
Cover the object and everything it causes. A removed lamp leaves a shadow on the wall and a reflection in the window. If the mask covers only the lamp, the shadow remains, pointing at nothing. Include shadows, reflections and any glow.
Go slightly past the edge. Paint a little beyond the outline of the thing you are removing. A mask that hugs the edge too tightly leaves a faint outline, a ghost of the object in the shape of its border.
Do not go far past it. Everything under the mask is repainted. A generous mask over a patterned carpet means more carpet for the model to reinvent, and more chance the pattern fails to line up. Cover what must change and a narrow margin around it.
Give the model context on every side. The model reads the pixels around the mask to decide what belongs inside it. If the mask runs to the border of the image, there is nothing on that side to read. Where you can, leave a strip of original image around the mask.
Split big jobs. Two objects on opposite sides of a photo are two edits. One large mask spanning both asks the model to repaint the middle of the picture for no reason.
Mask along natural boundaries when replacing. If you are swapping a mug on a table, mask the mug and its shadow. Do not include half the table edge behind it, or the new edge may sit at a slightly different height.
A quick guide to mask size by job:
| Job | Mask should cover | Margin |
|---|---|---|
| Remove a small object on a plain surface | Object, shadow, reflection | Narrow |
| Remove a person from a scene | Person, their shadow, anything they hold or touch | Narrow to moderate |
| Replace an object with a similar-sized one | Object and shadow | Narrow |
| Replace an object with a larger one | The space the new object needs, plus room for its shadow | Moderate |
| Change a sky | The whole sky up to the horizon and around trees or roofs | Tight along the skyline |
| Fix a detail on a face or hand | Only the detail | Very narrow |
Writing an Edit Instruction That Describes the Result
The most common mistake in prompt-based editing is writing a command when the model needs a description. For a masked area, describe what should be visible there when the edit is finished. For a whole-image edit made through the assistant, a plain request works, and it helps to say what must stay the same.
| Weak instruction | Why it struggles | Stronger instruction |
|---|---|---|
| Remove the car | Says what to take away and nothing about what remains | Empty gravel driveway continuing to the hedge, same evening light |
| Make it better | No target | Brighten the face slightly and keep the background as it is |
| Add a plant | No size, type, position or light | A tall fiddle-leaf fig in a white ceramic pot on the floor, lit from the window on the left, soft shadow to the right |
| Change the background | No destination | Replace the wall behind her with pale plaster, slightly out of focus |
| Fix the sky | No description of the fix | Clear late-afternoon sky with a few thin high clouds, warm near the horizon |
| Make it night | Leaves every light source to chance | Dusk, deep blue sky, the street lamp on and casting warm light on the pavement, windows lit |
Three habits improve nearly every instruction.
Name the light. Add the direction and quality of the existing light to anything you insert. It is the main reason added objects look pasted on when it is missing.
Name the material. Brushed steel, unglazed clay, worn denim. Materials tell the model how the new thing should catch light.
Say what stays. When you edit by conversation, the assistant is designed to preserve whatever you did not ask to change. Stating it anyway, keep her face and the product exactly as they are, removes ambiguity.
Keep instructions short. One edit, one or two sentences. Long instructions that ask for several changes at once tend to get some of them and drop the rest.
Removing Objects Without Leaving a Smudge
Removal looks like the simplest edit, and it is where careless work shows most. The model has to invent whatever the object was hiding, and the result is judged against the real texture around it.
Easy removals sit on simple, irregular surfaces: sand, grass, sky, water, a plain wall, an out-of-focus background. There is no pattern to break, so the fill disappears into its surroundings.
Harder removals sit on regular structure: brickwork, tiles, railings, floorboards, a striped shirt, text. The eye follows lines, and a line that wobbles or stops is noticed at once. Help the model by describing the structure in your instruction: red brick wall in running bond continuing behind, or pale oak floorboards running left to right.
The hardest removals hide something specific that viewers expect to see. If a person stands in front of a doorway, removing them means inventing the door. The model will produce a door. It will not be the real one. Where what lies behind matters, such as a shopfront or a landmark, consider whether a different photo would serve better.
If a removal leaves a soft, blurred patch, the usual cause is a mask that is too large for the surrounding detail. Undo, paint a tighter mask and try again. If it leaves a ghost outline, the mask was too tight. If it leaves an unrelated new object in place of the old one, which happens, add a plain description of the empty surface to the instruction.
For crowds and busy scenes, remove in several passes. Take out the largest distraction first, check the result, then the next. Each pass gives the model real surroundings to read.
Replacing One Thing with Another
Replacement is removal plus invention, and the invention has to obey the scene. Four properties make a replacement believable.
Scale. The new object must be the right size for its place. If the mask is the size of a teacup and you ask for a vase of sunflowers, you will get a very small vase of sunflowers. Resize the mask to the space the new object would really occupy.
Perspective. A tabletop seen from above needs an object seen from above. Mention the viewpoint if the scene has a strong angle: seen from slightly above, matching the table.
Light and shadow. State where the light comes from. Check afterwards that the new shadow falls the same way as the others in the picture and has the same softness.
Contact. Objects touch surfaces. A convincing replacement has a thin dark line where it meets the table and a shadow that begins exactly at its base. Floating objects are the commonest sign of a careless edit.
Replacement is also the tool for changing an attribute of something: the colour of a jacket, the material of a worktop, the season outside a window. Mask the thing, describe it as it should be, and keep the description close to the original apart from the one attribute that changes: the same fitted wool jacket in dark green.
Be cautious about replacing anything that carries meaning. Changing the product in a customer's photo, the label on a bottle or the contents of a document produces an image that says something untrue.
Expanding the Frame for a New Ratio
Frame expansion, sometimes called outpainting, extends an image beyond its original edges. The model paints new surroundings that continue the scene. It is the right tool when a picture is the wrong shape for its destination and cropping would cut into the subject.
Expand where the scene is simple. Sky, wall, floor, water, foliage and soft backgrounds extend convincingly. A frame edge that slices through a person, a car or a building forces the model to invent the missing half, and it will invent a generic one.
Expand in stages for large changes. Going from a square to a wide banner means adding as much picture again as you started with. Doing it in two moderate steps gives the model real context each time and lets you reject a bad half without losing a good one.
Describe the extension. An instruction is optional, and it helps. The beach continues to the left with empty sand and low dunes is better than leaving the model to guess, because a model left alone likes to add things: a second boat, another person, a building.
Ask for emptiness when you want room for text. If the new area will sit behind a headline, say so: plain, slightly darker wall with no objects.
Recompose on purpose. Expansion is a chance to improve the composition as well as change the ratio. Adding space in the direction a subject is looking or moving gives the picture room to breathe, and placing the subject off centre along the lines suggested by the rule of thirds often looks more deliberate than a centred crop. The Social Post Image template is a useful target shape when the destination is a feed.
After expanding, look along the old border. A faint change in sharpness, grain or brightness where new meets old is the tell. A colour correction pass over the whole image usually unifies it.
Relighting and Colour Correction After the Shot
Light and colour edits apply to the whole image or to a subject, and they change mood more than content.
Relighting alters the apparent direction, intensity or warmth of light on a subject. It is useful when a portrait was shot under flat office light, when a product photographed at noon needs to match an evening scene, or when a subject has been placed on a new background lit from the other side. Describe the light as a photographer would: soft warm light from the upper left, gentle shadow on the right side of the face. Keep changes moderate. A face lit from the left cannot be convincingly relit from directly behind, because the information for the newly lit side was never recorded.
Colour correction fixes what the camera got wrong: a yellow cast from indoor bulbs, a blue cast from shade, dull contrast, skin that looks green beside a painted wall. Correction aims at accuracy. It is related to, and different from, colour grading, which pushes colour away from neutral to create a style.
A reliable order for colour work:
- Fix the cast first, so that whites and greys are neutral.
- Set brightness and contrast.
- Check skin tones. They are the reference viewers trust most.
- Only then add any stylistic warmth or coolness.
- Compare with the other images in the set, side by side.
For a series, pick one finished image as the target and bring the others towards it. Matching by memory, one image at a time, produces a set that wanders. If the images are for a shop, compare the product's colour with the real item under daylight, since a colour the customer does not receive is a return waiting to happen.
A Worked Edit: One Café Photo, Five Fixes
To show the tools working together, here is a single photo taken through a full session. The photo is for a made-up café, Tidewater Coffee, and will become a square post and a wide website header. It shows a flat white on a table by a window. The problems: a crumpled napkin and a phone on the table, a parked van visible through the window, a yellow cast from the ceiling lights and a frame too tight for the header.
| Step | Tool | Mask or scope | Instruction | What to check afterwards |
|---|---|---|---|---|
| 1 | Remove object | Napkin and its shadow, narrow margin | Bare wooden tabletop, same grain running left to right | Wood grain lines continue straight through the patch |
| 2 | Replace object | Phone and its shadow | A small folded paperback lying flat, lit from the window on the left, soft shadow to the right | Book sits on the table with a contact shadow, scale matches the cup |
| 3 | Remove object | Van as seen through the window, tight along the frame | Quiet street with a pale stone wall across the road, slightly out of focus | Window frame edges are intact and straight |
| 4 | Expand frame | Extend left and right to widescreen, in two stages | Table continues on the left, plain café wall on the right, no extra objects | No new cups or people have appeared, old border is invisible |
| 5 | Colour correct | Whole image | Remove the yellow cast, keep the warm tone of the wood, milk foam neutral white | Foam is white, wood still warm, expanded areas match the centre |
A few things in that table are deliberate. Content edits come before the expansion, so the model extends a clean scene. Colour correction comes last, so the original, the patches and the new areas are all adjusted together. Each instruction describes a result. And each step has its own check, made before the next step begins, because a flaw carried forward is harder to fix once three more edits sit on top of it.
The square post is then a crop of the corrected wide image, and both versions share identical colour. If the header later needs to be larger than the source allows, upscaling is the final step.
Editing Faces and People with Care
Faces are where viewers are least forgiving and where edits carry the most responsibility.
Keep masks tiny. To fix a stray hair, a blemish or a reflection in glasses, mask only that detail. A mask over the whole face asks the model to redraw the face, and the result will be a slightly different person.
Compare with the original at full size. After any edit on or near a face, flick between before and after. Look at the eyes, the mouth corners and the jawline. If the person no longer looks like themselves, undo it.
Prefer light and colour to repainting. Much of what people want from a portrait retouch, fresher skin tone, less shadow under the eyes, a calmer background, is achievable with relighting and colour correction, which do not alter features.
Edit people only with their agreement, and never to change what they appear to be doing or saying. If a realistic AI-altered image of a person is published, label it where the platform asks. The honest use and AI disclosure guide explains what to check.
When what you need is a new portrait instead of a corrected one, the AI photo generator is the better starting point.
When an AI Photo Editor Gets It Wrong: Symptoms and Fixes
Most failed edits fall into a short list, and each has a usual cause.
| Symptom | Usual cause | Fix |
|---|---|---|
| A blurred or smeared patch | Mask too large for a detailed area | Tighter mask, or split into two edits |
| A ghost outline of the removed object | Mask too tight, or shadow left unmasked | Extend the mask past the edge and over the shadow |
| A new, unrequested object appears | No description of the empty result | Describe the bare surface or background explicitly |
| The added object floats | No contact shadow, light not specified | State the light direction and ask for a soft shadow at the base |
| The added object is the wrong size | Mask size does not match the intended object | Redraw the mask to the real footprint |
| Pattern or lines do not align | Regular structure under the mask | Name the pattern and its direction, use a narrower mask |
| Visible join after expansion | Difference in grain or brightness | Colour correct the whole image, or expand in smaller stages |
| The face changed | Mask covered too much of the face | Undo, mask only the detail |
| Colours shift across a set | Images corrected separately | Correct side by side against one target image |
| The edit ignored part of the instruction | Too many requests in one instruction | One change per edit |
When an edit fails twice with the same settings, change the approach instead of repeating it. Try a different mask shape, a simpler instruction, or a different order of steps. Each attempt uses credits, shown before the edit runs, and the pricing page lists what each plan includes.
The Seam Check: Reviewing an Edited Image
Every edit creates a seam between original and generated pixels. A finished image is one where no seam can be found. Check in this order before you export.
- View at full size and trace each edited area. Look for changes in sharpness, grain and brightness at its border.
- Follow the lines. Horizons, table edges, window frames, tile joints and shadows should run straight through edited areas without a kink.
- Check shadows and reflections. Every object should have a shadow that agrees with the others. Removed objects should leave no reflection behind in glass, water or polished surfaces.
- Look for repeats. Models sometimes fill large areas by echoing nearby texture. Identical clouds, leaves or pebbles side by side give it away.
- Count and read. Fingers, chair legs and any lettering near an edit deserve a second look.
- Compare with the original. Switch between them. Anything that changed and should not have will jump out.
- View it small. Shrink the image to the size it will be seen at. If the edit is invisible there and clean at full size, it is done.
A finished edit often goes on to further work. Add type and layout in Design Studio, where the AI social media post generator sizes images for each network, or build a scene around a product with the Lifestyle Product Scene template. A corrected still can also be animated with the image to video tool, which is one more reason to get the still right first.
Try the AI Image Editor
Every generation shows its credit cost before you run it.










