IMA AI Video Generator — Short & Promo Video, Text to Video, Image to Video Generation
/install ima-video-ai
IMA Video AI
When To Use
Use this repository for text-to-video, image-to-video, reference-image video generation, and first/last-frame interpolation. This repo is video-only; do not route image editing, audio, or non-video tasks here.
Quick Start
- Get your API key at
https://www.imaclaw.ai/imaclaw/apikey, then export it:export IMA_API_KEY="your-api-key" - Run a low-cost health probe before spending credits:
python3 scripts/ima_runtime_doctor.py --task-type text_to_video - First-time setup:
python3 scripts/ima_runtime_setup.py - Manual first-run alternative if you skip setup: in an interactive terminal,
python3 scripts/ima_runtime_cli.py --task-type text_to_video --prompt "..."now prompts for a suggested model; non-interactive callers should still use--model-idor--list-models - Natural-language wrapper:
python3 scripts/route_and_execute.py --request "做一个 10 秒的产品视频"for parse + validate + execute
First-Run Rules
- Runtime model resolution is fixed:
--model-id-> saved preference -> interactive TTY prompt -> fail; there is no hidden default model. - First use can run
python3 scripts/ima_runtime_setup.py, accept the first-run CLI prompt in a terminal, or choose--model-idafter--list-models; setup writes only~/.openclaw/memory/ima_prefs.json, neverIMA_API_KEY. - Install Python dependencies with
pip install -r requirements.txt;Pillowis used for image-dimension probing. - Ensure
ffprobeis onPATHfor video/audio metadata probing andffmpegis onPATHfor derived video cover extraction.
Picks And Errors
- Start with
ima-pro-fastfortext_to_video/image_to_video; start withkling-video-o1forreference_image_to_video/first_last_frame_to_video. Full matrix: references/shared/model-selection-policy.md 401or invalid key -> regenerate athttps://www.imaclaw.ai/imaclaw/apikeyand rerunima_runtime_doctor.py;403/4014-> subscribe or switch toima-pro-fast;6009/6010-> remove custom params and confirm the live catalog with--list-models
Video Modes
first_last_framemeans explicit start/end frames with generated motion between them;referencemeans style or character guidance, not literal frame 1.
Gateway Contract
Treat this file as the public gateway, not the full rulebook.
- The generation entrypoint is
python3 scripts/ima_runtime_cli.py .... python3 scripts/route_and_execute.pyis the natural-language wrapper over the structured runtime.python3 scripts/ima_runtime_setup.pyandpython3 scripts/ima_runtime_doctor.pyare onboarding helpers, not alternate generation runtimes.- No other generation CLI path is part of the active runtime contract.
- Remote HTTPS reference media must be direct public URLs. The runtime may temporarily download them locally for metadata probing, Seedance preflight checks, and video-cover extraction; private/internal hosts, credentialed URLs, redirects, and oversized downloads are rejected.
- Local media files and derived video cover frames use IMA's upload-token flow and then upload to the pre-signed HTTPS storage URL returned by that service.
- Build a
GatewayRequestfor a video target. - Resolve task type before execution, and clarify when image roles are ambiguous.
- Query the product list before task creation so
attribute_id,model_version, and defaults come from the live catalog. - Return video results as remote HTTPS URLs; do not convert them into local file attachments.
Read Order
references/README.md, references/gateway/entry-and-routing.md, references/gateway/workflow-confirmation.md, references/shared/model-selection-policy.md, references/shared/error-policy.md, references/shared/security-and-network.md, capabilities/video/CAPABILITY.md
Boundary
references/gateway/* covers entry/routing, references/shared/* covers shared runtime policy, capabilities/video/* owns video behavior, and _meta.json plus clawhub.json remain metadata inputs.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ima-video-ai - 安装完成后,直接呼叫该 Skill 的名称或使用
/ima-video-ai触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
IMA AI Video Generator — Short & Promo Video, Text to Video, Image to Video Generation 是什么?
AI video generator with premier models: Wan 2.6, Kling O1/2.6, Google Veo 3.1, Sora 2 Pro, Pixverse V5.5, Hailuo 2.0/2.3, SeeDance 1.5 Pro, Vidu Q2. Video ge... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 820 次。
如何安装 IMA AI Video Generator — Short & Promo Video, Text to Video, Image to Video Generation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ima-video-ai」即可一键安装,无需额外配置。
IMA AI Video Generator — Short & Promo Video, Text to Video, Image to Video Generation 是免费的吗?
是的,IMA AI Video Generator — Short & Promo Video, Text to Video, Image to Video Generation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
IMA AI Video Generator — Short & Promo Video, Text to Video, Image to Video Generation 支持哪些平台?
IMA AI Video Generator — Short & Promo Video, Text to Video, Image to Video Generation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 IMA AI Video Generator — Short & Promo Video, Text to Video, Image to Video Generation?
由 allenfancy-gan(@allenfancy-gan)开发并维护,当前版本 v1.0.13。