协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
vertex-ai-media-master【开发与工程】Execute automatic activation for all google vertex ai multimodal operations operations. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: vertex-ai-media-master description: 'Execute automatic activation for all google vertex ai multimodal operations operations. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.
' allowed-tools: Read, Write, Edit, Grep, Glob, Bash(general:), Bash(util:) version: 2.25.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Multimodal media operations on Google Cloud Vertex AI covering video understanding, audio generation, image creation, and marketing campaign automation. This skill orchestrates Gemini 2.5 Pro/Flash, Imagen 4, and Lyria models to process, analyze, and generate rich media assets.
google-cloud-aiplatform Python SDK installed (pip install google-cloud-aiplatform[vision,audio])GOOGLE_CLOUD_PROJECT and GOOGLE_APPLICATION_CREDENTIALS environment variables setroles/aiplatform.user permissionus-central1 recommended for model availability).gs:// URIs) or provide local paths for smaller assets.| Error | Cause | Solution |
|---|---|---|
PermissionDenied on Vertex AI API | Service account lacks aiplatform.user role | Grant the required IAM role to the service account |
ResourceExhausted / quota exceeded | Too many concurrent requests or token limit hit | Implement request batching; switch to Gemini 2.5 Flash for lower-cost operations |
InvalidArgument on image generation | Prompt violates safety filters or unsupported aspect ratio | Revise the prompt to remove restricted content; use a supported aspect ratio (1:1, 16:9, 9:16) |
| Video processing timeout | Source video exceeds duration or resolution limits | Use low-resolution mode for videos over 2 hours; split longer videos into segments |
| Audio generation returns empty | Prompt too vague or duration parameter missing | Specify genre, tempo, mood, and an explicit duration in seconds |
NotFound on model ID | Incorrect model name or model not available in region | Verify the model ID against current Vertex AI documentation; try us-central1 |
Example 1: Analyze a competitor video ad
gs://bucket/competitor-ad.mp4.Example 2: Generate campaign assets from a product brief
Example 3: Repurpose a long-form video into short-form clips
${CLAUDE_SKILL_DIR}/references/core-capabilities.md