vertex-media-generation
Installation
SKILL.md
Vertex Media Generation
Overview
Build image and video generation features using Google Vertex AI through the Vercel AI SDK. Covers Gemini image models for image generation and mask-free editing (Google discontinued the Imagen endpoints on Vertex AI) and Veo 3.1 for video generation with optional audio. Uses the @ai-sdk/google-vertex provider with the unified ai SDK.
Instructions
Step 1: Set up the project
npm install ai @ai-sdk/google-vertex
gcloud auth application-default login
Use the default provider instance (reads GOOGLE_CLOUD_PROJECT from env), or create a custom one: