Documentation Index
Fetch the complete documentation index at: https://docs.crazyrouter.com/llms.txt
Use this file to discover all available pages before exploring further.
Chat Image Generation
gpt-4oreturns200, butmessage.contentis plain text, not standard multipart image contentgpt-image-2also 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-2; for Grok image models, seeGrok Image Models - If you need reference-image editing or multi-image input, do not keep treating the Nano Banana family as a stable
/v1/images/generationsentry point. Start with the native Gemini path documented onNano Banana 2;Nano Bananais currently controlled-testing only
Currently Reproducible Chat Behavior
The following request hitgpt-image-2 in production and returned 200:
message.content was a string shaped roughly like:
Stable Path: Images API
If you need programmatic image retrieval, use:gpt-image-2 stable path uses the primary image route https://cn.crazyrouter.com/v1. Responses usually include:
data[0].url
gpt-image-2 does not support response_format; do not send response_format="url" or response_format="b64_json". To choose the image file format, use output_format="png", "jpeg", or "webp".
So the stable automation path is still the Images API, not the chat-image compatibility path.
If you are only testing manually, the
gpt-image-2 chat path is still useful for observation. If you need backend automation, storage, or post-processing, use the GPT Image docs or Grok Image Models. If your workload depends on reference-image editing or multi-image input, start with the native Gemini route documented on Nano Banana 2. Do not keep treating Nano Banana-family /v1/images/generations as the stable recommendation.