Skip to main content
POST
GPT Image 2 All
gpt-image-2-all is a retired alternate GPT Image 2 serving route. It is not currently offered. Call GET /v1/models and use gpt-image-2.5-ext for live image generation.
Do not send production traffic to gpt-image-2-all. The live catalog keeps this offering disabled.
string
required
Set to gpt-image-2-all.
string
required
Describe the desired subject, composition, lighting, and style.
string
Use 1024x1024, 1536x1024, or 1024x1536. Other values use automatic framing.
integer
default:"1"
Set to 1; multiple-image requests are not supported.

Request

The request normally completes in 20 to 60 seconds. Set a timeout of at least 120 seconds and decode data[0].b64_json as image bytes.

Open the model playground

Run the same route from the FreeModel model page.