# How to edit an image you attached

Attach a photo, describe the change you want, and GPTree edits that image instead of generating an unrelated new one. Here is what formats work and what to do when one does not.

You can attach an image and ask for a change to it. Attach the photo, then describe what you want in plain language, for example "add white moulding around the window" or "put our logo in the top right corner." GPTree sends your image along with the instruction, so the result is a version of your picture rather than a brand new one built from the description alone.

## Editing versus generating

There are two different things you can ask for, and the difference is whether an image is attached.

- **No image attached:** you get a new image generated from your description.
- **One or more images attached:** you get an edit that uses your images as the starting point. Up to 4 attached images are used as references for a single edit.

If you want the assistant to keep a specific logo, product, or room exactly as it is, attach it. Describing it in words gives the model no way to reproduce the real thing.

## Which formats work

PNG, JPG, and WEBP always work. Photos straight from a phone are usually fine too: GPTree checks what the file actually is rather than trusting its name, converts it to a format the image model accepts, and resizes very large pictures before sending them. That means a photo saved as HEIC on an iPhone, or a file whose name says .png while the contents are really a JPG, still edits normally.

A small number of files cannot be converted, for example an unusual format or a picture that was damaged during upload. When that happens you get a specific message naming the format and asking for a PNG, JPG, or WEBP, rather than a generic failure. Re-saving or screenshotting the image and attaching it again is usually the fastest fix.

## Getting better results

- Say what should change and what should stay. "Keep the furniture, only repaint the walls" is clearer than "make it nicer."
- One change at a time gives you more control than a long list, and each result is its own message you can branch from.
- To try several directions at once, branch from your request and ask for a different edit in each branch, then compare them side by side and keep the one that works.

## Which model makes the image

You do not have to pick one. GPTree chooses the image model for you, taking into account what you asked for: a request with an attached picture goes to a model that can edit images, and among the models that fit, it picks the least expensive one. Retired models are never chosen.

Your plan decides which image models and sizes are available to you. If you ask for a size above what your plan allows, GPTree makes the image at your plan's largest size rather than refusing, and the size it actually used is shown with the result.

## What it costs

Images cost credits based on the size and quality you ask for, so a large high quality picture uses more than a small standard one. Your balance is checked against the price of that specific request before anything is generated, so if you are short you get a clear message and nothing is created or charged. Picking a smaller size or a lower quality is usually enough to get the request through. If you have added your own API key, image requests go to your provider account instead, and your plan's model and size limits do not apply.

## If the image seems to be ignored

Check that the image is attached to the message you are sending, not to an earlier one in the thread. Each request uses the images attached to that message. If you attached the picture two messages ago and then asked for a change, attach it again to the new message.
