Imagen 4 shut down on 17 August 2026: the generate_content() migration, with cost math
Imagen 4 shut down on 17 August 2026. generate_images() is gone, the response shape changes and number_of_images no longer exists. What to move to now, the code changes and the per-image cost.