npm
npmjs.com › package › @google › generative-ai
@google/generative-ai - npm
April 29, 2025 - Google AI JavaScript SDK. Latest version: 0.24.1, last published: a year ago. Start using @google/generative-ai in your project by running `npm i @google/generative-ai`. There are 1945 other projects in the npm registry using @google/generative-ai.
» npm install @google/generative-ai
Published Apr 29, 2025
Version 0.24.1
npm
npmjs.com › package › @google › genai
@google/genai - npm
1 week ago - Call generateContent with function calling enabled · Use the returned FunctionCall parameters to call your actual function · Send the result back to the model (with history, easier in ai.chat) as a FunctionResponse · import {GoogleGenAI, FunctionCallingConfigMode, FunctionDeclaration, Type} from '@google/genai'; const GEMINI_API_KEY = process.env.GEMINI_API_KEY; async function main() { const controlLightDeclaration: FunctionDeclaration = { name: 'controlLight', parametersJsonSchema: { type: 'object', properties:{ brightness: { type:'number', }, colorTemperature: { type:'string', }, }, requi
» npm install @google/genai
Published Jun 24, 2026
Version 2.10.0
npm
npmjs.com › package › @google-ai › generativelanguage
@google-ai/generativelanguage - npm
January 29, 2026 - Start using @google-ai/generativelanguage in your project by running `npm i @google-ai/generativelanguage`. There are 36 other projects in the npm registry using @google-ai/generativelanguage.
» npm install @google-ai/generativelanguage
Published May 01, 2026
Version 3.7.1
npm
npmjs.com › package › @ai-sdk › google
@ai-sdk/google - npm
May 27, 2026 - The **[Google provider](https://ai-sdk.dev/providers/ai-sdk-providers/google-generative-ai)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [Google Generative AI](https://ai.google/discover/generativeai/) APIs.. Latest version: 4.0.0, last published: 25 minutes ago.
» npm install @ai-sdk/google
Published Jun 25, 2026
Version 4.0.0
npm
npmjs.com › package › @langchain › google-genai
@langchain/google-genai - npm
2 weeks ago - import { GoogleGenerativeAIEmbeddings } from "@langchain/google-genai"; import { TaskType } from "@google/generative-ai"; const embeddings = new GoogleGenerativeAIEmbeddings({ modelName: "embedding-001", // 768 dimensions taskType: TaskType.RETRIEVAL_DOCUMENT, title: "Document title", }); const res = await embeddings.embedQuery("OK Google");
» npm install @langchain/google-genai
Published Jun 17, 2026
Version 2.2.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
Note that in Europe the free tier is not available. Try the Node.js quickstart · See the Node.js quickstart for complete code. Install the SDK package · npm install @google/generative-ai ·
Author mohitejaikumar
Google
docs.cloud.google.com › node.js › client libraries
Node.js client libraries | Google Cloud Documentation
The dist-tags follow the naming convention legacy-(version). For example, npm install @google-ai/generativelanguage@legacy-8 installs client libraries for versions compatible with Node.js 8.
deps.dev
deps.dev › npm › @google › generative-ai › 0.11.5
google/generative-ai | npm
May 29, 2024 - You need to enable JavaScript to run this app
npm
npmjs.com › package › @genkit-ai › google-genai
@genkit-ai/google-genai - npm
3 weeks ago - This plugin provides a unified interface to connect with Google's generative AI models, offering access through both the Gemini API and the Gemini Enterprise Agent Platform.
» npm install @genkit-ai/google-genai
Published Jun 26, 2026
Version 1.39.0
npm
npmjs.com › package › @revenium › google-genai
@revenium/google-genai - npm
February 19, 2026 - npm install @revenium/google-genai · Add to your existing .env file: GOOGLE_API_KEY=your_google_ai_api_key_here REVENIUM_METERING_API_KEY=your_revenium_api_key_here # Optional: For development/testing (defaults to https://api.revenium.ai) # ...
» npm install @revenium/google-genai
Published Feb 19, 2026
Version 0.2.3
npm
npmjs.com › package › @voltagent › google-ai
@voltagent/google-ai - npm
Note: @google/genai is a peer dependency. zod is required if using generateObject. import { GoogleAIProvider } from "@voltagent/google-ai"; // Direct API Key const googleProvider = new GoogleAIProvider({ apiKey: "YOUR_GOOGLE_API_KEY", }); // Or via Environment Variable (GOOGLE_GENERATIVE_AI_API_KEY) const googleProvider = new GoogleAIProvider({});
» npm install @voltagent/google-ai
Published Aug 07, 2025
Version 0.4.2
Google Cloud
cloud.google.com › node.js › documentation › reference
Node.js client library | Google Cloud
The dist-tags follow the naming convention legacy-(version). For example, npm install @google-ai/generativelanguage@legacy-8 installs client libraries for versions compatible with Node.js 8.
Vercel Community
community.vercel.com › help
Issue with Deployment related to @google/genai versus @google/generative-ai - Help - Vercel Community
December 17, 2025 - I created my first app with Gemini. Successfully saved it to GitHub and connected to Vercel account. When I try to deploy it, I get an error: npm error code ETARGET npm error notarget No matching version found for @google/genai@^0.1.1. npm error notarget In most cases you or one of your dependencies are requesting npm error notarget a package version that doesn’t exist. npm error A complete log of this run can be found in: /vercel/.npm/_logs/2025-12-17T03_22_24_538Z-debug-0.log Error: Comm...
Google
docs.cloud.google.com › gemini enterprise agent platform › google gen ai sdk
Google Gen AI SDK | Gemini Enterprise Agent Platform | Google Cloud Documentation
import ( "context" "fmt" "io" "google.golang.org/genai" ) // generateWithText shows how to generate text using a text prompt. func generateWithText(w io.Writer) error { ctx := context.Background() client, err := genai.NewClient(ctx, &genai.ClientConfig{ HTTPOptions: genai.HTTPOptions{APIVersion: "v1"}, }) if err != nil { return fmt.Errorf("failed to create genai client: %w", err) } resp, err := client.Models.GenerateContent(ctx, "gemini-2.5-flash", genai.Text("How does AI work?"), nil, ) if err != nil { return fmt.Errorf("failed to generate content: %w", err) } respText := resp.Text() fmt.Fprintln(w, respText) // Example response: // That's a great question! Understanding how AI works can feel like ... // ... // **1. The Foundation: Data and Algorithms** // ... return nil } The Google Gen AI SDK for TypeScript and JavaScript is available on npm and GitHub: @google/genai on npm ·
npm
npmjs.com › package › @fuyun › generative-ai
@fuyun/generative-ai - npm
Google AI JavaScript SDK. Latest version: 0.24.0, last published: 8 months ago. Start using @fuyun/generative-ai in your project by running `npm i @fuyun/generative-ai`. There are no other projects in the npm registry using @fuyun/generative-ai.
» npm install @fuyun/generative-ai
Npm
npm.io › package › @google › generative-ai
@google/generative-ai NPM | npm.io
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.