OpenAI: GPT Image 2
openai/gpt-image-2
Access GPT Image 2 from OpenAI using the Puter.js AI API.
Add to your appModel Card
GPT Image 2 is OpenAI's state-of-the-art image generation and editing model, released in April 2026 as the successor to GPT Image 1.
It accepts both text and image inputs, enabling generation from prompts as well as editing of existing images. The model is particularly strong at rendering text within images — signs, UI elements, labels, and multi-word strings — which was a persistent weakness in prior OpenAI image models. It also supports non-Latin scripts including Japanese, Korean, Chinese, Hindi, and Bengali.
GPT Image 2 outputs up to 2K resolution, supports flexible image sizes, and can generate multiple images from a single prompt. It features a December 2025 knowledge cutoff and built-in reasoning capabilities. Ideal for developers building visual content pipelines, localized marketing assets, infographics, or UI mockups at scale.
Cost Per Image $0.0059
per generation
Configuration N/A
resolution
Release Date Apr 21, 2026
Add GPT Image 2 to your app
Use GPT Image 2 in your app with the Puter.js AI API, no API keys or setup required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.txt2img("A serene mountain landscape at sunset", {
model: "openai/gpt-image-2"
}).then(image => {
document.body.appendChild(image);
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.txt2img("A serene mountain landscape at sunset", {
model: "openai/gpt-image-2"
}).then(image => {
document.body.appendChild(image);
});
</script>
</body>
</html>
More AI Models From OpenAI
GPT-6.1 Sol
GPT-6.1 Sol is OpenAI's mid-tier model in the GPT-6 family, released September 29, 2026 as an update to GPT-6 Sol. It sits below the flagship GPT-6 Astra, takes text and image input, supports tool calling, and has a 1,050,000-token context window with 128,000 max output tokens. Pricing is unchanged from GPT-6 Sol at $2 per million input tokens and $10 per million output tokens, while scores are higher. It reaches 75.2% on DeepSWE 1.1 (68.8% for GPT-6 Sol), 71.4% on OSWorld 2.0 (64.4%), and 32.0% on GDP.pdf (28.0%). Its factual error rate at low reasoning effort fell from 11.4% to 7.7%. In one third-party comparison table, GPT-6 Astra scores 74.8% on DeepSWE and 73.5% on OSWorld at roughly five times the price. GPT-6.1 Sol suits coding agents, computer use, document question answering, and workflow automation where cost per task matters.
ChatGPT-6.1 Sol Pro
GPT-6.1 Sol Pro is OpenAI's higher-effort configuration of GPT-6.1 Sol, the mid-tier model in the GPT-6 family. Based on how OpenAI handled GPT-6 Sol Pro, it is likely the same underlying model with reasoning mode set to pro, though OpenAI's documentation for the 6.1 release does not confirm this. It has a 1,050,000-token context window and 128,000 max output tokens, at $2 per million input tokens and $10 per million output tokens. Supported parameters include reasoning effort, tools, tool choice, structured response formats, seed, and streaming. Sol Pro is intended for complex requests such as agentic coding, computer use, and workflow automation, where answer quality matters more than latency. We found no published benchmarks for the Pro configuration itself.
ChatGPT-6 Sol
GPT-6 Sol is OpenAI's mid-tier model in the GPT-6 family, released September 22, 2026 as a faster, cheaper counterpart to the flagship GPT-6 Astra, built on the same training methods. OpenAI positions it for complex development work that developers run repeatedly, such as building features, reviewing code, debugging, and analyzing data. OpenAI reports Sol scoring 68.8% on the DeepSWE 1.1 coding benchmark, 60.5% on OSWorld 2.0 for computer use at xhigh effort, and 56.4% on Agents' Last Exam, a test of professional work across 55 sub-industries. The company says Sol makes about half as many factual errors as GPT-5.6 Sol, approaching Astra-level reliability at a lower cost. At $2 per million input tokens and $10 per million output tokens, half of GPT-5.6 Sol's rate, Sol matches Claude Sonnet 5's standard pricing, though no published benchmark compares the two models directly.
Frequently Asked Questions
You can access GPT Image 2 by OpenAI through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required.
GPT Image 2 is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.
| Price | |
|---|---|
| Per image | $0.0059 |
GPT Image 2 was created by OpenAI and released on Apr 21, 2026.
Yes — the GPT Image 2 API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Add GPT Image 2 to your app for free
Developers can integrate GPT Image 2 for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.