All skills
gemini-api
Write Gemini API code with the unified Google Gen AI SDK for text, images, video, and tools.
- Part of google/skills
- 18.8k installs
- AI Engineering · Model gateways
When to use it
You have a Google Cloud project and need working Gemini calls, but aren't sure which SDK, model ID, or config to use.
For example
You say
Using the gemini-api skill, write a Python script that sends a product photo to Gemini and returns a structured JSON list of detected objects with bounding boxes.
You get
- Python script using google-genai
- JSON schema config
- Bounding box parsing
How it works
- Covers text, multimodal, structured JSON, function calling, grounding, image/video/audio generation, embeddings, caching, batch, and tuning.
- Points to the current model lineup and warns against deprecated SDKs and model IDs.
Before installing
Requires active Google Cloud credentials, billing enabled, and the aiplatform.googleapis.com API enabled.
More Model gateways skills
See all- claude-api82.5kAnswers questions about Claude API model ids, pricing, parameters, streaming, tool use, caching and migration.
- gemini5.4kRuns one-shot Gemini prompts for summaries, generation, skills, hooks, MCP, or Gemma routing.
- 9router251Sets up the 9Router AI gateway and points you to the right capability skill for each task.
- 9router-chat161Sends prompts to language models through 9Router for chat, code generation and summarising, with streaming and fallback.
Also in this pack
- cloud-run-basics19.4kDeploys and manages Cloud Run services, jobs and worker pools.
- google-cloud-recipe-auth17.1kExplains how to authenticate and authorize users and services to Google Cloud APIs, including IAM and ADC.
- google-cloud-recipe-onboarding16.9kWalks a new developer through creating a Google Cloud account, setting up billing and deploying a first resource.
- cloud-sql-basics16.3kCreates and explains Cloud SQL instances and databases for MySQL, PostgreSQL and SQL Server.