AIDiscount优汇智
Home / Models / OpenAI / gpt-image-2

gpt-image-2 API

gpt-image-2 is an OpenAI image generation model available on AIDiscount through one API key. Pay as you go, no subscription.

OpenAI

Model ID: gpt-image-2

Get an API keyRead the docs

gpt-image-2 pricing

Image (1K)$0.015 / image
Image (2K)$0.025 / image
Image (4K)$0.050 / image

Prices in USD. Live prices are shown on the models page.

Capabilities

Input typestext, image
Output typesimage
ReasoningNo
Tool callingNo

Supported API formats

OpenAI ResponsesPOST /v1/responses

Quick start

Use base URL https://aidiscount.ai/v1 with any OpenAI- or Anthropic-compatible SDK.

curl https://aidiscount.ai/v1/images/generations \
  -H "Authorization: Bearer $AIDISCOUNT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-image-2", "prompt": "A lighthouse at dawn", "size": "1024x1024"}'

More OpenAI models

Languages

English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Español · Français · Deutsch · Português · Русский