agentleFS
SC32brSC32br/hermes-skill-veo-vertex/SKILL.md

veo-video

Skill2 starsChanged 6 months agoMITView on GitHub

Use when generating or extending video using Vertex AI Veo 3.1. Supports text-to-video, image-to-video, first-and-last frame interpolation, and extending videos up to 30s. Automatically handles Google Cloud Storage uploads/downloads.

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. kevinbadi/ai-os-skills★ 69same name
    2. AceDataCloud/Skills★ 17same name
    3. brandonbryant12/clearframe★ 1same name
    4. Dimks777/aiclub★ 0same name
    5. G-HunterAi/openclaw-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before running the generation script, ensure the following environment variables are set:

    line 35

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Veo Video Generation

Overview

This skill provides seamless integration with Google's state-of-the-art Veo 3.1 video generation model via Vertex AI.

The accompanying script automatically uploads local source images/videos to Google Cloud Storage (GCS), orchestrates the long-running generation task on Google's servers, and downloads the resulting MP4 video back to the local filesystem. It fully supports Veo's advanced features, including creating seamless transitions between two images and extending 8-second clips up to 30 seconds.

When to Use

  • Generating high-quality B-roll or cinematic footage from a text prompt.
  • Animating a static image (Image-to-Video).
  • Creating smooth transitions between two distinct images (First-and-Last Frame interpolation).
  • Extending existing Veo-generated videos beyond the initial 8 seconds.
  • You need background execution because Veo video generation takes 2-5 minutes per clip.

Don't use for:

  • Real-time or instant video generation.
  • Scenarios where you lack a configured Google Cloud Project with billing enabled and a GCS bucket.

Environment Configuration

Before running the generation script, ensure the following environment variables are set:

# Google Application Default Credentials
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/your/service_account_key.json"

# Google Cloud Project ID (Optional if inferable from credentials)
export GOOGLE_CLOUD_PROJECT="your-gcp-project-id"

# GCS Bucket for staging inputs and storing outputs
# Ensure the service account has Storage Object Admin rights to this bucket
export VEO_GCS_BUCKET="your-veo-renders-bucket"

# Optional: Override default location (default: us-central1)
export GOOGLE_CLOUD_LOCATION="us-central1"

Modes of Operation

The generate.py script supports four core modes via the --mode flag.

1. Text-to-Video

Generate a video purely from a text prompt (4, 6, or 8 seconds).

python3 ~/.hermes/skills/veo-video/scripts/generate.py \
    --prompt "A cinematic wide shot of a futuristic factory with robotic arms assembling a car, photorealistic, 4k" \
    --mode text \
    --aspect-ratio 16:9 \
    --duration 8 \
    --output /tmp/factory_text.mp4

2. Image-to-Video

Bring a single starting image to life.

python3 ~/.hermes/skills/veo-video/scripts/generate.py \
    --prompt "Smoke starts pouring out of the chimney and the camera slowly pans forward" \
    --mode image \
    --image /tmp/factory_start.jpg \
    --aspect-ratio 16:9 \
    --output /tmp/factory_image.mp4

3. First and Last Frame

Interpolate smoothly from one image to another. Excellent for narrative transitions.

python3 ~/.hermes/skills/veo-video/scripts/generate.py \
    --prompt "The sun sets rapidly and the factory lights turn on" \
    --mode first-last \
    --image /tmp/factory_day.jpg \
    --last-frame /tmp/factory_night.jpg \
    --output /tmp/factory_transition.mp4

4. Extend Video

Extend an existing video by an additional 8 seconds. You can iteratively apply this to reach up to 30 seconds of total runtime.

python3 ~/.hermes/skills/veo-video/scripts/generate.py \
    --prompt "The camera moves closer to the robotic arm as it finishes assembling the part" \
    --mode extend \
    --video /tmp/factory_text.mp4 \
    --output /tmp/factory_extended_16s.mp4

Common Pitfalls

  1. Missing IAM Permissions: The script throws an HTTP 403 error.
    • Fix: Ensure the service account has Vertex AI User and Storage Object Admin roles.
  2. Bucket Not Found / Access Denied: The upload phase fails.
    • Fix: Verify that VEO_GCS_BUCKET is set correctly and the bucket exists in the same project/location.
  3. Timeout / Terminal Blocking: The agent hangs while waiting for the video.
    • Fix: Always run this script using terminal(background=true) since generation takes several minutes.
  4. Unsupported Aspect Ratio/Resolution: Image-to-Video yields poor results or fails.
    • Fix: Provide source images perfectly cropped to 1920x1080 (16:9) or 1080x1920 (9:16).

Verification Checklist

  • GOOGLE_APPLICATION_CREDENTIALS and VEO_GCS_BUCKET are set in the environment.
  • Command is executed in a background terminal to avoid blocking the conversation loop.
  • For extend mode, the input video was originally generated by Veo (required by Vertex AI limits).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.