veo-use
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.
Prerequisites
Ensure you have one of the following authentication methods configured in your environment:
-
API Key:
GOOGLE_API_KEYorGEMINI_API_KEY
-
Vertex AI:
GOOGLE_CLOUD_PROJECTGOOGLE_CLOUD_LOCATIONGOOGLE_GENAI_USE_VERTEXAI=1
Usage
1. Text to Video
Generate 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
2. Image to Video
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
3. Reference to Video
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
4. Edit Video (Inpainting)
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
5. Extend Video
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
Common Options
--model: Defaultveo-3.1-generate-001.--resolution:1080p(default),720p,4k.--aspect-ratio:16:9(default),9:16.--duration:6(default),4,8.
References
Before running scripts, review the reference guides for prompting tips and best practices.
- Prompting Guide - Camera angles, movements, lens effects, and visual styles
More from cnemri/google-genai-skills
google-adk-python
Expert guidance on the Google Agent Development Kit (ADK) for Python. Use this skill when the user asks about building agents, using tools, streaming, callbacks, tutorials, deployment, or advanced architecture with the Google ADK in Python.
274google-genai-sdk-python
Expert guidance for writing Python code using the official Google GenAI SDK (google-genai) for Gemini API and Vertex AI. Use for text generation, multimodal inputs, reasoning, tools, and media generation.
80veo-build
Create and edit videos using Google's Veo 2 and Veo 3 models. Supports Text-to-Video, Image-to-Video, Inpainting, and Advanced Controls.
63deep-research
Perform autonomous, multi-step research using the Gemini Deep Research Agent (Interactions API). Supports web search, file/directory context, and resilient streaming.
60nano-banana-use
Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts. Handles authentication via API Key or Vertex AI environment variables. Available parameters: prompt, model, aspect-ratio, safety-filter-level. Always confirm parameters with the user or explicitly state defaults before running.
54google-developer-knowledge
Search and retrieve Google's developer documentation using the Developer Knowledge API. Query documentation chunks, get full document content, or batch retrieve multiple documents. Covers ai.google.dev, developer.android.com, docs.cloud.google.com, firebase.google.com, and more.
52