https://github.com/google-gemini/deprecated-generative-ai-python
This SDK is now deprecated, use the new unified GenAI SDK.
https://github.com/google-gemini/deprecated-generative-ai-python
gemini gemini-api google python
Last synced: 5 months ago
JSON representation
This SDK is now deprecated, use the new unified GenAI SDK.
- Host: GitHub
- URL: https://github.com/google-gemini/deprecated-generative-ai-python
- Owner: google-gemini
- License: apache-2.0
- Created: 2023-05-03T21:27:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-27T17:45:02.000Z (6 months ago)
- Last Synced: 2025-04-11T23:01:50.317Z (6 months ago)
- Topics: gemini, gemini-api, google, python
- Language: Python
- Homepage: https://github.com/googleapis/python-genai
- Size: 43.2 MB
- Stars: 2,201
- Watchers: 36
- Forks: 451
- Open Issues: 89
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- StarryDivineSky - google-gemini/deprecated-generative-ai-python
README
# [Deprecated] Google AI Python SDK for the Gemini API
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](https://github.com/googleapis/python-genai).
The full migration guide from the old SDK to new SDK is available in the [Gemini API docs](https://ai.google.dev/gemini-api/docs/migrate).
We won't be adding anything to this SDK or making any further changes. The Gemini API docs are fully updated to show examples of the new Google Gen AI SDK. 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](https://discuss.ai.google.dev/c/gemini-api/4) if you need any help!