veo-video-generator
Veo Video Generator
Generates short video clips with native audio using Google's state-of-the-art Veo 3.1 model.
Instructions
-
Trigger: Activate when the user wants to create or render a video.
-
Setup: The agent must run
npm installonce before the first execution to fetch dependencies. -
Execution: Invoke the script by passing the user prompt as a separate argument, never by interpolating it into a shell command string. Use an argument array /
execFile-style invocation so the shell never parses the prompt value. Example (Node-style pseudo-code):execFile('node', ['generate.js', '--prompt', userPrompt])Do not construct the command as a single concatenated string such as
"node generate.js --prompt " + userPrompt. -
Resolution: Outputs 1080p video in 9:16 aspect ratio by default.
-
Completion: Provide the user with the filename of the generated .mp4 in the workspace.