Turn prompts and existing media into production-ready AI videos through a streamlined command-line workflow.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install video-generation-and-editing
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install video-generation-and-editing using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Video Generation and Editing is an AI video production skill for creating, editing, extending, and transforming videos from text, images, reference videos, audio, or first-and-last frames. It supports text-to-video, image-to-video, reference-to-video, video editing, and video extension workflows through the AI Hive OpenAPI platform.
As part of Openclaw Skills, it removes the need to manually implement API requests, media uploads, pricing checks, task polling, and result downloads. Creators, post-production teams, advertisers, and e-commerce operators can generate product videos, TVCs, social commerce content, UGC-style ads, short dramas, comic dramas, and other AIGC video assets from a consistent Python CLI.
t2v, i2v, r2v, edit, and extend.COST_FIRST, SPEED_FIRST, or SUCCESS_FIRST routing.taskId for asynchronous processing.--no-download was selected.requests packagesk-api-* formatscripts/videogen.pypip3 install requests
The recommended initialization flow opens AI Hive, guides you through login and API key creation, and stores the key in ~/.ai-hive/config.json with restricted permissions.
python3 "$SKILL_PATH/scripts/videogen.py" init --skill-name video-generation-and-editing
Alternatively, configure the key using an environment variable, command-line option, or configuration file:
export AI_HIVE_API_KEY=sk-api-your-key
python3 "$SKILL_PATH/scripts/videogen.py" generate --mode t2v --prompt "A cinematic product reveal" --no-download
python3 "$SKILL_PATH/scripts/videogen.py" generate \
--mode t2v \
--prompt "A cinematic product commercial with a slow camera push-in and premium studio lighting"
python3 "$SKILL_PATH/scripts/videogen.py" generate \
--mode edit \
--prompt "Preserve the original subject and motion, change the environment to a premium commercial studio" \
--video /path/to/source.mp4
python3 "$SKILL_PATH/scripts/videogen.py" generate --mode t2v --prompt "A complex cinematic scene" --no-download
python3 "$SKILL_PATH/scripts/videogen.py" task --task-id <taskId>
The default output location is ~/Downloads/AiHive. Use --output-dir to change it, and use --api-key, --base-url, or --verbose for runtime configuration and diagnostics.
video-generation-and-editing/
├── SKILL.md
├── CHANGELOG.md
├── scripts/
│ └── videogen.py
└── resources/
└── config.example.json
| Mode | Capability | publicModelId |
|---|---|---|
t2v |
Text-to-video | public_model_seedance_2_5_t2v |
i2v |
Image-to-video | public_model_seedance_2_5_i2v |
r2v |
Reference-to-video | public_model_seedance_2_5_r2v |
edit |
Video editing | public_model_seedance_2_5_video_edit |
extend |
Video extension | public_model_seedance_2_5_video_extend |
prompt: Required natural-language description of the desired video.mode: Generation capability, including t2v, i2v, r2v, edit, and extend.first-frame and last-frame: Boundary images for controlled animation.image: One or more reference images.video: One or more source or reference videos.audio: One or more reference audio files.model-id: Explicit model selection when multiple matching candidates exist.routing: Cost, speed, or success preference.param: Runtime model settings in key=value form, such as resolution or duration.taskId: Identifier used to track asynchronous generation.mediaId: Identifier returned after reference media upload.pricingSnapshot: Runtime model and price information associated with submission.| Item | Default or format |
|---|---|
| Credentials | ~/.ai-hive/config.json, permissions 0600 |
| Generated output | ~/Downloads/AiHive |
| Video formats | MP4, MOV, or formats supported by the active model |
| Task state | Stored and queried through the returned taskId |
| Media assets | Uploaded through the AI Hive object-storage workflow and referenced by media IDs |
publicModelId mappings for stable, predictable capability routing.COST_FIRST, SPEED_FIRST, and SUCCESS_FIRST routing strategies.--param key=value arguments.--no-download, allowing external scheduling or later task retrieval.task subcommand.Loading
Create production-ready Seedance 2.0 videos from prompts and reference media with automated uploads, pricing checks, task tracking, and downloads.

Generate controlled Seedance 2.5 videos by defining the opening and closing frames, then automate media upload, task tracking, and result downloads.

An automated Openclaw Skills report generator that aggregates task outcomes into daily tenant reports, fairness metrics, and 30-day welcome-back summaries.

A rigorous 10-stage Chinese-Vietnamese translation workflow that combines terminology management, multi-model reflection, blind back-translation, and human review.

Bazi Engine generates traceable Four Pillars charts and grounded traditional Chinese astrology reports from verified birth data.

Generate and revise a fact-checked, channel-ready image suite for one SKU while preserving product identity, claims, and visual consistency.








































