Skip to main content

GPT Image 2

GPT Image 2 uses the same model key for generation and editing. Omit image_urls for text-to-image, or provide up to 10 public HTTP(S) images for editing.

Request parameters

Submit to POST /api/v1/task/submit/gpt-image-2. Save the returned data.task_id and poll /api/v1/task/status.
Each request produces one image. The current gateway price is fixed regardless of the optional parameters, but /pricing remains the current source of truth.
See the GPT Image 2 API reference for the machine-readable Schema.