Install
openclaw skills install video-generation-t2v-i2vAI Video generation toolkit — generate videos from text prompts or input images using multiple AI models (Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, etc.). Support both text-to-video and image-to-video generation. Use when users ask for video creation, AI video, text to video, image to video, animate image, video generation.
openclaw skills install video-generation-t2v-i2vGenerate AI videos from text prompts or images using 40+ models including Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, etc.
IMPORTANT: This skill requires the inference.sh CLI to be installed and available in your PATH. The CLI provides access to 40+ AI video generation models.
To install inference.sh:
npm install -g @inference.sh/cli
Or visit https://inference.sh for installation instructions.
.mp4/.mov paths as plain text (NOT in code blocks or markdown links), so the UI can render a video player inline. Same for .jpg/.png → inline image.[附件: /absolute/path/to/file] in the message.Generate video from text prompt.
python nanobot/skills/VideoGeneration/scripts/text_to_video.py [options]
| Flag | Description |
|---|---|
--prompt TEXT | (required) Video description in English |
--model NAME | Model name, default veo-3.1 |
--duration N | Video duration in seconds, default 5 |
--width N | Video width, default 1280 |
--height N | Video height, default 720 |
--fps N | Frames per second, default 24 |
--save-dir DIR | Output dir, default ./outputs/videos |
--timeout N | Request timeout in seconds, default 600 |
--dry-run | Print request and exit |
Available models:
veo-3.1 - Google Veo 3.1 (recommended)veo-3 - Google Veo 3seedance-1.5-pro - Seedance 1.5 Prowan-2.5 - Wan 2.5grok-imagine-video - Grok Imagine Videoomnihuman - OmniHumanOutput JSON example:
{
"ok": true,
"downloaded_files": ["D:/project/.../outputs/videos/video_20260315_1.mp4"]
}
Generate video from input image.
python nanobot/skills/VideoGeneration/scripts/image_to_video.py [options]
| Flag | Description |
|---|---|
--image PATH | (required) Input image path |
--prompt TEXT | (required) Video description in English |
--model NAME | Model name, default veo-3.1 |
--duration N | Video duration in seconds, default 5 |
--save-dir DIR | Output dir, default ./outputs/videos |
--upload-service | Image upload service (smms/imgbb), default imgbb |
--api-token | API token for image upload (REQUIRED for ImgBB, optional for SM.MS) |
--timeout N | Request timeout in seconds, default 1000 |
--dry-run | Print request and exit |
Process:
IMPORTANT: For ImgBB, you must provide an API token via --api-token or set IMGBB_API_KEY environment variable. Get your free API key at https://api.imgbb.com/
Output JSON example:
{
"ok": true,
"downloaded_files": ["D:/project/.../outputs/videos/video_20260315_1.mp4"]
}