GPT Image Models
GPT image models use the image generation endpoint.
For GPT image models, set image generation options as top-level fields in the request body. The route and route_mode fields in the example are OpenModels routing options; remove them to use the default available route.