gemini_media_use
Installation
SKILL.md
gemini_media_use
Use this skill when a task depends on understanding media content from local image, audio, or video files and Gemini is the right tool for that job.
Prefer the Gemini File API for larger media files instead of trying to inline them directly in prompts. The bundled helper scripts are standalone utilities and are safe to call directly from this skill.
Authentication (tried in this order):
GEMINI_API_KEYenv var (AI Studio mode).GOOGLE_API_KEYenv var (AI Studio mode).- Application Default Credentials via Vertex AI mode -- requires both
GOOGLE_CLOUD_PROJECTand an ADC file.GOOGLE_CLOUD_LOCATIONoverrides the defaultus-central1.
Setup options
Option A: AI Studio API key (simplest, works everywhere including File API upload):
export GEMINI_API_KEY=<key-from-https://aistudio.google.com/apikey>