This skill helps you generate and edit videos using Google’s Veo models by guiding prompts, masks, and durations with explicit defaults.
npx playbooks add skill cnemri/google-genai-skills --skill veo-use
Use this skill to generate and edit videos using Google's Veo models (veo-3.1 and veo-2.0).
This skill uses portable Python scripts managed by uv.
Ensure you have one of the following authentication methods configured in your environment:
GOOGLE_API_KEY or GEMINI_API_KEYGOOGLE_CLOUD_PROJECTGOOGLE_CLOUD_LOCATIONGOOGLE_GENAI_USE_VERTEXAI=1Generate a video purely from a text description.
uv run skills/veo-use/scripts/text_to_video.py "A cinematic drone shot of a futuristic city" --output city.mp4
Generate a video starting from a static image context.
uv run skills/veo-use/scripts/image_to_video.py "Zoom out from the flower" --image start.png --output flower.mp4
Use specific asset images (subjects, products) to guide generation.
uv run skills/veo-use/scripts/reference_to_video.py "A man walking on the moon" --reference-image man.png --output moon_walk.mp4
Modify existing videos using masks.
Modes:
REMOVE: Remove dynamic object.REMOVE_STATIC: Remove static object (watermark).INSERT: Insert new object (requires --prompt).uv run skills/veo-use/scripts/edit_video.py --video input.mp4 --mask mask.png --mode INSERT --prompt "A flying car" --output edited.mp4
Extend the duration of an existing video clip.
uv run skills/veo-use/scripts/extend_video.py --video clip.mp4 --prompt "The car flies away into the sunset" --duration 6 --output extended.mp4
--model: Default veo-3.1-generate-001.--resolution: 1080p (default), 720p, 4k.--aspect-ratio: 16:9 (default), 9:16.--duration: 6 (default), 4, 8.> Before running scripts, review the reference guides for prompting tips and best practices.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.