External Publication
Visit Post

Error when attempting to access gpt-image-1.5 in images/edits

OpenAI Developer Community March 3, 2026
Source

The docs for “edits” simply “never said” what was needed at all - the prior set of parameters is still around, and it is easy to make a mistaken assumption that if you want ‘b64’ you still might ask for it. Missing:

_j:

Unsupported for gpt-image-1.

Then, if you are forced to infer parameter usage from the “generations” docs, you might also wonder why “quality” of gpt-image models doesn’t work on the edits API, either.

Here’s the “edits” API documentation with “response_format” that was wiped, instead of properly modified with notations.

model:
  anyOf:
    - type: string
    - type: string
      enum:
        - dall-e-2
      x-stainless-const: true
  x-oaiTypeLabel: string
  nullable: true
  description: The model to use for image generation. Only `dall-e-2` is supported at this time.
'n':
  type: integer
  minimum: 1
  maximum: 10
  default: 1
  example: 1
  nullable: true
  description: The number of images to generate. Must be between 1 and 10.
response_format:
  type: string
  enum:
    - url
    - b64_json
  default: url
  example: url
  nullable: true
  description: >-
    The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs
    are only valid for 60 minutes after the image has been generated.

Discussion in the ATmosphere

Loading comments...