How to Write Instructions for an AI Image Editor (With 20 Examples)
Instruction-based AI photo editing explained: how to phrase background swaps, object removal, relighting, style changes and multi-image edits so the model changes what you want and keeps everything else.

Instruction-based image editors work differently from traditional photo tools. There are no layers, masks or brushes. You upload a photo, write what should change in plain English, and the model returns an edited image. On Dola AI that is the AI Image Editor, which runs on Nano Banana 2, Seedream 5.0 Lite or GPT Image 2 and accepts up to four reference images.
The quality of the result depends heavily on how you write the instruction. This guide explains the pattern that works, gives twenty example instructions grouped by task, and covers the mistakes that make an editor change the wrong thing.
The rule that matters most: say what changes and what stays
An edit model has to decide which pixels to keep. If you only say what you want, it may "improve" other parts of the image too: smoothing a face, changing a color, redrawing a logo. The fix is to say both:
Change: replace the background with a sunny beach. Keep: the person, their clothes, pose and face exactly as they are.
In a single sentence: "Replace the background with a sunny beach at midday; keep the person, their clothes, pose and face unchanged."
This "change + keep" structure is the most useful habit in AI photo editing.
A template for any edit
[Action verb] [the thing to change] [to / with what], [details about the new look]. Keep [what must stay the same] unchanged. [Optional: match lighting / perspective / style].
Strong action verbs: replace, remove, add, change, recolor, relight, extend, turn into, restyle.
Background edits
-
Clean product background
Replace the background with pure white. Keep the product, its label and shadow shape unchanged.
-
New location
Place this person on a rooftop terrace in the city at sunset. Keep their face, hair, clothes and pose unchanged, and match the warm sunset light on their skin.
-
Blurred background
Blur the background as if shot with a wide-aperture lens. Keep the subject sharp and unchanged.
-
Seasonal swap
Change the garden in the background from summer to a snowy winter scene. Keep the house and the people unchanged.
Removing things
-
A person in the background
Remove the person walking behind the couple on the left. Fill the space with the matching street and shop fronts.
-
Clutter
Remove the cables, papers and cups from the desk. Keep the laptop, lamp and plant.
-
Text or watermark you own the rights to
Remove the date stamp in the bottom right corner.
Only remove watermarks from images you own or have the right to edit. Removing someone else's watermark to reuse their work is not allowed under our terms of service.
Adding things
-
A prop
Add a steaming cup of coffee on the table to the right of the laptop, matching the room's lighting and perspective.
-
Weather
Add light rain and wet reflections on the street. Keep the buildings and cars unchanged.
-
Text (GPT Image 2 handles text best)
Add the words "SUMMER SALE" in bold white letters across the top of the image, centered.
Changing color and material
-
Recolor a product
Change the color of the sneakers from white to forest green. Keep the logo, laces and sole unchanged.
-
Change material
Change the sofa fabric to dark brown leather. Keep the shape, cushions and room unchanged.
-
Outfit change
Change her jacket to a red wool coat. Keep her face, hair and the background unchanged.
Lighting
-
Golden hour
Relight the scene as golden hour, with warm low sunlight from the left and long soft shadows.
-
Studio relight for a portrait
Relight the portrait with soft studio light from the front left and a subtle rim light on the hair. Keep the face and expression unchanged.
-
Fix a dark photo
Brighten the room evenly as if lit by daylight from the window. Keep colors natural.
Style changes
-
Illustration
Turn this photo into a watercolor illustration with soft edges and paper texture. Keep the composition.
-
3D look
Restyle the scene as a soft 3D clay render with pastel colors. Keep the layout of the room.
Extending and reframing
- Extend the canvas
Extend the image to a 16:9 frame, continuing the beach and sky naturally on both sides.
Set the aspect ratio in the studio to the frame you want before running an extend instruction.
Combining several images
Dola AI's editor accepts up to four reference images. Use the instruction to say which image plays which role:
- Product into a scene
Place the bottle from the first image on the marble counter in the second image, in the light from the window. Keep the bottle's label and shape exactly as in the first image.
Other multi-image uses:
- Style transfer: "Restyle the first image in the color palette and lighting of the second image."
- Outfit from a reference: "Dress the person in the first image in the jacket from the second image."
- Consistent character: "Use the face in the first image for the person in the scene." See our guide to consistent characters in AI images and video.
Refer to images by their order ("the first image", "the second image"). Descriptions like "the photo with the dog" work too, but order is clearer.
Why edits go wrong, and how to fix them
The model changed things I didn't ask for. Add a "keep … unchanged" sentence listing those things. Be specific: "keep the face" is better than "keep the person".
Nothing changed. The instruction was probably too vague ("make it better"). Name the exact change: "make the sky deep blue with a few white clouds".
The added object looks pasted on. Ask the model to match lighting and perspective: "matching the warm light and the camera angle of the room".
Faces look different. Keep faces out of the edit wherever possible, say "keep the face and expression unchanged", and avoid relighting a face heavily in one step.
Text is misspelled. Use GPT Image 2 for text, keep the text short and put it in quotes. Check spelling before you use the image.
Too many changes at once. One edit per instruction works better than five. Edit in steps: background first, then lighting, then props. Each step costs a few credits, and you can stop when it looks right.
Choosing a model for editing
| Model | Credits per image | Good at | | ---------------------------- | ----------------- | -------------------------------------------------------------------------- | | Nano Banana 2 (1K / 2K / 4K) | 10 / 15 / 24 | Keeping people and products consistent, multi-image edits, high resolution | | Seedream 5.0 Lite (2K) | 8 | Low-cost scene and style changes | | GPT Image 2 (1K) | 8 | Edits that add or change text, graphic layouts |
The studio shows the exact cost before you run an edit, and failed edits are refunded automatically. For a closer look at each model, read the AI image model comparison.
Ethics and rules
Editing photos of real people needs care:
- Only edit photos of people who have agreed to it, or photos you have the right to use.
- Don't create images that put real people in situations that didn't happen in a way that could mislead or harm them.
- Don't use edits to create fake documents, receipts or IDs.
- If you publish an edited image where it could be mistaken for a real event, say that it was edited.
Our terms of service forbid deceptive impersonation, deepfakes meant to mislead, infringement and unlawful use, and we may remove content and suspend accounts that break them.
Frequently asked questions
Do I need to describe the whole image? No. Describe the change and what to keep. The model already sees the rest.
Can I edit the same image several times? Yes. Download the result and upload it again for the next step, or use it directly from your results.
Will the output have the same resolution as my photo? The output uses the resolution you choose in the studio (for example 1K, 2K or 4K with Nano Banana 2), not the input size.
Can I turn an edited image into a video? Yes. Open it in Image to Video and describe the motion. This is a common way to make product and portrait clips.
Open the AI Image Editor, upload a photo and try one of the twenty instructions above.