What problem does it solve?
This Skill helps you integrate Google's Gemini API into your applications, avoiding common pitfalls like using deprecated SDKs, incorrect model configurations, and inefficient token usage.
Core Features & Use Cases
- Correct SDK Usage: Employs the current
@google/genai SDK, guiding you away from the deprecated @google/generative-ai.
- Accurate Model Info: Provides correct details on Gemini 2.5 models, including their precise context window limits (1M tokens, not 2M).
- Advanced Features: Demonstrates multimodal inputs (images, video, audio, PDFs), function calling, streaming responses, context caching for cost savings, code execution, and grounding with Google Search.
- Use Case: Build a chatbot that can analyze user-uploaded images, perform complex calculations using code execution, and provide up-to-date information by searching the web, all while optimizing costs through context caching.
Quick Start
Use the google-gemini-api skill to generate text by sending a prompt to the gemini-2.5-flash model.