Getting ClientError for labs

Getting ClientError for all labs in the course-“AI Agents for Image and Video Generation”, while generating image.

Hi @Navjot_Kaur_Cheema

:warning: Compatibility Update — July 2026:

Notebooks have been updated to use the current release of the Gemini image model.

Migration Details

  • Old endpoint: gemini-3.1-flash-image-preview
  • New endpoint: gemini-3.1-flash-image

Happy Learning,

-- Lesly, DLAI