With Gemini 2.0, we took the chance to create a single unified SDK for all developers who want to use Google's GenAI models (Gemini, Veo, Imagen, etc). As part of that process, we took all of the feedback from this SDK and what developers like about other SDKs in the ecosystem to create the Google Gen AI SDK.
The Gemini API docs are fully updated to show examples of the new Google Gen AI SDK: Get started.
We know how disruptive an SDK change can be and don't take this change lightly, but our goal is to create an extremely simple and clear path for developers to build with our models so it felt necessary to make this change.
Thank you for building with Gemini and let us know if you need any help!
Please be advised that this repository is now considered legacy. For the latest features, performance improvements, and active development, we strongly recommend migrating to the official Google Generative AI SDK for Go.
Support Plan for this Repository:
We encourage all users to begin planning their migration to the Google Generative AI SDK to ensure continued access to the latest capabilities and support.
Overall
Maintained
Code review
Go module
Latest release
Releases this year
1,966 followers · starred Jan 2024
716 followers · starred Dec 2023
369 followers · starred Apr 2025
901 followers · starred Mar 2025
With Gemini 2.0, we took the chance to create a single unified SDK for all developers who want to use Google's GenAI models (Gemini, Veo, Imagen, etc). As part of that process, we took all of the feedback from this SDK and what developers like about other SDKs in the ecosystem to create the Google Gen AI SDK.
The Gemini API docs are fully updated to show examples of the new Google Gen AI SDK: Get started.
We know how disruptive an SDK change can be and don't take this change lightly, but our goal is to create an extremely simple and clear path for developers to build with our models so it felt necessary to make this change.
Thank you for building with Gemini and let us know if you need any help!
Please be advised that this repository is now considered legacy. For the latest features, performance improvements, and active development, we strongly recommend migrating to the official Google Generative AI SDK for Go.
Support Plan for this Repository:
We encourage all users to begin planning their migration to the Google Generative AI SDK to ensure continued access to the latest capabilities and support.
Overall
Maintained
Code review
Go module
Latest release
Releases this year
1,966 followers · starred Jan 2024
716 followers · starred Dec 2023
369 followers · starred Apr 2025
901 followers · starred Mar 2025