4o Image API
GPT-4o's native image generation, built for text and edits
OpenAI moved image generation inside GPT-4o itself. The result spells words correctly, keeps 10 to 20 objects in order, restyles your photos and takes edits in conversation, and its launch week turned into one of the biggest viral moments in AI.
- Kind: image
- Made by: OpenAI
- Price: 6 credits per image (from $0.06; 1 credit = $0.01 on monthly plans, $0.015 as a top-up)
- Released: 2025-03-25
- Open weights: no (Proprietary: ChatGPT, OpenAI API and partner platforms only; no weights published; OpenAI's terms assign output ownership to the user)
- Architecture: Autoregressive, native to GPT-4o
- Output shapes on Unicorn: 1:1, 3:2, 2:3
- Reference images on Unicorn: Up to 5 per request
- Objects per prompt: Up to 10-20 (OpenAI)
- Render time: Often up to a minute (OpenAI)
- Provenance: C2PA metadata on outputs
- Parameters: Not published
- Weights: Closed, API only
- Inputs: size, prompt, file_url, files_url
Call it with POST https://api.unicornapi.net/v1/jobs and model 4o-image-api, or try it in the Playground.
Where it shines
- Legible English text on signs, menus, labels and infographics
- Handles 10 to 20 distinct objects in one scene, by OpenAI's count
- Restyles and edits uploaded photos, with up to 5 references on Unicorn
- Debuted in equal first place in the Artificial Analysis Image Arena
- Draws on GPT-4o's world knowledge for diagrams and explainers
Watch out for
- Slow: OpenAI says images often take up to a minute
- Edits can change areas you did not ask to change, and faces can drift
- Non-Latin scripts, dense small text and precise charts are unreliable
- Warm, yellowish colour cast and over-sharpening noted by testers
Made with 4o Image



4o Image is OpenAI's new way of making pictures: image generation built directly into GPT-4o, the same omnimodal model that already answers questions, reads images and talks in ChatGPT. It launched on 25 March 2025 as the default image generator in ChatGPT, replacing the separate DALL-E 3 model that ChatGPT used to call behind the scenes. OpenAI's own summary of the goal is short: images that are "not only beautiful, but useful".
The headline is control. 4o Image puts the words you ask for onto signs, menus and diagrams and spells them correctly most of the time, a task earlier image models routinely botched. It keeps track of far more elements in a single scene, OpenAI says 10 to 20 distinct objects where other systems struggle beyond 5 to 8. And because the model holds the whole conversation in context, you can refine an image the way you would edit a draft with a colleague: "make the sky darker", "move the title up", "now do a version for Instagram".
The response was immediate. Within days, feeds were full of photos restyled as hand-drawn animation, ChatGPT's servers were straining, and Sam Altman wrote that OpenAI's "GPUs are melting". OpenAI later reported that more than 130 million people created over 700 million images in the first week alone.
From DALL-E 3 to a native GPT-4o image model
OpenAI has made image models since the first DALL-E in 2021. Its previous generation, DALL-E 3, was a diffusion model that ChatGPT reached through a tool call: the chat model rewrote your request into a prompt and handed it off. 4o Image removes that hand-off. In the words of the system card published on launch day, it is "an autoregressive model natively embedded within ChatGPT", and the company's stated belief is that "image generation should be a primary capability of our language models".
The capability itself was not a surprise. When OpenAI announced GPT-4o in May 2024 it already showed the model producing images, and president Greg Brockman shared an example at the time. It took ten more months to ship, by which point Google had released experimental native image output in Gemini 2.0 Flash earlier in March.
4o Image is closed. OpenAI publishes no weights, no parameter count and no technical paper beyond the safety addendum to the GPT-4o system card. At launch it rolled out to most ChatGPT users, with Enterprise and Edu to follow. Demand forced OpenAI to slow part of the rollout and add temporary rate limits. Anyone who prefers the old model can still use DALL-E through a dedicated DALL-E GPT. OpenAI promised developer access within weeks, and the same model reached the API on 23 April 2025 under the name gpt-image-1.
What changed from DALL-E 3
OpenAI's launch post and system card describe a broad jump rather than one new trick.
- Text that reads. The system card says the model can follow detailed instructions "including reliably incorporating text into images". Signs, menus, invitations, labels and simple infographics come out legible, something DALL-E 3 handled poorly.
- More objects, correctly bound. OpenAI's claim is that "while other systems struggle with ~5-8 objects, GPT-4o can handle up to 10-20 different objects", and it keeps each object's colour, shape and position attached to the right thing.
- Multi-turn editing. Each new request builds on the image and conversation so far, so you can iterate instead of starting over.
- Learning from your images. Upload one or several pictures and the model analyses them and folds their details into the result, from restyling a photo to placing a product into a new scene.
- World knowledge. Because it is GPT-4o, the image side draws on what the language side knows, which helps with diagrams, explainers and scenes that need to be factually plausible.
- Prompt-level control. In ChatGPT you can ask for an aspect ratio, exact colours as hex codes or a transparent background in plain language.
OpenAI also reports less demographic skew than DALL-E 3. For prompts describing a single person without specifying gender, DALL-E 3 produced 86% male subjects and 4o Image 79%; on prompts that should yield historically specific results, 4o Image matched expectations 97% of the time against 92% for DALL-E 3.
The policy changed as much as the model. DALL-E blocked images of public figures outright; 4o Image allows adult public figures with safeguards and lets them opt out. Joanne Jang, who leads model behaviour at OpenAI, described the shift as moving "from blanket refusals in sensitive areas to a more precise approach focused on preventing real-world harm". The model refuses requests for the style of individual living artists, while an OpenAI spokesperson said it permits "broader studio styles".
How it works: autoregressive generation inside GPT-4o
OpenAI's description of the training is brief: "We trained our models on the joint distribution of online images and text, learning not just how images relate to language, but how they relate to each other." Combined with what it calls "aggressive post-training", that produces the visual fluency on show. The Wall Street Journal, as cited by TechCrunch, reported that the training data includes publicly available material and licensed data from partners such as Shutterstock. Beyond that, the architecture, size and output decoder are undisclosed.
The practical consequence of the native approach is that one model reads the prompt, any uploaded images and the conversation history, and then produces the picture, rather than compressing everything into a single text prompt for a separate generator. The trade-off is speed. OpenAI says images "take longer to render, often up to one minute".
Safety sits in layers around the model: the chat model can refuse to trigger generation, classifiers can block a prompt, and a custom-trained multimodal reasoning monitor checks the output after it is made. Every image carries C2PA metadata identifying it as coming from GPT-4o, and OpenAI keeps an internal search tool to check whether an image came from its products. Editing uploaded photos of photorealistic children is not allowed at launch.
Specs and options on Unicorn
| 4o Image | |
|---|---|
| Model id | 4o-image-api |
| Maker | OpenAI |
| Architecture | Autoregressive, native to GPT-4o (parameters not published) |
| Inputs | Text prompt, up to 5 reference images in files_url |
| Image formats accepted | JPG/JPEG, PNG, WEBP (and JFIF, PJPEG, PJP variants) |
Output shapes (size) | 1:1, 3:2, 2:3 |
| Typical render time | Often up to a minute (OpenAI) |
| Provenance | C2PA metadata on outputs (OpenAI) |
| Weights | Closed |
The size field is required and takes one of three aspect ratios: square, landscape or portrait. A prompt is optional when you supply images, and either a prompt or at least one image must be present. The older single-image file_url field still works but is deprecated in favour of files_url. There is no seed, negative prompt or quality switch; the prompt does the steering.
Where 4o Image shines
Posters, menus and labels. Short headlines and a handful of lines of English text are where the jump from DALL-E 3 is most obvious. A café board, a product label or a wedding invitation with names and a date now comes back usable far more often. Artificial Analysis, whose image arena ranks models by blind human votes, put 4o Image in equal first place on debut, ahead of Recraft V3, FLUX 1.1 [pro] and Gemini 2.0 Flash, and at the top of its Text and Typography category.
Busy, specific scenes. Prompts that list a dozen named items with colours and positions are its comfort zone. That makes it useful for storyboards, educational illustrations and product flat-lays where every element has to be present.
Transforming your own photos. The trend that made the launch famous shows a real strength: hand the model a photo and ask for it as a watercolour, a clay figure, a comic panel or a different season, and it keeps the composition and subject recognisable while changing the rendering.
Photoreal people and portraits. Artificial Analysis also ranked it first for portraits, and OpenAI's system card notes that some outputs "can, in some cases, have the appearance of a photograph".
Diagrams with meaning. Thanks to GPT-4o's knowledge, a request like an annotated cross-section of a bicycle or a step-by-step recipe illustration comes back with sensible content, not just plausible shapes.
Limits and trade-offs
OpenAI publishes its own list of weak spots, which is a useful starting point:
- Cropping. Long images such as posters can be cropped too tightly, "especially near the bottom".
- Hallucinations. With low-context prompts the model can invent details.
- Binding past its limit. Beyond 10 to 20 distinct concepts, such as a complete periodic table, accuracy drops.
- Precise graphs and dense small text. Charts with exact values and tiny print are unreliable.
- Non-Latin scripts. Text in many other writing systems often renders incorrectly.
- Editing precision. Asking to fix one thing, such as a typo, can change other parts of the image, and faces in uploaded photos do not always keep their likeness across edits.
Early hands-on testing found more. German tech publisher heise noted over-sharpening, a warm, yellowish colour cast, awkward poses and unrealistic overlaps in scenes with several people, and local edits that regenerate the whole picture. Simon Willison's first test, a selfie with a bear, was convincing but mangled the text on his shirt and added an extra earbud. Speed is the other trade-off: up to a minute per image is slow next to diffusion models built for throughput. Finally, the policy layer can refuse some requests, notably the styles of living artists and edits of photorealistic children.
How to prompt 4o Image
Write the way you would brief a designer. State what the image is for, describe the layout from top to bottom, and put every word that must appear in quotes.
A chalkboard sign for a farmers' market stall. Hand-lettered white chalk heading at the top: "Fresh Today". Below it, three lines: "Heirloom Tomatoes", "Sweet Corn", "Wildflower Honey", and at the bottom "Open Saturdays 8 to 1". Small chalk drawings of a tomato and a bee in the corners. Wooden frame, sunny outdoor light.
For crowded scenes, list the objects explicitly and say where they go. The model is built to bind attributes, so "a blue enamel mug on the left, a coil of copper wire in front of it" works better than "some tools on a desk".
For edits, attach images in files_url and describe the change and what must stay:
Turn this photo into a soft watercolour illustration for a children's picture book. Keep the dog, the porch and the composition the same, use gentle washes and visible paper texture.
With several references, say which image plays which role:
Use the first image for the product and the second for the colour palette and lighting. Place the bottle on a marble counter; do not change its shape.
Change one thing per round and restate details that start to drift. If text is cut off at the bottom, ask for more margin or choose the 2:3 portrait size.
How it compares at launch
The clearest comparison is with its own predecessor. Against DALL-E 3, 4o Image is slower but follows long prompts more faithfully, writes far better text, handles more objects, edits uploaded images and is less demographically skewed by OpenAI's measures. DALL-E 3 remains the quicker option for simple, single-subject pictures.
Against the field it debuted into, the closest analogue is Google's Gemini 2.0 Flash experimental image output, another model that generates images natively from a chat model. 4o Image placed above it in the Artificial Analysis arena, and OpenAI's tighter guardrails contrast with early reports that Google's experiment would remove watermarks or draw copyrighted characters. Dedicated image generators such as Recraft V3 and FLUX 1.1 [pro], both of which it outranked on debut, remain sensible picks when a single prompt-to-image step is all you need, but neither can hold a conversation about the image or draw on a language model's world knowledge. For newer models, browse the full model catalog.
Getting started
Try prompts in the Playground first: pick a size, type a prompt or add reference images, and compare results without writing code. For your own app, create a key on the API keys page and submit a job to /v1/jobs with model set to 4o-image-api, a required size of 1:1, 3:2 or 2:3, plus a prompt and optional files_url. Because images can take up to a minute, the job API is asynchronous; the docs explain authentication and how to collect finished results.
Verdict
4o Image is the moment image generation stopped being a separate tool bolted onto a chatbot and became something the chatbot itself does. The result is a model that writes legible text, keeps a dozen objects in order, restyles your photos and takes notes across a conversation. The trade-offs are speed, a warm colour cast and some imprecision in edits. For posters, explainers, product scenes and photo transformations it sets a new reference point at launch, and on Unicorn it is one asynchronous job away from your own app.
Best for
- Posters, menus and signs with short English text
- Turning photos into illustrations and other styles
- Busy scenes with many specific objects
- Educational diagrams and explainers
- Product scenes built from reference images
Frequently asked questions
Is GPT-4o image generation open source?
No. It is a closed OpenAI model with no downloadable weights or published parameter count. You can use it in ChatGPT, through OpenAI's API and on API platforms such as Unicorn API.
What aspect ratios does 4o Image support on Unicorn API?
Three: 1:1 square, 3:2 landscape and 2:3 portrait, chosen with the required size field. There is no seed, negative prompt or quality switch, so the prompt does the steering.
What is the difference between GPT-4o image generation and DALL-E 3?
DALL-E 3 is a separate diffusion model that ChatGPT calls as a tool. 4o Image is an autoregressive model built into GPT-4o, so it renders text far better, handles 10 to 20 objects, uses uploaded images as context and can be refined over several turns. It is slower, often taking up to a minute.
Is 4o Image the same as gpt-image-1?
gpt-image-1 is the name OpenAI gave this natively multimodal image model when it brought it to its API on 23 April 2025, a month after the ChatGPT launch.
Can I use images from 4o Image commercially?
OpenAI's terms say you own the output and assign its rights in the output to you, subject to the law and OpenAI's usage policies. You remain responsible for not infringing others' rights, and images carry C2PA metadata identifying them as AI-generated.
Can 4o Image edit my own photos?
Yes. On Unicorn, pass up to 5 image URLs in files_url with a prompt describing the change, such as a restyle or a new background. OpenAI notes that edits can affect other parts of the image and that faces may not keep their likeness.