🌐
GitHub
github.com › googleapis › js-genai
GitHub - googleapis/js-genai: TypeScript/JavaScript SDK for Gemini and Vertex AI. · GitHub
April 25, 2026 - import { GoogleGenAI } from '@google/genai'; const ai = new GoogleGenAI({ enterprise: true, project: 'your_project', location: 'your_location', }); For NodeJS environments, you can create a client by configuring the necessary environment variables. Configuration setup instructions depends on whether you're using the Gemini Developer API or the Gemini Enterprise Agent Platform.
Starred by 1.6K users
Forked by 251 users
Languages   TypeScript 94.3% | JavaScript 5.1% | HTML 0.3% | Shell 0.2% | Starlark 0.1% | CSS 0.0%
🌐
GitHub
github.com › mohitejaikumar › generative-ai-js
GitHub - mohitejaikumar/generative-ai-js: The official Node.js / Typescript library for the Google Gemini API · GitHub
The official Node.js / Typescript library for the Google Gemini API - mohitejaikumar/generative-ai-js
Author   mohitejaikumar
🌐
npm
npmjs.com › package › @google › genai
google/genai
1 week ago - A list of accepted authentication options are listed in GoogleAuthOptions interface of google-auth-library-node.js GitHub repo. ... import {GoogleGenAI} from '@google/genai'; const GEMINI_API_KEY = process.env.GEMINI_API_KEY; const ai = new GoogleGenAI({apiKey: GEMINI_API_KEY}); async function main() { const response = await ai.models.generateContent({ model: 'gemini-2.5-flash', contents: 'Why is the sky blue?', }); console.log(response.text); } main();
      » npm install @google/genai
    
Published   Jun 24, 2026
Version   2.10.0
🌐
Google
codelabs.developers.google.com › codelabs › deploy-from-github › gen-ai-nodejs
Automatically Deploy Generative AI Node.js Web Application from Version Control to Cloud Run | Google Codelabs
After logging in, you'll see a message on the Cloud Run page stating The GitHub App is not installed on any of your repositories. Click on the INSTALL GOOGLE CLOUD BUILD button. On the Installation Setup page, select Only select repositories and choose the codelab-genai repository which you ...
🌐
GitHub
googleapis.github.io › js-genai › release_docs › index.html
@google/genai
import { GoogleGenAI } from '@google/genai'; const ai = new GoogleGenAI({ enterprise: true, project: 'your_project', location: 'your_location', }); Copy · For NodeJS environments, you can create a client by configuring the necessary environment variables. Configuration setup instructions depends on whether you're using the Gemini Developer API or the Gemini Enterprise Agent Platform.
🌐
Rishav's Blog
rishavd3v.hashnode.dev › google-gemini-with-nodejs
Google Gemini Generative AI Integration in Node JS
August 31, 2025 - In this article we covered the basic text generation from a prompt using Google Gemini. We'll cover things like Safety Settings, Conversation History, Image Processing in future articles. Here's the GitHub link for the project: https://github.com/rishavd3v/gemini-text · If you found the article helpful, please consider liking it and sharing it with your friends. You can follow me for more such helpful and interesting articles. ... #nodejs#gemini#ai#generative-ai#google-gemini#express#projects#web-development#webdev#javascript#apis#backend
🌐
GitHub
github.com › google-gemini › deprecated-generative-ai-js
GitHub - google-gemini/deprecated-generative-ai-js: This SDK is now deprecated, use the new unified Google GenAI SDK. · GitHub
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 JavaScript.
Starred by 1.2K users
Forked by 320 users
Languages   TypeScript 98.0% | JavaScript 2.0%
🌐
npm
npmjs.com › package › @revenium › google-genai
@revenium/google-genai - npm
February 19, 2026 - nodejs · usage-tracking · metering · ai · npm i @revenium/google-genai · github.com/revenium/revenium-middleware-google-node · github.com/revenium/revenium-middleware-google-node#readme · 54 · 0.2.3 · MIT · 4 months ago · gabi_sabadin ...
      » npm install @revenium/google-genai
    
Published   Feb 19, 2026
Version   0.2.3
Find elsewhere
🌐
GitHub
github.com › braincompany › generative-ai-js
GitHub - braincompany/generative-ai-js: The official Node.js / Typescript library for the Google Gemini API · GitHub
The official Node.js / Typescript library for the Google Gemini API - braincompany/generative-ai-js
Author   braincompany
🌐
GitHub
github.com › AndyC2513 › generative-ai-js
GitHub - andyc2513/generative-ai-js: The official Node.js / Typescript library for the Google Gemini API
The official Node.js / Typescript library for the Google Gemini API - andyc2513/generative-ai-js
Author   andyc2513
🌐
npm
npmjs.com › package › @zdooon › google-genai
@zdooon/google-genai - npm
November 27, 2025 - A list of accepted authentication options are listed in GoogleAuthOptions interface of google-auth-library-node.js GitHub repo. ... import {GoogleGenAI} from '@google/genai'; const GEMINI_API_KEY = process.env.GEMINI_API_KEY; const ai = new GoogleGenAI({apiKey: GEMINI_API_KEY}); async function main() { const response = await ai.models.generateContent({ model: 'gemini-2.5-flash', contents: 'Why is the sky blue?', }); console.log(response.text); } main();
      » npm install @zdooon/google-genai
    
Published   Nov 27, 2025
Version   1.30.0
🌐
Google
docs.cloud.google.com › gemini enterprise agent platform › google gen ai sdk
Google Gen AI SDK | Gemini Enterprise Agent Platform | Google Cloud Documentation
The Google Gen AI SDK for .NET is available on NuGet and GitHub: ... # Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_ENTERPRISE=True
🌐
npm
npmjs.com › package › @google › generative-ai › v › 0.8.0
Google AI JavaScript SDK
April 22, 2024 - Obtain an API key to use with the Google AI SDKs. cd into the samples/node folder and run npm install. Assign your API key to an environment variable: export API_KEY=MY_API_KEY. Run the sample file you're interested in.
      » npm install @google/generative-ai
    
Published   Apr 29, 2025
Version   0.8.0
🌐
GitHub
github.com › google-gemini › gemini-cli
GitHub - google-gemini/gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal. · GitHub
1 month ago - # Using npx (no installation required) npx @google/gemini-cli ... # Create and activate a new environment conda create -y -n gemini_env -c conda-forge nodejs conda activate gemini_env # Install Gemini CLI globally via npm (inside the environment) npm install -g @google/gemini-cli
Starred by 106K users
Forked by 14.2K users
Languages   TypeScript 98.1% | JavaScript 1.7% | Shell 0.1% | C# 0.1% | HTML 0.0% | Dockerfile 0.0%
🌐
npm
npmjs.com › package › @langchain › google-genai
@langchain/google-genai - npm
2 weeks ago - npm i @langchain/google-genai · github.com/langchain-ai/langchainjs · github.com/langchain-ai/langchainjs/tree/main/libs/providers/langchain-google-genai/ 702,467 · 2.2.0 · MIT · 10 days ago · lc-oss-admin · langchain-security · Analyze ...
      » npm install @langchain/google-genai
    
Published   Jun 17, 2026
Version   2.2.0
🌐
Google AI
ai.google.dev › gemini api › gemini api libraries
Gemini API libraries | Google AI for Developers
April 28, 2026 - The Google GenAI SDK is available for the Python, JavaScript/TypeScript, Go and Java languages. You can install each language's library using package managers, or visit their GitHub repos for further engagement:
🌐
GitHub
github.com › googleapis › js-genai › blob › main › codegen_instructions.md
js-genai/codegen_instructions.md at main · googleapis/js-genai
ApiError from @google/genai extends from EcmaScript Error and has message, name fields in addition to status (HTTP Code). The list of APIs and capabilities above are not comprehensive. If users ask you to generate code for a capability not provided above, refer them to https://googleapis.github.io/js-genai/.
Author   googleapis
🌐
npm
npmjs.com › package › @google › genai › v › 0.3.1
Google Gen AI SDK for TypeScript and JavaScript
March 11, 2025 - Documentation: https://googleapis.github.io/js-genai/ The Google Gen AI JavaScript SDK is an experimental SDK designed for TypeScript and JavaScript developers to build applications powered by Gemini.
      » npm install @google/genai
    
Published   Jun 03, 2026
Version   0.3.1
🌐
GitHub
github.com › samson-shukla › google-gemini-ai
GitHub - samson-shukla/google-gemini-ai: Google's Gemini API on NodeJs · GitHub
Google's Gemini API on NodeJs. Contribute to samson-shukla/google-gemini-ai development by creating an account on GitHub.
Starred by 28 users
Forked by 13 users
Languages   JavaScript