All guides

IMAGE EDITING GUIDE · 5 MIN READ

How to Write Image to Image AI Prompts

By im2img · Updated

An image to image AI prompt describes a change to a reference image, rather than a picture to create from scratch. Start with the subject, say what should change, then add the visual details that help the new result fit the original.

Name the change first

Lead with a direct action: replace the background, remove the sign, add a small vase, or shift the lighting to late afternoon. One main change is easier to judge than a list of unrelated edits. If the result is close, use a second prompt to refine it.

Describe where the change belongs

Give the model a location and a relationship to the image. Instead of “add a plant,” try “add a small potted fern on the floor to the left of the chair, sized to match the room.” Placement, scale, and perspective reduce ambiguity.

Say what matters to you

If the framing, subject, or palette is important, say so as an editing intention: “keep the camera angle and warm color palette.” These instructions guide the edit, but AI may still alter faces, lettering, logos, or fine details. Inspect those details before publishing.

Use a simple prompt pattern

Try: “Keep [important parts]. Change [one thing] to [specific description]. Match [lighting, perspective, or style].” For example: “Keep the product and camera angle. Replace the background with pale limestone and soft morning light. Match the existing shadow direction.”

Choose the right reference for a correction

Compare the result with the original at full size. If the background is right but too cool, use History → Use as reference and try: ‘Keep this composition and all objects. Warm only the background light slightly; do not alter the product color.’ If the product shape or lettering changed, use Re-edit to return to the original source instead. Repeatedly editing a distorted result can compound the error. This is a suggested follow-up instruction, not a recorded second test.

Review one attempt before trying again

A delivered image can still miss your instruction. Check the intended change, subject identity, text, edges and composition separately. Write down the specific mismatch, change one instruction and compare again. Every new generation uses another free edit or additional credits; stop if exact preservation is essential and the output keeps changing it.

Turn a vague request into an edit

Instead of ‘make it better,’ try ‘Keep the running shoe and camera angle. Replace the desk background with cobalt blocks and soft window light from the left. Match the product material and scale.’ For cleanup, try ‘Remove the sign behind the chair and continue the plaster wall naturally. Keep the chair, framing and light unchanged.’ These instructions specify an action and a boundary you can check.

Use the reference and prompt together

In im2img, upload a JPG, PNG or WebP up to 10 MB, enter the instruction, and choose an output ratio and resolution. Match original keeps the source proportions as the output target. A higher resolution changes the requested output size; it does not guarantee faithful faces, labels or fine detail. Review a first edit before spending credits on more variations.

DOCUMENTED WEBSITE TEST ·

What happened with this reference and instruction

This is an actual generated output using a synthetic sample image, not a customer photograph or a brand endorsement. The test used an isolated local account and the website’s upload, generation and download APIs with the real provider. Registration and browser generation were not tested in this run.

Synthetic source: blue and orange running shoe on a desk with a box and plant.
Reference image
Actual background edit from the documented model test.
Actual output · 816 × 1024 px

Settings: gpt-image-2.5-sunburst via APIMart · 1K · low quality · original aspect ratio. One submitted attempt; no retry was needed for delivery.

Cost and delivery: One free trial edit was used on the local test account (paid equivalent: 2 credits). The result was delivered and downloaded in approximately 25 seconds, including polling. This is a single observation, not a speed guarantee.

Exact instruction

Keep the running shoe, colors, laces and camera angle. Change only the background to a pale limestone tabletop and a cream studio wall. Match soft window light from the left. Do not add props or text.

Observed result and limits

The box and plant were removed and replaced with a pale stone tabletop and cream wall. The blue-and-orange shoe remains recognizable, but the framing, mesh texture and small sole details changed. This is not pixel-preserving background replacement.

A successful delivery is not a guarantee of a faithful edit. Compare edges, lettering and proportions at full size. If a detail changes, narrow the instruction and test a second attempt; repeated generations use additional credits.

Use this reference and instruction · Try the instruction with your own image · Read the test settings and image checksums · Download the original output

Examples to put this guide into practice

Continue learning

PUT IT INTO PRACTICE

Try one clear change on your own image.

Open the editor

AI image editing is probabilistic. Review faces, text, logos, and product details before sharing or publishing an output.