Grok Imagine Image to Image: Edit and Restyle Your Photos
Last verified: October 19, 2026
Grok Imagine image-to-image editing takes one or more photos that you upload, plus a written prompt, and returns a new image with the change you asked for. The model reads what is in the source image before it makes the edit. That means your prompt can refer to things already in the frame, like the jacket, the desk or the person on the left, without describing the whole scene again.
You write edits in plain language. Describe the change, and Grok Imagine applies it to the source. If you upload more than one photo, a single instruction can use all of them in one request.
The form has only a few controls: Upload Images, the Prompt box with its Enhance Prompt helper, and Generate. All of your direction goes into the prompt, so the wording is what you need to get right. The tips and fixes further down this page are about that wording.
Explore more image to image
Grok Imagine Image Editing at a Glance
What goes into a run and what comes out of it.
Input
Up to 5 images (JPG, JPEG, PNG or WEBP, up to 10 MB each) + a text prompt of up to 2,048 characters
Output
1 image per run
Tips for Better Grok Imagine Photo Edits
Lead with the Change, Then Say What Stays
Keep Each Edit to One to Three Details
Check the Subject Before the Styling
How to Edit an Image with Grok Imagine
Four steps from source photo to finished image.
Editing a Photo vs. Other Ways to Get the Image
When editing with Grok Imagine fits the job, and when another route is the better start.
| Criterion | Grok Imagine | Alternatives | Best For |
|---|---|---|---|
| You have no picture yet | Editing needs a source photo to work from, so it only becomes an option once you have a picture. | Generating a new image from a text prompt is the recommended route when there is no picture yet. | Choose the edit when you already have a photo worth keeping, and generate from text when you would be starting from an empty frame anyway. |
| The subject in your photo is wrong | An edit works on the subject already in your source, so it suits photos whose subject and layout are right and only need some details changed. | Generating a new image is the suggested route when the subject itself is wrong: a different object, a missing key element, or the wrong number of things. | Edit when the photo's subject is right. When it shows the wrong object or the wrong count, a new generation or a better source photo is the stronger starting point. |
| Still image or motion | Every run produces a still image, which suits deliverables like product shots, portraits and artwork. | The Text To Video workflow of the same model generates a video from a written prompt. | Stay with image editing when the deliverable is a picture, and move to Text To Video when it needs motion. |
Common Grok Imagine Editing Problems and Fixes
Fixes for problems you may run into when editing photos with Grok Imagine.
I keep asking for "more realistic" and the result only gets worse
My photo won't upload
The prompt box won't let me type any more
Frequently Asked Questions
Which image files can I upload, and how large can they be?
Upload Images accepts JPG, JPEG, PNG and WEBP files. Each image must be at least 300×300 pixels and no larger than 10 MB. You can add one to five images per run, and at least one is required.
Do I need a prompt, or is uploading a photo enough?
You need both. The Prompt field is required: the upload gives Grok Imagine the material, and the prompt tells it what to do with that material. A rough line is enough to start, and Enhance Prompt can help you expand it.
How much does an edit cost?
Once you're signed in, the credit cost of the run appears above the Generate button, so you can see it before you start the edit.
How should I word the prompt when I upload several photos?
Describe the finished picture rather than the files: who or what appears, where they are, the mood and the light. xAI's multi-image example does this. It seats every subject together on the grass in a sunny park, in natural daylight with warm tones, and ends with a line that rules out extra figures: "No additional people or animals." It also helps to say what each photo contributes, such as the person, the product or the setting, so the roles are clear.
Can I edit the image Grok Imagine gives me a second time?
Yes. Download the result and add it in Upload Images as the source for your next run. Multi-turn editing, where you refine an image over several edits in a row, is part of Grok Imagine's editing documentation.