Generate images via Google Cloud Vertex AI generateContent using Application Default Credentials (ADC).
设计与多媒体
Google vertex video adc
试用Generate videos via Google Cloud Vertex AI predictLongRunning (Veo) using Application Default Credentials (ADC).
它能做什么
Generate videos via Google Cloud Vertex AI predictLongRunning (Veo) using Application Default Credentials (ADC).
技能文档
Google Cloud Vertex AI Video Generator (ADC)
This skill utilizes the Google Cloud SDK (gcloud) and application credentials to call the Google Cloud Vertex AI predictLongRunning (Veo) endpoint, generating videos from text prompts or reference images.
Workflow
- Configure required environment variables or parameters:
GOOGLE_CLOUD_PROJECT: Your Google Cloud Project ID.GOOGLE_CLOUD_LOCATION(Optional): Location/region (defaults tous-central1).GOOGLE_CLOUD_MODEL(Optional): Model name (defaults toveo-3.1-generate-001).
- Construct/save prompt to a local text file.
- Call the generation script.
Commands
Text-to-Video
python3 {baseDir}/scripts/video_harness.py --prompt-file --out
Image-to-Video
Provide an optional reference image:
python3 {baseDir}/scripts/video_harness.py --prompt-file --image --out
Advanced Usage
- Specify custom project, location, and model:
python3 {baseDir}/scripts/video_harness.py --prompt-file --out --project --location --model
- Custom resolution/aspect ratio/duration/audio generation:
python3 {baseDir}/scripts/video_harness.py --prompt-file --out --aspect-ratio 16:9 --duration 5 --resolution 720p --generate-audio false
Setup & Requirements
- Google Cloud SDK (
gcloudCLI) installed and available in$PATH. - Active authentication token:
- Default ADC mode:
gcloud auth application-default login - User-token mode:
gcloud auth login
- Default ADC mode:
- The system must have
curlinstalled to issue the API request.
相关技能
Use APIDot for Veo 3.1 API workflows, including Google Veo API, veo3.1-lite, veo3.1-fast, veo3.1-quality, text-to-video API, image-to-video API, reference im...
Generate and edit video with Veo 3 through RunAPI. Use when the user asks an agent to create, edit, or transform video with Veo 3. Default to the RunAPI CLI for one-off generation; use SDKs only when the user is integrating RunAPI into an app or backend.
Use APIDot for Veo 3.1 Official API workflows, including Google Veo 3.1 Official, veo3.1-fast-official, veo3.1-lite-official, veo3.1-quality-official, text-t...
Generate and extend videos using Google's Veo 3.1 Fast model via WaveSpeed AI. Supports text-to-video, image-to-video, and video extension. Features up to 4K resolution, audio generation, and chained extensions up to 148 seconds. Use when the user wants to create videos from text or images, or extend existing Veo-generated videos.
Use APIDot for video generation API workflows, including text-to-video API, image-to-video API, reference image video, Veo 3.1 API, Seedance 2 API, Sora API,...