返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

veo-build

使用Google的Veo 2和Veo 3模型创建和编辑视频。支持文本转视频、图片转视频、修复和高级控制。

person作者: jakexiaohubgithub

Veo Video Generation and Editing

This skill provides comprehensive workflows for using Google's Veo models (Veo 2 and Veo 3) via the google-genai Python SDK.

Quick Start Setup

All Veo operations require the google-genai library and an authenticated client with Vertex AI enabled.

from google import genai
from google.genai import types
import os

PROJECT_ID = os.environ.get("GOOGLE_CLOUD_PROJECT")
LOCATION = os.environ.get("GOOGLE_CLOUD_REGION", "us-central1")

client = genai.Client(vertexai=True, project=PROJECT_ID, location=LOCATION)

Reference Materials

Available Workflows

1. Video Generation (Veo 3)

Create new videos from text or image prompts.

  • Text-to-Video: Create videos from detailed text descriptions.
  • Image-to-Video: Animate static images.
  • Prompt Engineering: Optimization keywords for camera, lighting, and style.

2. Video Editing (Veo 2)

Modify existing videos using masks (Inpainting).

  • Remove Objects: Erase dynamic or static objects.
  • Insert Objects: Add new elements into a scene.

3. Advanced Controls (Veo 3)

Specialized generation tasks for precise control.

  • Frame Interpolation: Generate video bridging two images (first & last frame).
  • Video Extension: Extend the duration of an existing video clip.
  • Reference-to-Video: Use specific asset images (subjects, products) to guide generation.