google-gemini-api

Community

Seamless Gemini API integration with GenAI.

AuthorDanejw
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables developers to integrate Google's Gemini API with the @google/genai SDK, unlocking advanced capabilities such as text generation, multimodal inputs (images, video, audio, PDFs), function calling, streaming, and thinking mode, while avoiding deprecated SDKs and common migration pitfalls.

Core Features & Use Cases

  • Gemini API integration with the GenAI SDK for Node.js/TypeScript environments.
  • Multimodal inputs, function calling, streaming, and thinking mode to support end-to-end workflows.
  • Clear guidance for production readiness, including error handling, token usage, and SDK migration.

Quick Start

Install the official SDK, set GEMINI_API_KEY, initialize GoogleGenAI, and run a basic generateContent request using gemini-2.5-flash to verify integration. Then explore advanced features like streaming and function calling via simple prompts to see live results.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: google-gemini-api
Download link: https://github.com/Danejw/viewbait/archive/main.zip#google-gemini-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.