Learn-skills.dev video-generate
Generates video from text prompts or animates static images. Use when you need to create videos from descriptions, animate images, or produce video content using AI.
install
source · Clone the upstream repo
git clone https://github.com/NeverSight/learn-skills.dev
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/agntswrm/agent-media/video-generate" ~/.claude/skills/neversight-learn-skills-dev-video-generate && rm -rf "$T"
manifest:
data/skills-md/agntswrm/agent-media/video-generate/SKILL.mdsource content
Video Generate
Generates a video from a text prompt using AI video generation models. Supports both text-to-video and image-to-video (animating a static image).
Command
agent-media video generate --prompt <text> [options]
Inputs
| Option | Required | Description |
|---|---|---|
| Yes | Text description of the video to generate |
| No | Input image path or URL for image-to-video |
| No | Duration in seconds (6, 8, 10, 12, 14, 16, 18, 20; default: 6) |
| No | Video resolution (720p, 1080p, 1440p, 2160p; default: 720p) |
| No | Frame rate (25 or 50; default: 25) |
| No | Generate audio track |
| No | Output path, filename or directory (default: ./) |
| No | Provider to use (default: auto-detect) |
| No | Model to use (overrides provider default) |
Output
Returns a JSON object with the generated video path:
{ "ok": true, "media_type": "video", "action": "video-generate", "provider": "fal", "output_path": "generated_abc123.mp4", "mime": "video/mp4", "bytes": 12345678 }
Examples
Generate a video from text:
agent-media video generate --prompt "a cat walking in a garden"
Generate a longer video with higher resolution:
agent-media video generate --prompt "ocean waves crashing on a beach" --duration 10 --resolution 1080p
Animate an existing image (image-to-video):
agent-media video generate --in portrait.png --prompt "the person waves hello and smiles"
Generate with audio:
agent-media video generate --prompt "fireworks exploding in the night sky" --audio
Use a specific provider:
agent-media video generate --prompt "a rocket launching" --provider replicate
Providers
This action requires an external provider:
- fal - Requires
(uses LTX-2 model)FAL_API_KEY - replicate - Requires
(uses lightricks/ltx-video model)REPLICATE_API_TOKEN
The local provider does not support video generation.