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).
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- veo3-video-gen
- description
- 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).
02 资源文件 2
- 参考文档_meta.json295 B
- 脚本scripts/generate_video.py16.2 KB
03 SKILL.md 正文
Veo 3 Video Generation (Gemini API)
Use the bundled script to generate an MP4 from a text prompt.
Generate (text → video)
uv run {baseDir}/scripts/generate_video.py \
--prompt "A close up of ..." \
--filename "out.mp4" \
--model "veo-3.1-generate-preview" \
--aspect-ratio "9:16" \
--poll-seconds 10
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.
uv run {baseDir}/scripts/generate_video.py \
--prompt "Same scene, consistent style..." \
--filename "out-24s.mp4" \
--model "veo-3.1-generate-preview" \
--aspect-ratio "9:16" \
--segments 3 \
--segment-style continuation
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 aslastFramefor continuity.--emit-segment-media: printMEDIA:for each segment as it finishes (useful for progress).--keep-segments: keep intermediate*.segXX.mp4files.--reference-image path.jpg(repeatable): guide generation with product/style references.
Requirements
GEMINI_API_KEYenv var (or--api-key).ffmpegon PATH when using--segments > 1.
Troubleshooting
- 429/RESOURCE_EXHAUSTED: API key has no quota/billing for video.
- 503/UNAVAILABLE: model overloaded; retry later.
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.