External Publication
Visit Post

EDIT Endpoint - /images/edits refusing gpt-image models

OpenAI Developer Community March 4, 2026
Source

Aha, that is fair feedback. This behavior should be documented more clearly.

Thanks for raising this issue.

I suppose the solution is that if the image is in memory either:

  • send it as a multipart file part (io.BytesIO with a filename), or
  • upload it first and pass the file_id in JSON.

Discussion in the ATmosphere

Loading comments...