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.
GOOGLE_CLOUD_PROJECT: Your Google Cloud Project ID.GOOGLE_CLOUD_LOCATION (Optional): Location/region (defaults to us-central1).GOOGLE_CLOUD_MODEL (Optional): Model name (defaults to veo-3.1-generate-001).bash
python3 {baseDir}/scripts/video_harness.py --prompt-file <prompt_path> --out <output_path>
Provide an optional reference image:
bash
python3 {baseDir}/scripts/video_harness.py --prompt-file <prompt_path> --image <image_path> --out <output_path>
bash
python3 {baseDir}/scripts/video_harness.py --prompt-file <prompt_path> --out <output_path> --project <project_id> --location <location> --model <model>
bash
python3 {baseDir}/scripts/video_harness.py --prompt-file <prompt_path> --out <output_path> --aspect-ratio 16:9 --duration 5 --resolution 720p --generate-audio false
gcloud CLI) installed and available in $PATH.gcloud auth application-default logingcloud auth logincurl installed to issue the API request.