Install
openclaw skills install @linkfox-ai/linkfox-aigc-videogen-multi多参考图生视频工具,根据多张参考图和提示词生成视频。支持模型KLING可灵/SEED豆包/SEED_FAST/HAPPY_HORSE百炼,可控制时长、Pro模式、声音、宽高比、生视频"、"多图视频"、"多张图片生成视频"、"多参考图生视频"、"multi image video"、"multiple images to video"时触发。
openclaw skills install @linkfox-ai/linkfox-aigc-videogen-multi根据多张参考图和提示词生成视频,支持 3 种 AI 视频模型,异步创建任务后轮询获取结果。
| 模型(videoType) | 说明 | 支持时长 | 图片上限 |
|---|---|---|---|
| KLING | 可灵 | 5秒/10秒 | ≤7张 |
| SEED | Seedance/豆包 | 5秒/10秒/15秒 | ≤9张 |
| SEED_FAST | Seedance 2.0 Fast | 5秒/10秒/15秒 | ≤9张 |
| HAPPY_HORSE | 百炼HappyHorse | 5秒/10秒/15秒(默认15) | ≤9张 |
imageList、videoType、videoTimeprompt(2000字以内)、aspectRatio、resolution完整参数表、响应字段结构与错误码,见 references/api.md。
POST /aigc/multiImageVideoGenAsync → 返回 {taskId}POST /aigc/taskQuery → 传入 {taskId} → 返回状态和结果python scripts/aigc_videogen_multi.py '<JSON 参数>'(脚本内部自动完成创建+轮询)异步流程:
/aigc/multiImageVideoGenAsync 创建任务,获得 taskId/aigc/taskQuery,每 10 秒一次,最长等待 20 分钟media/ 目录输出策略(脚本默认行为):
media/ 目录,stdout 输出一行 Saved full response: <路径数组>。data/,仅在无视频产物时才在 stdout 提示其路径。读数据建议:禁止 Read 转存的视频文件内容。直接把 Saved full response: 后的本地路径提供给用户即可。
KLING;高分辨率用 SEED;百炼风格用 HAPPY_HORSE。1. KLING 多参考图
{"imageList": ["https://example.com/img1.jpg", "https://example.com/img2.jpg", "https://example.com/img3.jpg"], "videoType": "KLING", "videoTime": 10, "prompt": "商品多角度展示"}
2. SEED 高分辨率多图
{"imageList": ["https://example.com/a.jpg", "https://example.com/b.jpg"], "videoType": "SEED", "videoTime": 15, "resolution": "1080p", "aspectRatio": "16:9"}
3. HAPPY_HORSE 多图参考
{"imageList": ["https://example.com/p1.jpg", "https://example.com/p2.jpg", "https://example.com/p3.jpg"], "videoType": "HAPPY_HORSE", "videoTime": 15, "resolution": "1080p", "aspectRatio": "16:9"}
Saved full response: 后的本地视频路径告诉用户,例如「视频已保存至:xxx/a.mp4」。不适用:
linkfox-aigc-videogenlinkfox-aigc-imagegenlinkfox-aigc-textgen参见 references/api.md。