| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:677cb20e-c0d2-36c5-2d95-749e7b396858 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 8D6A:1A3BFB:4E437F:622D00:6B02A5B2 |
| html-safe-nonce | fd5425b9e9b9b5afa10c10b34c112a14a0cfd1af4ff2b850b30a8b75ce3227e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDZBOjFBM0JGQjo0RTQzN0Y6NjIyRDAwOjZCMDJBNUIyIiwidmlzaXRvcl9pZCI6IjY5MzI3MzY4MjU3MzE3NTMzOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 12c8cfef5722647dfff8fc5fda3572be2b263d430bc2cf34f32ceccf6e419b41 |
| hovercard-subject-tag | repository:1245859416 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/vSpaceVote/python-genai |
| twitter:image | https://opengraph.githubassets.com/280bf9b2da5028ac01a193794ca662679dfd47367fe5a741c4b984ffbdd34cda/vSpaceVote/python-genai |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/280bf9b2da5028ac01a193794ca662679dfd47367fe5a741c4b984ffbdd34cda/vSpaceVote/python-genai |
| og:image:alt | Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. - vSpaceVote/python-genai |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/vSpaceVote/python-genai git https://github.com/vSpaceVote/python-genai.git |
| octolytics-dimension-user_id | 173621996 |
| octolytics-dimension-user_login | vSpaceVote |
| octolytics-dimension-repository_id | 1245859416 |
| octolytics-dimension-repository_nwo | vSpaceVote/python-genai |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 899744518 |
| octolytics-dimension-repository_parent_nwo | googleapis/python-genai |
| octolytics-dimension-repository_network_root_id | 899744518 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-genai |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/vSpaceVote/python-genai#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FvSpaceVote%2Fpython-genai |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FvSpaceVote%2Fpython-genai |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=vSpaceVote%2Fpython-genai |
| Reload | https://github.com/vSpaceVote/python-genai |
| Reload | https://github.com/vSpaceVote/python-genai |
| Reload | https://github.com/vSpaceVote/python-genai |
| vSpaceVote | https://github.com/vSpaceVote |
| python-genai | https://github.com/vSpaceVote/python-genai |
| Code | https://github.com/vSpaceVote/python-genai |
| Pull requests | https://github.com/vSpaceVote/python-genai/pulls |
| Actions | https://github.com/vSpaceVote/python-genai/actions |
| Projects | https://github.com/vSpaceVote/python-genai/projects |
| Security and quality | https://github.com/vSpaceVote/python-genai/security |
| Insights | https://github.com/vSpaceVote/python-genai/insights |
| https://github.com/vSpaceVote/python-genai |
| python-genai | https://github.com/vSpaceVote/python-genai |
| googleapis/python-genai | https://github.com/googleapis/python-genai |
| Notifications | https://github.com/login?return_to=%2FvSpaceVote%2Fpython-genai |
| Fork0 (0) | https://github.com/login?return_to=%2FvSpaceVote%2Fpython-genai |
| Star0 (0) | https://github.com/login?return_to=%2FvSpaceVote%2Fpython-genai |
| googleapis.github.io/python-genai/ | https://googleapis.github.io/python-genai/ |
| Readme | https://github.com/vSpaceVote/python-genai#readme-ov-file |
| License | https://github.com/vSpaceVote/python-genai#License-1-ov-file |
| Contributing | https://github.com/vSpaceVote/python-genai#contributing-ov-file |
| Activity | https://github.com/vSpaceVote/python-genai/activity |
| Custom properties | https://github.com/vSpaceVote/python-genai/custom-properties |
| 0 forks | https://github.com/vSpaceVote/python-genai/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FvSpaceVote%2Fpython-genai&report=vSpaceVote+%28user%29 |
| Branches | https://github.com/vSpaceVote/python-genai/branches |
| Tags | https://github.com/vSpaceVote/python-genai/tags |
| https://github.com/vSpaceVote/python-genai/branches |
| https://github.com/vSpaceVote/python-genai/tags |
| 1,223 Commits | https://github.com/vSpaceVote/python-genai/commits/main/ |
| https://github.com/vSpaceVote/python-genai/commits/main/ |
| .github | https://github.com/vSpaceVote/python-genai/tree/main/.github |
| .github | https://github.com/vSpaceVote/python-genai/tree/main/.github |
| docs | https://github.com/vSpaceVote/python-genai/tree/main/docs |
| docs | https://github.com/vSpaceVote/python-genai/tree/main/docs |
| google/genai | https://github.com/vSpaceVote/python-genai/tree/main/google/genai |
| google/genai | https://github.com/vSpaceVote/python-genai/tree/main/google/genai |
| .gitignore | https://github.com/vSpaceVote/python-genai/blob/main/.gitignore |
| .gitignore | https://github.com/vSpaceVote/python-genai/blob/main/.gitignore |
| CHANGELOG.md | https://github.com/vSpaceVote/python-genai/blob/main/CHANGELOG.md |
| CHANGELOG.md | https://github.com/vSpaceVote/python-genai/blob/main/CHANGELOG.md |
| CONTRIBUTING.md | https://github.com/vSpaceVote/python-genai/blob/main/CONTRIBUTING.md |
| CONTRIBUTING.md | https://github.com/vSpaceVote/python-genai/blob/main/CONTRIBUTING.md |
| LICENSE | https://github.com/vSpaceVote/python-genai/blob/main/LICENSE |
| LICENSE | https://github.com/vSpaceVote/python-genai/blob/main/LICENSE |
| MANIFEST.in | https://github.com/vSpaceVote/python-genai/blob/main/MANIFEST.in |
| MANIFEST.in | https://github.com/vSpaceVote/python-genai/blob/main/MANIFEST.in |
| README.md | https://github.com/vSpaceVote/python-genai/blob/main/README.md |
| README.md | https://github.com/vSpaceVote/python-genai/blob/main/README.md |
| codegen_instructions.md | https://github.com/vSpaceVote/python-genai/blob/main/codegen_instructions.md |
| codegen_instructions.md | https://github.com/vSpaceVote/python-genai/blob/main/codegen_instructions.md |
| pyproject.toml | https://github.com/vSpaceVote/python-genai/blob/main/pyproject.toml |
| pyproject.toml | https://github.com/vSpaceVote/python-genai/blob/main/pyproject.toml |
| releases.txt | https://github.com/vSpaceVote/python-genai/blob/main/releases.txt |
| releases.txt | https://github.com/vSpaceVote/python-genai/blob/main/releases.txt |
| requirements.txt | https://github.com/vSpaceVote/python-genai/blob/main/requirements.txt |
| requirements.txt | https://github.com/vSpaceVote/python-genai/blob/main/requirements.txt |
| setup.cfg | https://github.com/vSpaceVote/python-genai/blob/main/setup.cfg |
| setup.cfg | https://github.com/vSpaceVote/python-genai/blob/main/setup.cfg |
| README | https://github.com/vSpaceVote/python-genai |
| Contributing | https://github.com/vSpaceVote/python-genai |
| License | https://github.com/vSpaceVote/python-genai |
| https://github.com/vSpaceVote/python-genai#google-gen-ai-sdk |
| https://pypi.org/project/google-genai/ |
| https://camo.githubusercontent.com/0640884accf987e1480985f438a6071fa7a86007e36a7e20731ae36ad3194e8d/68747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f676f6f676c652d67656e6169 |
| https://pypistats.org/packages/google-genai |
| https://googleapis.github.io/python-genai/ | https://googleapis.github.io/python-genai/ |
| Gemini Developer API | https://ai.google.dev/gemini-api/docs |
| Gemini Enterprise Agent Platform | https://docs.cloud.google.com/gemini-enterprise-agent-platform |
| https://github.com/vSpaceVote/python-genai#code-generation |
| codegen_instructions.md | https://raw.githubusercontent.com/googleapis/python-genai/refs/heads/main/codegen_instructions.md |
| https://github.com/vSpaceVote/python-genai#installation |
| https://github.com/vSpaceVote/python-genai#imports |
| https://github.com/vSpaceVote/python-genai#create-a-client |
| Gemini Developer API | https://ai.google.dev/gemini-api/docs |
| Vertex AI | https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview |
| https://github.com/vSpaceVote/python-genai#using-types |
| https://github.com/vSpaceVote/python-genai#close-a-client |
| https://github.com/vSpaceVote/python-genai#client-context-managers |
| issues#1763 | https://github.com/googleapis/python-genai/issues/1763 |
| https://github.com/vSpaceVote/python-genai#api-selection |
| https://github.com/vSpaceVote/python-genai#faster-async-client-option-aiohttp |
| see _RequestOptions args | https://github.com/aio-libs/aiohttp/blob/v3.12.13/aiohttp/client.py#L170 |
| https://github.com/vSpaceVote/python-genai#proxy |
| supports | https://www.python-httpx.org/advanced/proxies/#socks |
| https://github.com/vSpaceVote/python-genai#custom-base-url |
| https://test-api-gateway-proxy.com/publishers/google/models/gemini-3-pro-preview | https://test-api-gateway-proxy.com/publishers/google/models/gemini-3-pro-preview |
| https://github.com/vSpaceVote/python-genai#types |
| Pydantic Models | https://docs.pydantic.dev/latest/concepts/models/ |
| https://github.com/vSpaceVote/python-genai#models |
| https://github.com/vSpaceVote/python-genai#generate-content |
| https://github.com/vSpaceVote/python-genai#with-text-content-input-text-output |
| https://github.com/vSpaceVote/python-genai#with-text-content-input-image-output |
| https://github.com/vSpaceVote/python-genai#with-uploaded-file-gemini-developer-api-only |
| https://github.com/vSpaceVote/python-genai#how-to-structure-contents-argument-for-generate_content |
| https://github.com/vSpaceVote/python-genai#provide-a-listtypescontent |
| https://github.com/vSpaceVote/python-genai#provide-a-typescontent-instance |
| https://github.com/vSpaceVote/python-genai#provide-a-string |
| https://github.com/vSpaceVote/python-genai#provide-a-list-of-strings |
| https://github.com/vSpaceVote/python-genai#provide-a-function-call-part |
| https://github.com/vSpaceVote/python-genai#provide-a-list-of-function-call-parts |
| https://github.com/vSpaceVote/python-genai#provide-a-non-function-call-part |
| https://github.com/vSpaceVote/python-genai#provide-a-list-of-non-function-call-parts |
| https://github.com/vSpaceVote/python-genai#mix-types-in-contents |
| https://github.com/vSpaceVote/python-genai#system-instructions-and-other-configs |
| Vertex AI docs | https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-5-flash |
| Gemini API docs | https://ai.google.dev/gemini-api/docs/models |
| https://github.com/vSpaceVote/python-genai#list-base-models |
| list tuned models | https://github.com/vSpaceVote/python-genai#list-tuned-models |
| https://github.com/vSpaceVote/python-genai#list-base-models-asynchronous |
| https://github.com/vSpaceVote/python-genai#safety-settings |
| https://github.com/vSpaceVote/python-genai#function-calling |
| https://github.com/vSpaceVote/python-genai#automatic-python-function-support |
| https://github.com/vSpaceVote/python-genai#disabling-automatic-function-calling |
| https://github.com/vSpaceVote/python-genai#manually-declare-and-invoke-a-function-for-function-calling |
| https://github.com/vSpaceVote/python-genai#function-calling-with-any-tools-config-mode |
| https://github.com/vSpaceVote/python-genai#model-context-protocol-mcp-support-experimental |
| MCP | https://modelcontextprotocol.io/introduction |
| https://github.com/vSpaceVote/python-genai#json-response-schema |
| https://github.com/vSpaceVote/python-genai#json-schema-support |
| https://github.com/vSpaceVote/python-genai#pydantic-model-schema-support |
| https://github.com/vSpaceVote/python-genai#generate-content-synchronous-streaming |
| https://github.com/vSpaceVote/python-genai#streaming-for-text-content |
| https://github.com/vSpaceVote/python-genai#streaming-for-image-content |
| Google Cloud Storage | https://cloud.google.com/storage |
| https://github.com/vSpaceVote/python-genai#generate-content-asynchronous-non-streaming |
| async methods | https://docs.python.org/3/library/asyncio.html |
| https://github.com/vSpaceVote/python-genai#generate-content-asynchronous-streaming |
| https://github.com/vSpaceVote/python-genai#count-tokens-and-compute-tokens |
| https://github.com/vSpaceVote/python-genai#compute-tokens |
| https://github.com/vSpaceVote/python-genai#async |
| https://github.com/vSpaceVote/python-genai#local-count-tokens |
| https://github.com/vSpaceVote/python-genai#local-compute-tokens |
| https://github.com/vSpaceVote/python-genai#embed-content |
| https://github.com/vSpaceVote/python-genai#imagen |
| https://github.com/vSpaceVote/python-genai#generate-images |
| https://github.com/vSpaceVote/python-genai#upscale-image |
| https://github.com/vSpaceVote/python-genai#edit-image |
| https://github.com/vSpaceVote/python-genai#veo |
| https://github.com/vSpaceVote/python-genai#generate-videos-text-to-video |
| https://github.com/vSpaceVote/python-genai#generate-videos-image-to-video |
| https://github.com/vSpaceVote/python-genai#generate-videos-video-to-video |
| https://github.com/vSpaceVote/python-genai#chats |
| https://github.com/vSpaceVote/python-genai#send-message-synchronous-non-streaming |
| https://github.com/vSpaceVote/python-genai#send-message-synchronous-streaming |
| https://github.com/vSpaceVote/python-genai#send-message-asynchronous-non-streaming |
| https://github.com/vSpaceVote/python-genai#send-message-asynchronous-streaming |
| https://github.com/vSpaceVote/python-genai#files |
| https://github.com/vSpaceVote/python-genai#upload |
| https://github.com/vSpaceVote/python-genai#get |
| https://github.com/vSpaceVote/python-genai#delete |
| https://github.com/vSpaceVote/python-genai#caches |
| https://github.com/vSpaceVote/python-genai#create |
| https://github.com/vSpaceVote/python-genai#get-1 |
| https://github.com/vSpaceVote/python-genai#generate-content-with-caches |
| https://github.com/vSpaceVote/python-genai#interactions-preview |
| documentation site | https://ai.google.dev/gemini-api/docs/interactions |
| https://github.com/vSpaceVote/python-genai#basic-interaction |
| https://github.com/vSpaceVote/python-genai#stateful-conversation |
| https://github.com/vSpaceVote/python-genai#agents-deep-research |
| https://github.com/vSpaceVote/python-genai#multimodal-input |
| https://github.com/vSpaceVote/python-genai#function-calling-1 |
| https://github.com/vSpaceVote/python-genai#built-in-tools |
| https://github.com/vSpaceVote/python-genai#grounding-with-google-search |
| https://github.com/vSpaceVote/python-genai#code-execution |
| https://github.com/vSpaceVote/python-genai#multimodal-output |
| https://github.com/vSpaceVote/python-genai#tunings |
| https://github.com/vSpaceVote/python-genai#tune |
| Vertex AI Multimodal Dataset | https://docs.cloud.google.com/vertex-ai/generative-ai/docs/multimodal/datasets |
| https://github.com/vSpaceVote/python-genai#get-tuning-job |
| https://github.com/vSpaceVote/python-genai#use-tuned-model |
| https://github.com/vSpaceVote/python-genai#get-tuned-model |
| https://github.com/vSpaceVote/python-genai#list-tuned-models |
| list base models | https://github.com/vSpaceVote/python-genai#list-base-models |
| https://github.com/vSpaceVote/python-genai#async-1 |
| https://github.com/vSpaceVote/python-genai#update-tuned-model |
| https://github.com/vSpaceVote/python-genai#list-tuning-jobs |
| https://github.com/vSpaceVote/python-genai#async-2 |
| https://github.com/vSpaceVote/python-genai#batch-prediction |
| https://github.com/vSpaceVote/python-genai#create-1 |
| https://github.com/vSpaceVote/python-genai#list |
| https://github.com/vSpaceVote/python-genai#async-3 |
| https://github.com/vSpaceVote/python-genai#delete-1 |
| https://github.com/vSpaceVote/python-genai#error-handling |
| APIError | https://github.com/googleapis/python-genai/blob/main/google/genai/errors.py |
| https://github.com/vSpaceVote/python-genai#extra-request-body |
| https://cloud.google.com/vertex-ai/docs/reference/rest | https://cloud.google.com/vertex-ai/docs/reference/rest |
| https://ai.google.dev/api/rest | https://ai.google.dev/api/rest |
| googleapis.github.io/python-genai/ | https://googleapis.github.io/python-genai/ |
| Readme | https://github.com/vSpaceVote/python-genai#readme-ov-file |
| License | https://github.com/vSpaceVote/python-genai#License-1-ov-file |
| Contributing | https://github.com/vSpaceVote/python-genai#contributing-ov-file |
| Activity | https://github.com/vSpaceVote/python-genai/activity |
| Custom properties | https://github.com/vSpaceVote/python-genai/custom-properties |
| 0 forks | https://github.com/vSpaceVote/python-genai/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FvSpaceVote%2Fpython-genai&report=vSpaceVote+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |