GPT 图像 2
受欢迎的OpenAI 图像生成栈,可与 ChatGPT Plus 及 API 工作流配合。
图像栈对比:Midjourney vs GPT Image vs Stable Diffusion · 图像生成 API 定价
关于 GPT 图像 2
GPT 图像 2 is OpenAI's current generation-and-editing image stack for developers and 聊天GPT users. In the API it ships as the model id gpt-image-2 (with snapshots such as gpt-image-2-2026-04-21). Consumer 聊天GPT surfaces it as 聊天GPT Images 2.0 / GPT 图像 2. It replaces the retired DALL·E 2 and DALL·E 3 API models, which OpenAI shut down on 2026-05-12 per its deprecations schedule.
与DALL·E 3相比,GPT 图像 2的目标是更快、更高质量的生成和编辑,尺寸灵活,提示跟随性强。新的集成应使用模型 gpt-image-2(或 gpt-image-1 / gpt-image-1-mini,如果适用)调用图像 API,而不是 dall-e-3。 聊天GPT Plus 及更高版本包括由该系列模型在对话中提供支持的图像生成功能。
核心功能
- ✓Current OpenAI flagship: 推荐 replacement for deprecated DALL·E 3 API access.
- ✓API model id gpt-image-2: Use with /v1/images/generations and editing endpoints per OpenAI image generation guide.
- ✓聊天GPT integration: Generate and refine images in natural-language chat (聊天GPT Images 2.0).
- ✓Generation and editing: Supports create and edit workflows; see official docs for input fidelity and size options.
- ✓Flexible aspect sizes: Supports multiple aspect ratios (see OpenAI docs; not the legacy DALL·E 1792×1024 set).
- ✓Safety and usage policies: Content filters and usage terms apply; commercial rights follow OpenAI's current policy for your tier.
定价
| 方案 | 价格 | 核心功能 |
|---|---|---|
| 聊天GPT | See 聊天GPT pricing | 付费 聊天GPT 计划中包含图像生成;限制因级别而异。 |
| OpenAI API (gpt-image-2) | See OpenAI image pricing | 根据 OpenAI GPT 图像定价表按图像/输出付费。, 旧版 dall-e-2 / dall-e-3 型号 ID 已停用。 |
官方定价来源: developers.openai.com · developers.openai.com · platform.openai.com
部分方案价格尚未在近期与官方来源核对,购买前请到官方定价页确认。
优缺点
✅ 优点
- ✅ OpenAI's supported current image stack (API + 聊天GPT)
- ✅ 与较旧的 DALL·E 线相比,具有强大的提示跟随和编辑功能
- ✅ 与 GPT 模型和 聊天GPT 工作流程相同的生态系统
- ✅ 记录了从 DALL·E 3 的迁移路径
⚠️ 缺点
- ⚠️ 不是 DALL·E 3 的直接 API 交换(响应格式、质量、大小参数不同)
- ⚠️ 某些 API 镜像功能需要组织验证
- ⚠️ 定价比传统的单张图像 DALL·E 报价更复杂
- ⚠️ 没有离线或开放重量的本地运行
适用场景
🖼️ 营销和产品视觉
Create and edit campaign assets, social posts, and concept art via API or 聊天GPT when you want OpenAI's latest image quality without maintaining DALL·E 3 integrations.
💬 聊天GPT 原生工作流程
已经使用 聊天GPT Plus 的团队可以在对话中迭代图像,而不是切换到 Discord 或单独的 UI。
🔧 从 DALL·E 3 迁移
Replace model=dall-e-3 with gpt-image-2, update response handling (often base64 b64_json), and refresh size/quality parameters per OpenAI's migration notes.
替代方案
常见问题
GPT 图像 2 是否取代了 DALL·E 3?
是的,用于新用途。 OpenAI 在 API 中弃用了 DALL·E 3(和 DALL·E 2),并于 2026 年 5 月 12 日关闭。推荐的替代品是 gpt-image-2、gpt-image-1 或 gpt-image-1-mini。 聊天GPT 消费者图像功能使用 GPT Image 系列(通常标记为 聊天GPT Images 2.0)。
Is the model called "image2"?
Not exactly. The API model id is gpt-image-2. Product names include GPT 图像 2 and 聊天GPT Images 2.0. There is no separate product literally named "image2".
GPT 图像 2 与 中途 有何不同?
GPT 图像 2 适合 聊天GPT 和 OpenAI API 工作流程,具有强大的指令遵循能力。 中途 通常凭借纯粹的美学影响和社区工作流程获胜,但使用自己的订阅和 Discord/Web UI。
我还可以调用型号 dall-e-3 吗?
No. After the 2026-05-12 API shutdown, dall-e-3 requests error. Migrate to gpt-image-2 and follow OpenAI's image generation guide for request and response changes.