gpt-image-2 API

Call gpt-image-2 on 88API with one token: OpenAI Images API at /v1/images/generations, billed per image or per request, with several price groups.

Pay as you go Several price groups Free trial credit on sign-up
gpt-image-2 ¥
  • Lowest price
    Lowest-price group: 企业原生接口生图2 groups available
See all group prices

About the model

GPT Image 2 是高质量图像生成与编辑模型,适合商业设计、精细绘图、复杂构图和高一致性视觉创作。

Family
GPT Image
Vendor
OpenAI
Endpoint
POST /v1/images/generations

gpt-image-2 prices by group

Group price = list price × group ratio. Group names and descriptions are shown exactly as in the console; you can choose a group when creating a token.

Prices in CNY (¥); live prices are shown in the Model Square.

gpt-image-2 prices by group
Group Discount Price Description
企业原生接口生图—¥0.2 / imageAWS/AZ 原生生图接口 高并发 满参数
生图模型—¥0.2 / image支持24小时高并发 124K同价 量大联系客服优惠

Request example

Endpoint https://api.88api.ai/v1/images/generations, with your token in the Authorization header. See the API docs for supported sizes and options.

Request · POST /v1/images/generations
curl https://api.88api.ai/v1/images/generations \
  -H "Authorization: Bearer sk-your-token" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-image-2", "prompt": "An orange cat sitting by the window, soft afternoon light, photorealistic", "size": "1024x1024", "n": 1}'

Sign up and call gpt-image-2

Trial credit is added automatically when you sign up. Create a token and call the model as in the example above.