gemini-api-integration

Featured

Use when integrating Google Gemini API into projects. Covers model selection, multimodal inputs, streaming, function calling, and production best practices.

AI & Automation 39,350 stars 6386 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Gemini API Integration ## Overview This skill guides AI agents through integrating Google Gemini API into applications — from basic text generation to advanced multimodal, function calling, and streaming use cases. It covers the full Gemini SDK lifecycle with production-grade patterns. ## When to Use This Skill - Use when setting up Gemini API for the first time in a Node.js, Python, or browser project - Use when implementing multimodal inputs (text + image/audio/video) - Use when adding streaming responses to improve perceived latency - Use when implementing function calling / tool use with Gemini - Use when optimizing model selection (Flash vs Pro vs Ultra) for cost and performance - Use when debugging Gemini API errors, rate limits, or quota issues ## Step-by-Step Guide ### 1. Installation & Setup **Node.js / TypeScript:** ```bash npm install @google/generative-ai ``` **Python:** ```bash pip install google-generativeai ``` Set your API key securely: ```bash export GEMINI_API_KEY="your-api-key-here" ``` ### 2. Basic Text Generation **Node.js:** ```javascript import { GoogleGenerativeAI } from "@google/generative-ai"; const genAI = new GoogleGenerativeAI(process.env.GEMINI_API_KEY); const model = genAI.getGenerativeModel({ model: "gemini-1.5-flash" }); const result = await model.generateContent("Explain async/await in JavaScript"); console.log(result.response.text()); ``` **Python:** ```python import google.generativeai as genai import os genai.configure(api...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Listed

gemini-api-dev

Use this skill when building applications with Gemini models, Gemini API, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage (google-genai for Python, @google/genai for JavaScript/TypeScript), model selection, and API capabilities.

335 Updated today
aiskillstore
AI & Automation Featured

gemini-api-dev

The Gemini API provides access to Google's most advanced AI models. Key capabilities include:

39,350 Updated today
sickn33
AI & Automation Solid

gemini-llm

Invoke Google Gemini 3 Pro for text generation, reasoning, and code tasks using the Python google-genai SDK. Supports gemini-3-pro-preview (best multimodal), gemini-2.5-pro (reasoning), and gemini-2.5-flash (fast).

364 Updated today
majiayu000
API & Backend Listed

gemini-live-api

Expert developer skill for implementing real-time voice and video interactions using the Google Gemini Live API. This skill should be used when implementing bidirectional audio streaming, voice conversations with interruption handling, real-time transcription, function calling in live sessions, session management, or voice customization.

3 Updated today
Hildegaardchiasmal966
AI & Automation Listed

gemini

Call the Gemini API (gemini-2.5-flash, gemini-2.5-pro, gemini-3-flash-preview, gemini-3-pro-preview, gemini-3.1-pro-preview) through RunAPI using the official OpenAI SDK or the native Google Generative AI SDK. Use when the user asks for Gemini chat, streaming completions, multimodal vision input, Google Search grounding, structured output, reasoning effort, or to point an existing OpenAI-compatible or Gemini-native client at RunAPI as the base URL.

0 Updated today
runapi-ai