GPT Image 2.5 prompt — style transfer by assigning the reference a role

Say what the reference is *for*. Otherwise the model copies its content too.

A man riding a motorcycle rendered in the same pixel-art style on a white background
A pixel-art reference image supplying the visual style
InputResult
Settings the Borrow one image's style and draw something else with it prompt ran at
ModeModelQualitySizeRatioCredits
Image to ImageThinkStandard1K2:310 cr

Published by OpenAI as an example for this model — not generated on this site. Model: gpt-image-2.5-sunburst. Source: OpenAI The published example ran at 1024x1536, a legal size we do not currently offer; the frame here is the same shape at our nearest size.

A pixel-art image goes in; a man on a motorcycle comes out, in the same pixel-art style. The whole technique is in the first six words — "Use the same style from the input image" — which tell the model that this reference is a style sheet rather than a subject. Attach a reference without saying what role it plays and you will get some of its content in your output.

In full

The prompt, nothing cut

Use the same style from the input image and generate a man riding a motorcycle on a white background.
101 characters

Run it here

This exact prompt, at these exact settings

The mode and all five settings are locked to this template, so there is nothing to line up by hand. Press Run this prompt above and the panel opens filled in — prompt, mode, quality, size and frame — and your first image needs no account. If your plan sits below what this ran at, the line under the panel says so.

PNG, JPEG or WebP · up to 25 MB

Up to 16 images. The first four are included; each one after that costs 3 credits.

0 / 4000
Keep intact — tick anything the model must not touch

We turn your ticks into OpenAI's own "change only X" phrasing, then re-render from your original file — not from the last output.

No card, no waitlist. Credits only start after the free one.

This example was published at Think · Standard · 1K. A free run is Fast · Standard · 1K, so expect less fine detail and softer small text. The composition is the same; the finish is not.

3 levers

What is safe to change

Most libraries publish this list and stop, which is why so many copied prompts come back worse than the original: the swappable nouns are the safe half. The three sections under it are the other half — the clauses that are doing the work, the ones that break it if you touch them, and why it is written in this order.

  • The role assignment

    "Use the same style from the input image" is the entire technique. Narrow it when you want less — "use the same palette", "use the same line weight", "use the same medium" — and you get a more surgical borrow.

  • The new subject

    Described completely separately from the reference, with no shared words. Keeping the two apart is what stops the model blending the reference's subject into yours.

  • The background

    "On a white background" removes one variable. Style transfer is easier to judge, and easier for the model to execute, when the new image is not also inventing an environment.

Three ways to break it

Each one is a real failure with a reason attached. A rule without a reason is not usable.

  1. 01Attaching the reference without naming its role

    OpenAI's fundamentals are explicit: identify each input by number and purpose. An unlabelled reference is ambiguous between style, subject, background and composition, and the model resolves that ambiguity by taking a bit of each.

  2. 02Using a photograph as the style reference

    It works, but weakly. Style transfer is strongest when the reference has an obvious visual medium — pixel art, watercolour, woodcut, line drawing. A photograph's "style" is mostly its lighting and grade, which transfers as a mood rather than a look.

  3. 03Asking for a complex scene in a strong style

    A distinctive medium constrains detail. Pixel art has a resolution budget; woodcut has a line budget. Ask for a crowd scene in either and the style will break down or the scene will.

Why it is written this way

Inside the Borrow one image's style and draw something else with it prompt

This is the shortest prompt in the library and it teaches the most transferable single habit: tell the model what each reference is for.

OpenAI's prompting fundamentals put it as assigning roles to references — identify each input by number and purpose, subject or style or clothing or background, and explain how they should combine. It sounds procedural. It is actually the difference between style transfer working and not working, because an image attached to a request without a stated role is genuinely ambiguous. Should the output contain what is in the reference? Look like it? Be composed like it? All three are common intentions, and a model with no instruction picks a blend.

The blend is what people are seeing when they complain that style transfer "leaks". You attach a pixel-art castle, ask for a motorcycle, and get a motorcycle next to a suspiciously castle-shaped structure. Nothing malfunctioned — the reference was offered as evidence and the model used all of it.

The second thing this prompt does right is keep the two halves lexically separate. The reference clause talks only about style; the subject clause talks only about the man and the motorcycle and the background. No word appears in both. That sounds trivial but it is what makes the boundary legible: any descriptive word that could attach to either half is a word the model has to disambiguate.

Where the technique is weakest is worth knowing. It is strong when the reference has a *medium* — pixel art, watercolour, woodcut, halftone, blueprint. Those are visual grammars with rules the model can apply to a new subject. It is much weaker when the reference is a photograph, because a photograph's style is largely its light and its grade, and those transfer as atmosphere rather than as a look you would recognise.

4 questions

Borrow one image's style and draw something else with it — common questions

Why does my style transfer bring across the original subject?
Because the reference had no stated role. Say "use the same style from the input image" — an unlabelled reference is ambiguous and the model uses all of it.
Can I transfer just the colours?
Yes, and it is often better. Narrow the role: "use the same palette" or "use the same line weight" gives you a much more surgical borrow than "style".
Does it work from a photograph?
Weakly. A photograph's style is mostly lighting and grade, which transfers as mood. References with a distinct medium work far better.
How complex can the new subject be?
Less complex than you would like. A strong medium has a detail budget; ask for a crowd in pixel art and either the crowd or the pixel art gives way.

Written and maintained by Andy SwiftPublished Last updated

Your first GPT Image 2.5 image is free

Generate my first image