Support for Gemini AI image generation model ends on August 17, 2026; please update the model name in your code using the Gemini API.
Example of updating the model code name from “imagen-4.0-generate-001” to “gemini-3.1-flash-image” due to the discontinuation of the Gemini AI image model on August 17, 2026.
