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 Imagen models for image generation and editing (inpainting, outpainting, background swap) and Veo models 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:
import { vertex } from '@ai-sdk/google-vertex';
Related skills