Image-to-image AI: edit pictures with a reference and a prompt
Start with an image you have permission to use. Describe what should stay and what should change, then use the image generator to choose an available model and create a variation.
Opens the workspace. Upload your reference there and review the available settings and credit cost before generating.
From reference to a new image in four steps
1. Choose a clear reference
Use an original with a clearly visible subject. Avoid heavy compression and distracting overlays. Only upload images you have the right to use.
2. Separate what stays from what changes
Name the subject, composition and details to preserve. Then describe one change, such as a new background, lighting or visual style. The prompts below are starting points, not verified output examples.
3. Choose a model and settings in the workspace
Open the image generator, upload your reference and paste your prompt. Check which settings the selected model supports, such as aspect ratio or output size, and review the displayed credit cost.
4. Inspect the generated variation
Compare faces, hands, text, product details and framing with the original. If an important detail changed, make the instruction more specific and try another variation. An exact match is not guaranteed.
Three complete prompts to try
Replace a product background
Use the uploaded product photo as the reference. Keep the product shape, proportions, material, label and camera angle unchanged. Replace only the background with a warm, off-white studio backdrop. Add a soft contact shadow underneath the product and keep the original crop. Do not add props, new text, logos or extra objects. Preserve the visible product details as closely as possible.
Change a portrait background
Use the uploaded portrait as the reference. Preserve the person’s facial features, expression, hairstyle, clothing, pose and framing. Replace the background with a softly blurred garden in natural daylight. Match the background lighting to the existing light on the face. Do not retouch the skin, change the person’s age or add accessories. Keep the person clearly separated from the background.
Adjust the style while keeping the composition
Use the uploaded image as the reference. Keep the placement, scale and silhouette of the main subjects, the camera perspective and the crop. Render the scene as a watercolor illustration with visible paper texture, soft pigment transitions and a muted color palette. Preserve the original subject relationships and recognizable details. Do not add or remove objects, text or borders.
Keep or change: one prompt line per element
Before you write, decide for each element of the reference whether it stays or changes, and give it its own line. The lines that say what stays matter as much as the line that asks for the change.
Element
To keep it, write
To change it, write
Subject
Keep the subject's shape, proportions, colors and any printed text unchanged.
Change only the jacket to a navy wool coat; keep the face, pose and hair as they are.
Composition
Keep the camera angle, framing and crop of the original.
Widen the framing to show the full body; keep the subject centered at the same height.
Lighting
Keep the direction and color of the existing light and the current shadows.
Relight the scene with late-afternoon sun from the left and long, soft shadows.
Style
Keep the photographic look, grain and color balance of the reference.
Render the image as a flat vector illustration with three or four solid colors.
Background
Keep the background exactly as it is; edit only the subject.
Replace only the background with a plain light-gray wall; do not move the subject.
Several references or a change to one area
Some models in the workspace accept more than one reference image, and the upload area shows the limit for the selected model. Give each image a job in the prompt and refer to it by upload order: “Use the first image for the person and pose. Use the second image only for the jacket’s color and fabric.” Also say what must not be taken from the other image, such as its background or lighting.
To change one area, name the area and its boundary in words and state that everything else stays: “Change only the mug on the table to a glass of water. Keep the table, hands, background and lighting unchanged.” Ask for one local change per generation. If other areas still shift, start again from the original reference instead of the edited result, so small differences do not build up across rounds.
Input limits and realistic expectations
For the default image upload policy, use JPEG, PNG, WebP or GIF files up to 8 MiB each. GPT Image 2 accepts JPEG, PNG and WebP up to 30 MiB each. The selected model can have additional reference and setting limits; check the workspace before uploading.
Outputs can change details you asked to preserve. Review every result before using it, especially faces, text, labels and product claims. Processing time and results vary by model and request.
Availability, account requirements and credit costs are shown in the workspace. This guide does not promise free generations or a particular turnaround time.
Frequently asked questions
How is image-to-image different from text-to-image?
Image-to-image uses an uploaded reference alongside your written instructions. Text-to-image starts from a written description without that reference. The reference guides the output but does not guarantee that every detail stays unchanged.
Does copying a prompt also upload my image?
No. Copying only places the prompt text on your clipboard. Open the image generator, upload your own reference and paste the prompt before reviewing settings and starting generation.
What should I check before using a result commercially?
Check three things first: your rights to the input image, the applicable model conditions and our Terms of Service. A generated image is not a guarantee of permission to use someone’s likeness, brand or copyrighted material.
Why did the model change a detail I wanted to keep?
Generative editing can reinterpret the reference. State the details to preserve explicitly, reduce the number of simultaneous changes and compare the output with the original. Exact preservation is not guaranteed.
Can I guide an edit with a reference image?
Yes. Upload the reference in the image generator and write two parts in your prompt: what must stay, such as the subject, framing and light, and the one thing that should change. The reference guides the result; it does not lock every detail, so compare the output with the original.
Can I use more than one reference image in one edit?
Yes, with models that accept several references; the upload area shows the limit for the selected model. Upload the images in order and say which image supplies which element, for example the person from the first image and the background from the second.