Image Generation and Vision in Spring AI: ImageModel, Prompt Options and Safe Storage
How to generate images with Spring AI's ImageModel and keep them safely: what the real OpenAiImageModel sends (including an options object that silently resets the model), a moderation gate and what Spring AI does not moderate, verified storage in MinIO/S3 with sniffed content types, size and pixel caps and server-chosen keys, and a per-provider cost table dated 2026-10-28. No image provider was called; the model and moderation are scripted fakes and the bucket is a real MinIO.