GPT Image 2 Image API Parameters

The GPT Image 2 asynchronous image contract accepted by this API.

Provider: Volcano Engine China · Last verified: 2026-08-17

Model summary

Provider
GRSAI
Region
Global
Fixed credit cost
20
Output type
image
Operations
generation, edit
Image sizes
1K

Generation request

json
{
  "model": "gpt-image-2",
  "prompt": "A cinematic product photograph with soft studio lighting",
  "size": "1024x1024",
  "response_format": "url"
}

Image field contract

FieldUseValues
modelRequired model IDgpt-image-2
promptRequired generation or editing instruction1–20,000 characters
sizePixel dimensions256–1024 pixels per side
image_urlsRequired only for edits1–16 public HTTPS URLs
response_formatOptionalurl

Review the image API guide.