Setup & Installation
What This Skill Does
Guides development with the Gemini API on Google Cloud Vertex AI using the Gen AI SDK. Covers text generation, multimodal inputs, function calling, structured output, embeddings, context caching, real-time streaming via Live API, and batch prediction across Python, JS/TS, Go, Java, and C#.
It enforces use of the current Gen AI SDK instead of deprecated Vertex AI SDKs, which prevents authentication mismatches and broken API calls that silently fail with legacy libraries.
When to use it
- Calling Gemini models from a Python backend with Application Default Credentials
- Generating structured JSON output that matches a specific schema for data pipelines
- Processing uploaded video or audio files through Vertex AI multimodal endpoints
- Running batch predictions on large datasets asynchronously without blocking
- Setting up bidirectional audio streaming with the Live API for real-time voice apps