Agnes generate video
Generate a video from a text prompt or an image using Agnes AI. Supports text-to-video and image-to-video via agnes-video-v2.0.From its SKILL.md
npx -y skills add oh-summy/skills --skill agnes-generate-videoAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.5 KB, 839 tokens by cl100k_base, as published. Nobody here has run it
Agnes Generate Video
Generate videos with agnes-video-v2.0. Video generation is asynchronous; the script creates a task and polls until completion.
When to use
- The user asks for a short video, animation, or cinematic clip.
- The user provides a starting image and wants it animated.
Inputs
--prompt: Text description of the desired video.--image: Optional starting image (local path or URL) for image-to-video.--width,--height: Output resolution. Default1152x768.--duration: Target duration in seconds. Default ~5 seconds.--frame-rate: FPS. Default 24.--num-frames: Override duration; must follow8n + 1rule and be ≤ 441.--poll-interval: Seconds between status checks. Default 10.--max-wait: Max seconds to wait. Default 1800.--download: Optional local path or directory to save the MP4. Default is~/AgnesAI/videos/agnes_video_<timestamp>.mp4.--no-open: Do not open the output folder after saving.
Prompt Enhancement (before running the script)
Consult the prompt-components skill to assemble a high-quality prompt:
- Determine interaction mode:
- User gave subject + style + mood → Mode 1 (assemble directly, no questions)
- User gave subject but missing style/mood → Mode 2 (suggest 2–3 combinations)
- User is vague ("make a video") → Mode 3 (ask up to 4 questions)
- Read
prompt-components/references/positive.mdfor styles and quality vocabulary. - Read
prompt-components/references/negative.mdand auto-append relevant negatives (universal + video-specific + subject-category + style-conflict). - Read
prompt-components/references/motion.mdfor camera movement, pacing, and environment motion. Always specify at least one camera movement. - Translate non-English user input to English for the final prompt.
- Keep positive prompt ≤ 80 words, negative ≤ 30 words.
Steps
- Enhance the prompt using the rules above (do not skip this).
- Run the helper script in this skill directory:
bash scripts/generate_video.sh --prompt "A cat walking on a beach at sunset" --duration 5 - Return to the user: both the saved file path and the video URL. The URL must always be shown even when the file is downloaded locally.
Example
bash scripts/generate_video.sh \
--prompt "A cinematic drone shot over a futuristic city at dusk, neon lights, 4k quality" \
--duration 10 \
--download ./future_city.mp4
Output location
By default the completed MP4 is downloaded to ~/AgnesAI/videos/agnes_video_<timestamp>.mp4 and the folder is opened automatically.
- macOS/Linux:
~/AgnesAI/videos/ - Windows (Git Bash/WSL):
~/AgnesAI/videos/resolves to your user profile folder.
Override with --download:
bash scripts/generate_video.sh --prompt "..." --download ./my_video.mp4
bash scripts/generate_video.sh --prompt "..." --download ./my_video_dir/
Skip opening the folder: add --no-open.
Templates / references
references/templates.md— prompt templates for cinematic text-to-video, image-to-video animation, product demos, social media shorts, keyframe transitions, etc.
API reference
- Model:
agnes-video-v2.0 - Docs: https://agnes-ai.com/zh-Hans/docs/agnes-video-v20
Setup
Set AGNES_API_KEY as an environment variable or in a .env file.
What ships with it: 3 files
10.2 KB alongside SKILL.md, 1 of them executable
references/
- templates.md3.0 KB
scripts/
- generate_video.shruns7.1 KB
- .env.example149 B