Agent skill · creative production · sundial-org

veo3-video-gen

Generate and stitch short videos via Google Veo 3.x using the Gemini API (google-genai). Use when you need to create video clips from prompts (ads, UGC-style clips, product demos) and want a reproducible CLI workflow (generate, poll, download MP4, optionally stitch multiple segments).

Why this skill is useful

Adds a complete CLI workflow with executable scripts for generating and stitching videos using the Gemini API that the AI cannot generate on its own.

What it needs

Requires ffmpeg installed locally. Requires google-genai account access. About 1k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

Veo 3 Video Generation (Gemini API) Use the bundled script to generate an MP4 from a text prompt. Generate (text → video) Generate a longer video by stitching segments Veo commonly outputs ~8s clips per request. Use --segments to generate multiple clips and concatenate them with ffmpeg. Important: This skill sends one prompt per segment (one Veo request per segment). Use --base-style to keep style consistent across segments. Options: --base-style "...": prepended to every segment prompt (recommended). --segment-prompt "..." (repeatable): provide one prompt per segment (overrides --prompt). --segment-style continuation (default): appends continuity instructions per segment (only when using --prompt). --segment-style same: uses the exact same prompt for each segment (only when using --prompt). --use-last-frame: for segment >=2, extract previous segment last frame and pass it as lastFrame for continuity. --emit-segment-media: print MEDIA: for each segment as it finishes (useful for progress). --keep-segments: keep intermediate .segXX.mp4 files. --reference-image path.jpg (repeatable): guide generation with product/style references. Requirements GEMINIAPIKEY env var (or --api-key). ffmpeg on PATH when using --segments > 1. Troubleshooting 429/RESOURCEEXHAUSTED: API key has no quota/billing for video. 503/UNAVAILABLE: model overloaded; retry later.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/veo3-video-gen

View the source on GitHub

Browse the @skills marketplace