NezhaGate
Image

GPT Image 2

gpt-image-2

GPT Image 2 面向商业创作,擅长公众号封面、产品图、海报、信息图与插画。支持文生图与图生图两种模式,1K / 2K / 4K 多分辨率与多种比例,OpenAI 图片接口兼容。

文生图图生图1K/2K/4K按量计费

Live Test · Playground

Try out GPT Image 2 right here (available after login)。

Model Type

Input

Image

Output

image
Results will appear here after running.

About GPT Image 2

GPT Image 2 is OpenAI's high-quality image generation model for both text-to-image and image-to-image workflows, producing finished covers, posters, and illustrations. On NezhaGate it is served through an OpenAI-compatible endpoint: point your base_url at NezhaGate and set the model to "gpt-image-2" to call it with your existing OpenAI SDK. Billing is pay-as-you-go, and failed requests are not charged.

Use cases

Marketing posters and covers

Turn a short text brief into event posters, article covers, or product key visuals, and generate several variations quickly without designing from scratch.

E-commerce product shots

Generate scene shots, background swaps, or styled product imagery to support detail pages and ad placements.

Blog and docs illustrations

Create illustrations and diagrams that match your content, making technical docs, blog posts, and decks easier to follow.

Image-to-image restyling

Provide a reference image with a prompt to redraw composition, style, or details, producing consistent variants fast.

Social media visuals at scale

Batch-generate visuals for different platform sizes and themes while keeping a consistent brand look.

How to choose

GPT Image 2 is the catalogue's dedicated image model, so reach for it whenever the output is a picture. When you need text chat, reasoning, or code, choose a chat model instead, such as the flagship GPT-5.5, Claude Sonnet 4.6, or Gemini 3.1 Pro; in workflows that need both copy and visuals, pair one of those with gpt-image-2.

FAQ

What is GPT Image 2?
GPT Image 2 is OpenAI's high-quality image generation model focused on text-to-image and image-to-image generation, producing finished covers, posters, and illustrations. On NezhaGate it is exposed through an OpenAI-compatible API so it drops into existing image pipelines.
How do I call gpt-image-2 with the OpenAI SDK?
Point the OpenAI SDK's base_url at NezhaGate, use the key you created on NezhaGate, then call the image generation method (for example client.images.generate) with the model set to "gpt-image-2" and pass your prompt and size parameters. The call follows the OpenAI image generation API shape, so existing code needs little to no change.
Does GPT Image 2 support streaming?
GPT Image 2 is an image model, so it returns a rendered image (typically as a URL or base64 payload) rather than a stream of text tokens, which means the token-level streaming used by chat models does not apply here. Your client simply waits for generation to complete and then receives the result.
What is GPT Image 2 best for?
It fits any workflow that needs visual assets quickly, including marketing posters and covers, e-commerce product imagery, blog and documentation illustrations, social media graphics, and reference-based image-to-image restyling. It is especially efficient when you need many sizes or variations in a batch.
GPT Image 2 vs GPT-5.5: how do I choose?
They serve different jobs: GPT-5.5 is a flagship chat and reasoning model for text, analysis, and code, while GPT Image 2 generates pictures. Use GPT-5.5 for copy, Q&A, or logic, use GPT Image 2 when you need finished imagery, and combine them in workflows that mix text and visuals.

Related Models

Explore other models you can integrate.

View all →
GPT-5.6 Sol Chat

GPT-5.6 Sol

gpt-5.6-sol

前沿旗舰 Agentic 编程模型

$2.00/1M tokens ↓75% View →
GPT-5.6 Terra Chat

GPT-5.6 Terra

gpt-5.6-terra

日常均衡 Agentic 编程模型

$1.20/1M tokens ↓77% View →
GPT-5.6 Luna Chat

GPT-5.6 Luna

gpt-5.6-luna

快而省的 Agentic 编程模型

$0.80/1M tokens ↓68% View →
GPT-5.5 Chat

GPT-5.5

gpt-5.5

旗舰对话与推理模型

$0.70/1M tokens ↓86% View →
Nano Banana 2 Image

Nano Banana 2

nano-banana-2

高质量文生图 / 图生图模型

$0.025/img and up View →
Nano Banana Pro Image

Nano Banana Pro

nano-banana-pro

旗舰级文生图 / 图生图模型

$0.040/img and up View →
Claude Sonnet 4.6 Chat

Claude Sonnet 4.6

claude-sonnet-4-6

均衡高效的对话 / 代码模型

$1.50/1M tokens ↓50% View →
Gemini 3.1 Pro Chat

Gemini 3.1 Pro

gemini-3.1-pro

Google 新一代旗舰推理模型

$0.50/1M tokens ↓75% View →
Gemini 3.6 Flash Chat

Gemini 3.6 Flash

gemini-3.6-flash

新一代高速思考模型 · 四档思考预算

$0.60/1M tokens View →
Gemini 3.6 Flash High Chat

Gemini 3.6 Flash High

gemini-3.6-flash-high

深度思考档

$0.60/1M tokens View →
Gemini 3.6 Flash Low Chat

Gemini 3.6 Flash Low

gemini-3.6-flash-low

极速低耗档

$0.60/1M tokens View →
Gemini 3.6 Flash Tiered Chat

Gemini 3.6 Flash Tiered

gemini-3.6-flash-tiered

自动调档

$0.60/1M tokens View →
Gemini 3 Flash Chat

Gemini 3 Flash

gemini-3-flash-preview

高速低延迟,高性价比对话模型

$0.30/1M tokens ↓60% View →
Gemini 3.5 Flash Chat

Gemini 3.5 Flash

gemini-3.5-flash

新一代高速思考模型

$0.45/1M tokens ↓70% View →
Gemini 2.5 Flash Chat

Gemini 2.5 Flash

gemini-2.5-flash

高速低延迟,高性价比对话

$0.30/1M tokens ↓52% View →
Veo 3.1 Video

Veo 3.1

veo-3.1

文生 / 图生视频 · 多档 · 多分辨率

$0.075/clip+ View →