Using curl to generate images through openAI-compatible mode calls shows 404

I run into similar issues: Gemini-2.5-flash-image documented in open ai mode but not really supported?

Is the documentation incorrect or my account setting incorrect, really confusing: https://ai.google.dev/gemini-api/docs/openai#generate-image

if the Gemini-2.5-flash-image not really supported in open ai endpoint, why add to documentation in advance?