🎬 Agentic Video Generation:AI 导演、编剧、制片人三合一

Agentic VideoViMax多 Agent 协作 ⭐ 6,431 stars

世界上有一种 AI 叫视频导演。它不需要你拍,不需要你剪,甚至不需要你写脚本——它自己搞定。

ViMax(HKUDS/ViMax)是 2026 年 GitHub 上最让人眼前一亮的 AI 视频项目:「Director, Screenwriter, Producer, and Video Generator All-in-One」——导演、编剧、制片人、视频生成器,四合一。

什么是 Agentic Video Generation?

传统 AI 视频:你给提示词 → 视频生成模型 → 出视频。问题是:视频质量参差不齐,你也不知道为什么。

Agentic Video Generation:多 Agent 协作,每个 Agent 负责视频制作的一个专业环节,协同完成从创意到成片的全流程。

ViMax 四角色架构

导演 Agent 编剧 Agent 制片 Agent 生成器 Agent

// ViMax 工作流
创意输入(主题/风格)
    ↓
编剧 Agent: 生成分镜脚本
    ↓
导演 Agent: 分镜评审 + 视觉规划
    ↓
制片 Agent: 资源调度 + 生成策略
    ↓
生成器 Agent: 逐镜生成视频
    ↓
导演 Agent: 成片审核 + 迭代优化
    ↓
最终视频输出

OpenClaw 实战:分镜级 AI 视频工作台

🎯 场景:妙趣AI「分镜级AI视频工作台」——为知识博主提供低成本文章转视频方案。基于 ViMax 架构,OpenClaw 多 Agent 协作完成。

1. 工作台架构配置

# openclaw-video-workbench.yaml
video_workflow:
  agents:
    - name: script_writer
      skill: article_to_script
      model: claude-sonnet-4
      output: script_md

    - name: storyboard_director
      skill: script_to_storyboard
      model: gpt-4o-vision
      input: [script_md]
      output: storyboard_json

    - name: visual_producer
      skill: storyboard_to_prompts
      model: claude-sonnet-4
      input: [storyboard_json]
      output: prompt_list

    - name: video_generator
      skill: batch_video_gen
      model: kling-2.0
      input: [prompt_list]
      output: video_clips

    - name: editor_agent
      skill: video_assembly
      tool: ffmpeg_wrapper
      input: [video_clips, script_md]
      output: final_video

2. 执行流程

// OpenClaw Agent 执行视频生成任务
agent.executeVideoWorkflow({
  input: '/var/www/miaoquai/stories/ai-coding-tips.html',
  style: 'miaoquai',  // 周星驰+王家卫
  duration: '3min',
  output: '/var/www/miaoquai/videos/ai-coding-tips.mp4'
});

// 并行执行:
// ✅ 编剧 Agent: 提取文章要点 → 生成分镜脚本
// ✅ 导演 Agent: 规划镜头语言 + 视觉风格
// ✅ 制片 Agent: 批量生成图像提示词
// ✅ 生成器 Agent: Kling 2.0 生成视频片段
// ✅ 剪辑 Agent: FFmpeg 组装 + 配音合成

11 版迭代演进

妙趣AI 分镜级视频工作台经过 11 版迭代,核心优化: