mcpField
V
veo3-1

veo3-1

github.com/delnegCreative & media043 installsUpdated 35w ago
Repository

About veo3-1

veo3-1 is a command-line skill for generating videos from prompts with Veo 3.1 models. It supports selectable duration and aspect ratio, and can return a video URL without downloading the file.

Key features

  1. 01Prompt-based video generation
  2. 02Six selectable model variants
  3. 034-, 6-, or 8-second duration
  4. 04Landscape and portrait ratios
  5. 05URL-only output option

Use cases

  1. 01Drafting short clips while refining prompts
  2. 02Saving final video files locally
  3. 03Passing a generated video URL to another tool

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/delneg/nano-banana-pro-skill-grsai-com --skill veo3-1

After installing, type/veo3-1in Claude Code to confirm it loaded.

Bundled filesscripts/generate_video.py

Details

From the project README

Veo 3.1 Video Generation

Usage

Run from the user's current working directory (do NOT cd into the skill directory):

uv run scripts/generate_video.py --prompt "description" --filename "output.mp4" [--model MODEL] [--duration 4|6|8] [--aspect-ratio 16:9|9:16] [--api-key KEY]

Use --url-only to skip the download and print just the video URL — useful for chaining with other tools:

uv run scripts/generate_video.py --prompt "description" --url-only [--model MODEL] [--duration 4|6|8]

Workflow (draft → final)

  1. Draft — --model veo3.1-fast --duration 4 (cheapest, iterate on prompt)
  2. Final — --model veo3.1-pro-4k --duration 8 (only when prompt is locked)

Model Options

ModelQualityResolutionCost
veo3.1-fast (default)Fast720pLowest
veo3.1-fast-1080pFast1080pLow
veo3.1-fast-4kFast4KMedium
veo3.1-proPro720pMedium
veo3.1-pro-1080pPro1080pHigh
veo3.1-pro-4kPro4KHighest

Map user requests:

  • No mention / "draft" / "fast" → veo3.1-fast
  • "1080p" / "HD" → veo3.1-fast-1080p
  • "4K" / "ultra" → veo3.1-fast-4k
  • "high quality" / "pro" → veo3.1-pro
  • "best quality" / "pro 4K" → veo3.1-pro-4k

Duration & Aspect Ratio

  • Duration: 4 (drafts), 6, 8 (default/finals) seconds
  • Aspect ratio: 16:9 (default, landscape), 9:16 (portrait/mobile)

API Key

Provide via --api-key argument or set GRSAI_API_KEY environment variable.

Troubleshooting

SymptomResolution
Error: No API key provided.Set GRSAI_API_KEY env var or pass --api-key
HTTP 401Wrong or expired API key
Generation failed:Content moderation or invalid input; rephrase prompt
TimeoutUse a faster model (veo3.1-fast) or shorter duration (--duration 4)
uv: command not foundInstall: curl -LsSf https://astral.sh/uv/install.sh | sh, then restart terminal

For transient errors (HTTP 429, network timeouts), retry once after 30 seconds. Do not retry more than twice — surface the issue to the user instead.

Filename Convention

Pattern: yyyy-mm-dd-hh-mm-ss-descriptive-name.mp4

  • 2025-11-23-14-23-05-sunset-mountains.mp4
  • 2025-11-23-15-30-12-dancing-robot-neon.mp4

Output

Always prints VIDEO_URL: <full_url> on its own line after generation — use this to extract the URL for chaining.

Without --url-only: saves the file to disk and prints Video saved: <path>. Report the saved path to the user. Do not open or read the video back.

With --url-only: prints only the generation info and VIDEO_URL: line — no download, no --filename required.

Chaining with qwen-3-5-plus-video-feedback

Extract the URL from stdout and pass it directly to the feedback skill:

VIDEO_URL=$(uv run veo3-1/scripts/generate_video.py --prompt "..." --url-only | grep '^VIDEO_URL:' | cut -d' ' -f2)
uv run qwen-3-5-plus-openrouter/scripts/analyze_video.py --video-url "$VIDEO_URL" --prompt "Does this video match the prompt? Rate quality 1-10."

Examples

uv run scripts/generate_video.py --prompt "A golden sunset over mountain peaks with birds flying" --filename "2025-11-23-14-23-05-sunset-draft.mp4" --model veo3.1-fast --duration 4
uv run scripts/generate_video.py --prompt "Close-up of waves crashing on rocky shore, slow motion, cinematic" --filename "2025-11-23-15-30-12-ocean-waves.mp4" --model veo3.1-pro-4k --duration 8 --aspect-ratio 16:9

Comments

Markdown supported