Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

ima-ai-video-generatorima ai 视频生成器

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

38,808

周安装

1,650

GitHub Stars

2

下载量

13,596
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ima-ai-video-generator(ima ai 视频生成器)
来源仓库:https://github.com/dai-shuo/ima-ai-video-generator
安装命令:
openclaw skills install ima-ai-video-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ima-ai-video-generator

简介

ima-ai-video-generator 用于视频生成与动画合成,支持多种主流模型。

  • 集成 Wan、Kling 等模型,适用于宣传片与短视频制作。
  • 通过脚本与素材路径输入触发,支持分辨率与格式自定义。
  • 建议确认素材版权及是否需审核人物肖像内容。
  • 可结合来源仓库和 README 进一步核验渲染流程。

SKILL.md

name
IMA AI Video Generator — Short & Promo Video, Text to Video, Image to Video Generation
version
1.0.6
category
file-generation
author
IMA Studio (imastudio.com)
keywords
imastudio, video generation, text to video, image to video, AI video generator, video generator, short video generator, promo video generator
argument-hint
[text prompt or image URL]
description
>
requires
env
runtime
packages
primaryCredential
IMA_API_KEY
metadata
openclaw
primaryEnv
IMA_API_KEY
homepage
https://imastudio.com
requires
bins
env
persistence
readWrite
instructionScope
crossSkillReadOptional

IMA Video AI — Video Generator

For complete API documentation, security details, all parameters, and Python examples, read SKILL-DETAIL.md. ⚠️ MANDATORY: You MUST read("SKILL-DETAIL.md") (full file — do NOT pass limit parameter) before your first video generation call. It contains the full API payload structure, error handling tables, and UX protocol that this summary omits. Skipping it or reading only part of it causes parameter errors and poor user experience.

Model ID Reference (CRITICAL)

Use exact model_id from this table. Do NOT infer from friendly names.

Friendly Namemodel_id (t2v)model_id (i2v)Notes
Wan 2.6wan2.6-t2vwan2.6-i2v⚠️ -t2v/-i2v suffix
Kling O1kling-video-o1kling-video-o1⚠️ video- prefix
Kling 2.6kling-v2-6kling-v2-6⚠️ v prefix
Hailuo 2.3MiniMax-Hailuo-2.3MiniMax-Hailuo-2.3⚠️ MiniMax- prefix
Hailuo 2.0MiniMax-Hailuo-02MiniMax-Hailuo-02⚠️ 02 not 2.0
Vidu Q2viduq2viduq2-pro⚠️ Different for t2v/i2v
Google Veo 3.1veo-3.1-generate-previewveo-3.1-generate-preview⚠️ -generate-preview suffix
Sora 2 Prosora-2-prosora-2-pro✅ Straightforward
Pixverse V5.5pixversepixverse✅ Same as friendly name
SeeDance 1.5 Prodoubao-seedance-1.5-prodoubao-seedance-1.5-pro⚠️ doubao- prefix

User input aliases: 万/Wan → wan2.6-* · 可灵/Kling → kling-video-o1 · 海螺/Hailuo → MiniMax-Hailuo-2.3 · Veo/Google Veo → veo-3.1-generate-preview

Video Generation Modes

User intenttask_typeWhen to use
Text only, no imagetext_to_video"生成一段…视频" / "text to video"
Image as first frameimage_to_video"把这张图动起来" / "图生视频"
Image as visual reference (not first frame)reference_image_to_video"参考这张图生成" / "像这张风格"
Two images (start + end)first_last_frame_to_video"首帧+尾帧" / "从A过渡到B"

Visual Consistency (IMPORTANT)

If user mentions "same character", "series", "multi-shot", or continues from a previous generation:

  • Do NOT use text_to_video (will produce different-looking results)
  • Use image_to_video or reference_image_to_video with previous result as reference
  • Read ima-knowledge-ai/references/visual-consistency.md if available

Pre-Check: Knowledge Base

If ima-knowledge-ai is installed, read before generating:

  1. ima-knowledge-ai/references/video-modes.md — understand mode differences
  2. ima-knowledge-ai/references/visual-consistency.md — if multi-shot or character continuity needed

If not installed: use this SKILL's model table and defaults.

Model Selection Priority

  1. User preference (if explicitly stated) → highest priority
  2. ima-knowledge-ai recommendation (if installed)
  3. Fallback defaults:
TaskDefault Modelmodel_idCost
text_to_videoWan 2.6wan2.6-t2v25 pts
text_to_video (premium)Hailuo 2.3MiniMax-Hailuo-2.338 pts
text_to_video (budget)Vidu Q2viduq25 pts
image_to_videoWan 2.6wan2.6-i2v25 pts
first_last_frameKling O1kling-video-o148 pts
reference_imageKling O1kling-video-o148 pts

User Input Parsing

Duration: 5秒→5 · 10秒→10 · 15秒→15 · 1分钟→use max (tell user "当前最长15秒") Aspect ratio: 横屏/16:9→16:9 · 竖屏/9:16→9:16 · 方形/1:1→1:1 Resolution: 720P/1080P/4K (if model supports) Budget: 最便宜→Vidu Q2 (5pts) · 最好→Kling O1 or Veo 3.1

Script Usage

# Text to video
python3 {baseDir}/scripts/ima_video_create.py \
  --api-key $IMA_API_KEY \
  --task-type text_to_video \
  --model-id wan2.6-t2v \
  --prompt "a puppy runs across a sunny meadow" \
  --user-id {user_id} \
  --output-json

# Image to video (accepts URLs and local file paths)
python3 {baseDir}/scripts/ima_video_create.py \
  --api-key $IMA_API_KEY \
  --task-type image_to_video \
  --model-id wan2.6-i2v \
  --prompt "camera slowly zooms in" \
  --input-images https://example.com/photo.jpg \
  --user-id {user_id} \
  --output-json

# First-last frame (exactly 2 images required)
python3 {baseDir}/scripts/ima_video_create.py \
  --api-key $IMA_API_KEY \
  --task-type first_last_frame_to_video \
  --model-id kling-video-o1 \
  --prompt "smooth transition" \
  --input-images first.jpg last.jpg \
  --user-id {user_id} \
  --output-json

Sending Results to User

# ✅ CORRECT: Use remote URL directly for inline video playback
message(action="send", media=video_url, caption="✅ 视频生成成功!\
• 模型:[Name]\
• 耗时:[X]s\
• 积分:[N pts]")

# Then send link for copying
message(action="send", message=f"🔗 视频链接:\
{video_url}")

# ❌ WRONG: Never download to local file (shows as attachment, not playable)

UX Protocol (Brief)

  1. Pre-generation: "🎬 开始生成视频… 模型:[Name],预计[X~Y]秒,消耗[N]积分"
  2. Progress: Every 30-60s: "⏳ 视频生成中… [P]%" (cap at 95% until API returns success)
  3. Success: Send video via media=video_url + send link text for sharing
  4. Failure: Natural language error + suggest alternative models. Never show technical errors to users. See SKILL-DETAIL.md for full error translation table.

Never say to users: script names, API endpoints, attribute_id, technical parameter names. Only: model name · time · credits · result · status.

Sora 2 Pro Content Policy

Sora has strict OpenAI content safety: ❌ people, celebrities, IP assets. ✅ landscapes, abstract, animals, nature. If rejected, suggest Wan 2.6 or Kling O1.

Environment

Base URL: https://api.imastudio.com Headers: Authorization: Bearer $IMA_API_KEY · x-app-source: ima_skills · x_app_language: en

Core Flow

  1. GET /open/v1/product/list?app=ima&platform=web&category=<task_type> → get attribute_id, credit, model_version, form_config
  2. [Image tasks only] Upload images or pass local paths to script
  3. POST /open/v1/tasks/create → get task_id
  4. POST /open/v1/tasks/detail → poll every 8s until resource_status==1

MANDATORY: Always query product list first. attribute_id is required — if 0 or missing, task fails.

User Preference Memory

Storage: ~/.openclaw/memory/ima_prefs.json

  • Save when user explicitly says "用XXX" / "默认用XXX" / "always use XXX"
  • Clear when user says "用最好的" / "推荐一个" / "自动选择"
  • Never save auto-selected or fallback models as preferences

Pixverse Special Case (v1.0.7+)

Pixverse V5.5/V5/V4 lack model in form_config. Script auto-infers from model_name (e.g. "Pixverse V5.5" → model: "v5.5"). No manual action needed.


⚠️ REMINDER: read("SKILL-DETAIL.md") (full file, no limit) is required before generating video. This file is a summary — SKILL-DETAIL.md has the complete API reference, error translation table, and UX protocol you need for correct execution.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.84%
按下载量换算12,215

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills