返回首页
Vercel News

GPT Image 2 on AI Gateway

5.0Score
GPT Image 2 on AI Gateway
AI 深度提炼
  • GPT Image 2 是 OpenAI 最新的图像生成模型。
  • 通过 Vercel AI Gateway 提供对新模型的访问支持。
  • 开发者可利用该模型提升图像生成能力。
#Vercel#AI#OpenAI#图像生成
打开原文

GPT Image 2 on AI Gateway - Vercel

Skip to content

[](http://vercel.com/home)

  • Products
  • ##### Core Platform
  • Resources
  • ##### Company
  • ##### Learn
  • ##### Open Source
  • Solutions
  • ##### Use Cases
  • ##### Tools
  • ##### Users

Ask AI

Ask AILog In

Sign UpSign Up

Vercel April 2026 security incident

Read the bulletin

Blog/Changelog

GPT Image 2 on AI Gateway

Authors

![Image 3](https://twitter.com/shaper)![Image 4](https://twitter.com/rtaneja_)![Image 5](https://twitter.com/jerilynzheng)

1 min read

Copy URL

Copied to clipboard!

Apr 21, 2026

GPT Image 2 is now available on Vercel AI Gateway.

OpenAI's newest image model supports detailed instruction following, accurate placement and relationships between objects, and rendering of dense text across multiple aspect ratios.

The model can render fine-grained elements including small text, iconography, UI elements, dense compositions, and subtle stylistic constraints, at up to 2K resolution. Non-English text is also supported and reads coherently.

GPT Image 2 can produce photos, cinematic stills, pixel art, manga, and other distinct visual styles, with consistency in texture, lighting, composition, and detail. This suits workflows like game prototyping, storyboarding, marketing creative, and medium-specific asset generation.

To use GPT Image 2, set model to `openai/gpt-image-2` in the AI SDK, or try it directly in our model playground.

1import { generateImage } from 'ai';2
3const result = await generateImage({4  model: 'openai/gpt-image-2',5  prompt: 'Poster of Vercel AI products, Bauhaus style.',6});

!Image 6!Image 7

AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.

Learn more about AI Gateway, view the AI Gateway model leaderboard or try it in our model playground.

**Ready to deploy?**Start building with a free account. Speak to an expert for your _Pro_ or Enterprise needs.

Start DeployingTalk to an Expert

**Explore Vercel Enterprise** with an interactive product tour, trial, or a personalized demo.

Explore Enterprise

Get Started

Build

Scale

Secure

Resources

Learn

Frameworks

SDKs

Use Cases

Company

Community

[](http://vercel.com/home)

Loading status…Select a display theme:system light dark