POST /v1/tasks — the request URL does not change between them. They share the same actions and request shape; the differences are the aspect-ratio and resolution values, the line-specific parameters, and billing. Picking a model only changes the model field.
Available models
GPT Image 1
gpt-image-1 · text-to-image, edits with up to 15 references, mask inpainting and transparency; billed on actual token usageGPT Image 1.5
gpt-image-1.5 · the same actions and parameters as gpt-image-1, with text output as an extra billing dimension; billed on actual token usageGPT Image 2 Official
gpt-image-2 · 15 aspect ratios, 1k / 2k / 4k resolutions, up to 16 references, mask inpainting and WebP output; billed on actual token usageGPT Image 2 Reverse
gpt-image-2-rev · text-to-image and edits with up to 15 references; fixed per-image pricing at 1k, 2k, or 4kChoose a model
The models never switch automatically: the
model field selects the model, and its own page is authoritative for the parameters it accepts.What all four share
These are identical on all four models:Unified request
model for any model ID on this page and the request still runs. A successful submission returns a task_id. Retrieve the result with GET /v1/tasks/{task_id}, wait inline with Prefer: wait, or configure a webhook.