Video Generation
Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk.
Skill by rahlplx
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rahlplx-video-generation
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/video-generation
What's inside
- Skill name
Video Generation- Description
- Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.
- License
- MIT
- Instructions
- 1,078 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Video Generation" does not match folder "video-generation"
- body: 1078 lines (spec recommends under 500)
Files (3)
- LICENSE.txt
- SKILL.md
- video.ts · scripts/
SKILL.md (first lines)
# Video Generation Skill
This skill guides the implementation of video generation functionality using the z-ai-web-dev-sdk package, enabling AI models to create videos from text descriptions or images through asynchronous task processing.
## Skills Path
**Skill Location**: `{project_path}/skills/video-generation`
This skill is located at the above path in your project.
**Reference Scripts**: Example test scripts are available in the `{Skill Location}/scripts/` directory for quick testing and reference. See `{Skill Location}/scripts/video.ts` for a working example.
## Overview
Video Generation allows you to build applications that can create video content from text prompts or images, with customizable parameters like resolution, frame rate, duration, and quality settings. The API uses an asynchronous task model where you create a task and poll for results.
**IMPORTANT**: z-ai-web-dev-sdk MUST be used in backend code only. Never use it in client-side code.
## Prerequisites
The z-ai-web-dev-sdk package is already installed. Import it as shown in the examples below.
## CLI Usage (For Simple Tasks)
For simple video generation tasks, you can use the z-ai CLI instead of writing code. The CLI handles task creation and polling automatically, making it ideal for quick tests and simple automation.
### Basic Text-to-Video
```bash
# Generate video with automatic polling
z-ai video --prompt "A cat playing with a ball" --poll
# Using short options
z-ai video -p "Beautiful landscape with mountains" --poll
```
### Custom Quality and Settings
```bash
# Quality mode (speed or quality)
z-ai video -p "Ocean waves at sunset" --quality quality --poll
# Custom resolution and FPS
z-ai video \
-p "City timelapse" \
--size "1920x1080" \
--fps 60 \
--poll
# Custom duration (5 or 10 seconds)
z-ai video -p "Fireworks display" --duration 10 --poll
```
### Image-to-Video
**IMPORTANT**: For `image_url` parameter, it is **strongly recommended to use base64-encoded image data** instead of URLs. This approach is more reliable and avoids potential network issues or access restrictions.
**Note**: Match the MIME type in the data URI to your actual image format (image/jpeg, image/png, image/webp, etc.) to avoid decoding issues.
```bash
# Generate video from single image using base64 (RECOMMENDED)
# Convert your image to base64 with correct MIME type
# For PNG images
IMAGE_BASE64=$(base64 -i image.png)
z-ai video \
--image-url "data:image/png;base64,${IMAGE_BASE64}" \
--prompt "Make the scene come alive" \
--poll
# For JPEG images
IMAGE_BASE64=$(base64 -i photo.jpg)
z-ai video \
--image-url "data:image/jpeg;base64,${IMAGE_BASE64}" \
--prompt "Make the scene come alive" \
--poll
# For WebP images
IMAGE_BASE64=$(base64 -i image.webp)
z-ai video \
--image-url "data:image/webp;base64,${IMAGE_BASE64}" \
--prompt "Make the scene come alive" \
--poll
# Using URL (less recommended, may have reliability issues)
z-ai video \
-i "https://example.com/photo.jpg" \
-p "Add motion to this scene" \
--poll
```
### First-Last Frame Mode
**IMPORTANT**: For best reliability, use base64-encoded images instead of URLs. Ensure the MIME type matches your actual image format.
```bash
# Generate video between two frames using base64 (RECOMMENDED)
# Make sure to use the correct MIME type for each image
# Example with PNG images
START_BASE64=$(base64 -i start.png)
END_BASE64=$(base64 -i end.png)
z-ai video \
--image-url "data:image/png;base64,${START_BASE64},data:image/png;base64,${END_BASE64}" \
--prompt "Smooth transition between frames" \
--poll
# Example with JPEG images
START_BASE64=$(base64 -i start.jpg)
END_BASE64=$(base64 -i end.jpg)
z-ai video \
--image-url "data:image/jpeg;base64,${START_BASE64},data:image/jpeg;base64,${END_BASE64}" \
--prompt "Smooth transition between frames" \
--poll
# Using URLs (less recommended)
z-ai video \
--image-url "https://example.com/start.png,https://example.com/end.png" \
--prompt "Smooth transition between frames" \From rahlplx/smile-savers-2026-feb, MIT.
More from rahlplx/smile-savers-2026-feb
- 0.386score
pptx
rahlplx
PPT/PPTX dedicated skill - **MANDATORY RULE**: For ANY PPT-related tasks (uploaded files, editing/creating presentations, etc.), you **MUST IMMEDIATELY**…
SkillDFreshness: DClaude Code +9 - 0.383score
Podcast Generate
rahlplx
Generate podcast episodes from user-provided content or by searching the web for specified topics.
SkillDFreshness: DClaude Code +9 - 0.382score
frontend-design
rahlplx
Transform UI style requirements into production-ready frontend code with systematic design tokens, accessibility compliance, and creative execution.
SkillDFreshness: DClaude Code +9 - 0.213score
pdf
rahlplx
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 17, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/rahlplx/smile-savers-2026-feb
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from rahlplx
- 0.444score
vibe-caveman
rahlplx
Terse-output mode.
SkillCFreshness: CClaude Code +9 - 0.444score
vibe-design
rahlplx
Design audit + anti-slop enforcement + WCAG check + taste-skill dial configuration + impeccable design workflow (init/critique/polish + 18 refinement commands).
SkillCFreshness: CClaude Code +9 - 0.444score
vibe-evolve
rahlplx
Auto-evolve rules and retire underperformers — reads telemetry + learnings to propose rule promotions, demotions, and new patterns.
SkillCFreshness: CClaude Code +9 - 0.444score
vibe-explain
rahlplx
Explain, translate, or extract intent from any code — at beginner, intermediate, or expert level.
SkillCFreshness: CClaude Code +9 - 0.444score
vibe-harness
rahlplx
Production readiness gate — runs 15 automated checks (tests, lint, security scan, skill integrity, catalog validity, state machine).
SkillCFreshness: CClaude Code +9 - 0.444score
vibe-learnings
rahlplx
Extract learnings, patterns, and anti-patterns from commit history, session work, and project evolution.
SkillCFreshness: CClaude Code +9
Cite this page
Video Generation skill. Agent Mart. https://agentmart.dev/skills/rahlplx-video-generation (last updated 2026-10-24)