跳到正文

GPT Image 2

OpenAI API model for generating and editing images from text and image inputs

  • 付费
  • Usage-based API 起
  • 图像

收录于 AiTop3 最后更新于 developers.openai.com

GPT Image 2 是什么?

GPT Image 2 (model ID gpt-image-2) is an OpenAI image generation model offered through the OpenAI API. It takes text and image inputs and returns images, and OpenAI describes it as built for fast image generation and editing with flexible image sizes and high-fidelity image inputs. It works with the Image generation, Image edit and Batch endpoints and supports inpainting. The default snapshot is gpt-image-2-2026-04-21. Pricing is per token: $5 per 1M text input tokens, $8 per 1M image input tokens and $30 per 1M image output tokens, with Batch at half those rates. OpenAI now lists gpt-image-2 as deprecated, with a shutdown date of February 10, 2027, and recommends moving to gpt-image-2.6-sunburst or gpt-image-2.6-flare.

主要功能

让GPT Image 2有别于大多数已收录图像工具的 4 项功能。

  • Image generation

    Creates images from text prompts via the Image generation endpoint.

  • Image editing and inpainting

    Edits existing images through the Image edit endpoint, including inpainting.

  • Image inputs

    Accepts images as input alongside text, with flexible output sizes.

  • Batch processing

    Supports the Batch API at half the standard token prices.

价格

官方未以我们可读取的形式公布价格,请查看官方价格页面 ↗。

Standard API

  • $30/1M image output tokens
  • $8/1M image input tokens
  • $5/1M text input tokens

Batch API

  • $15/1M image output tokens
  • $4/1M image input tokens
  • $2.50/1M text input tokens

常见问题

关于 GPT Image 2 的常见问题,简短作答。

How much does GPT Image 2 cost?

Standard API pricing is $5 per 1M text input tokens, $8 per 1M image input tokens and $30 per 1M image output tokens. Batch pricing is half.

Is GPT Image 2 being retired?

Yes. OpenAI lists gpt-image-2 as deprecated with a shutdown date of February 10, 2027; the suggested replacements are gpt-image-2.6-sunburst or gpt-image-2.6-flare.

Which API endpoints support it?

Image generation (v1/images/generations), Image edit (v1/images/edits) and Batch (v1/batch).

GPT Image 2 的替代工具

其他已收录的图像工具,按编辑评分排序。 查看全部替代工具

Photoroom

AI background removers 第 1 名
最适合
Online sellers
价格
S$7.50/mo 起
9.0 比较

Pixlr

AI 修图工具 第 1 名
最适合
Editing in the browser
价格
$2.49/mo 起
8.8 比较

VSCO

AI 修图工具 第 3 名
最适合
Photographers
价格
$12.99/mo 起
8.3 比较