Chat Image Generation
gpt-4oreturns200, butmessage.contentis plain text, not standard multipart image contentgpt-4o-imagealso returns200, but the current response shape is still text or Markdown containing a parameter block, an ID, and a preview link, not the standard OpenAIimage_urlmultipart structure- If you need stable, machine-readable image output, the current recommended path is
/v1/images/generationswithgpt-image-1 - If you need reference-image editing or multi-image input, use the Nano Banana family Images API pages:
Nano Banana,Nano Banana Pro, andNano Banana 2
Currently Reproducible Chat Behavior
The following request hitgpt-4o-image in production and returned 200:
message.content was a string shaped roughly like:
Stable Path: Images API
If you need programmatic image retrieval, use:data[0].b64_jsondata[0].revised_prompt
If you are only testing manually, the
gpt-4o-image chat path is still useful for observation. If you need backend automation, storage, or post-processing, use the GPT Image docs directly. If your workload depends on reference-image editing or multi-image input, use Nano Banana, Nano Banana Pro, or Nano Banana 2 instead.