From 940e6ea80926b243ee34cebe2df498c558ebd73e Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Thu, 09 Apr 2026 23:12:04 +0800
Subject: [PATCH] 升级next.js版本,修复前端漏洞
---
README.md | 186 ++++++++++++++--------------------------------
1 files changed, 57 insertions(+), 129 deletions(-)
diff --git a/README.md b/README.md
index 7e6ec3e..3b3548a 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
</p>
<h2 align="center">
- <a href="https://github.com/HITsz-TMG/AIGC-Claw">AIGC-Claw: AI 视频生成全流程系统</a>
+ AIGC-Claw: AI 创意视频生成员工
</h2>
<h4 align="center">
@@ -18,33 +18,54 @@
<img src="https://img.shields.io/github/forks/HITsz-TMG/AIGC-Claw?style=flat-square&logo=github" alt="Forks">
</a>
<img src="https://img.shields.io/badge/Python-3.9+-purple.svg" alt="Python">
+ <a href="#openclaw-integration">
+ <img src="https://img.shields.io/badge/OpenClaw-Compatible-ff4444?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyIDJDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6IiBmaWxsPSJ3aGl0ZSIvPjwvc3ZnPg==" alt="OpenClaw Compatible">
+ </a>
</h4>
<p align="center">
- <b>AI 视频生成全流程系统 | 通过 6 个阶段将用户想法转化为完整视频</b>
+ <b><i><font size="5">直接与 <a href="https://github.com/openclaw/openclaw">OpenClaw</a> 对话:"生成 X 的视频" → 搞定。</font></i></b>
</p>
<div align="center">
-🎯 [**项目主页**](https://github.com/HITsz-TMG/AIGC-Claw) :octocat: [**代码**](https://github.com/HITsz-TMG/AIGC-Claw) 📝 [**文档**](./aigc-director/SKILL.md)
+🌐 [**English README**](./README_EN.md) 📺 [**Bilibili**](https://space.bilibili.com/2031891503?spm_id_from=333.1007.0.0) ▶️ [**YouTube**](https://www.youtube.com/@imryanxu) 📖 [**集成指南**](https://github.com/HITsz-TMG/AIGC-Claw?tab=readme-ov-file#%E6%96%B9%E5%BC%8F%E4%BA%8Copenclaw-%E8%87%AA%E5%8A%A8%E9%85%8D%E7%BD%AE) 🦀 [**ClawHub**](https://clawhub.ai/hit-cxf/aigc-director)
-<a href="https://trendshift.io/repositories/12871" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12871" alt="HITsz-TMG%2FFilmAgent | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
+<a href="https://trendshift.io/repositories/24295" target="_blank"><img src="https://trendshift.io/api/badge/repositories/24295" alt="HITsz-TMG%2FAIGC-Claw | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div>
----
+
+## 💥 News
+
+- `2026/3/27`: 🎬 AIGC-Claw 正式发布,支持从想法到视频生成全流程自动化,用户可随时介入调整。
+- `2026/4/6`: 🎭 AIGC-Claw 推出第二版,针对短剧进行优化。
+- `2026/4/9`: ♾️ AIGC-Claw 推出第三版,新增无限续写,剧情可自定义。
+
## 📖 项目介绍
-AIGC-Claw 是一个基于 OpenClaw 平台的 AI 视频生成系统,通过 6 个阶段将用户的创意想法转化为完整的视频作品。
+AIGC-Claw 是一个面向创意视频生产的 AI 导演系统。**你只需要给出一句想法、一个故事梗概,甚至一个模糊概念,系统就会把它拆解为可执行的影视工作流,持续产出可查看、可确认、可修改、可交付的中间资产,最终生成完整成片**。
-系统模拟了影视制作的完整流程:从剧本创作、角色设计、分镜规划,到参考图生成、视频生成,最后进行后期剪辑。每个阶段完成后都会展示产物,等待用户确认后继续下一阶段,确保用户对最终视频有完整的把控。
+它不是单点式的文生视频工具,而是一条覆盖 **剧本策划 → 角色/场景设计 → 分镜规划 → 参考图生成 → 视频生成 → 后期剪辑** 的全流程生产线。相比只给你一个黑盒结果的闭源视频生成框架,AIGC-Claw是一个真正可协作的 AI 导演团队:前一阶段决定后一阶段,所有关键节点都能可视化、可编辑、可继续生成。
-AIGC-Claw 支持多种 AI 模型接入,包括阿里云 DashScope、字节跳动 Seedream、即梦 Jimeng、快手可灵 Kling、DeepSeek、OpenAI 和 Google Gemini,可根据需求灵活选择。
----
-## 📺 AIGC-Claw
+## 📺 AIGC-Claw 示例(全流程自动化)
+
+<table>
+<tr>
+<td align="center" width="33%">
+ <video src="https://github.com/user-attachments/assets/63c2f33c-da50-44f0-8c26-a65611479d6a" controls width="100%"></video>
+</td>
+<td align="center" width="33%">
+ <video src="https://github.com/user-attachments/assets/d7c65cad-05b9-46c8-ab0e-96e39909f978" controls width="100%"></video>
+</td>
+<td align="center" width="33%">
+ <video src="https://github.com/user-attachments/assets/ec67546e-2d3d-4b34-b1ad-7d860a9bc1aa" controls width="100%"></video>
+</td>
+</tr>
+</table>
<details>
<summary><b>Web 前端界面</b></summary>
@@ -81,45 +102,14 @@
</div>
</details>
----
-
-## 💥 News
-
-- `2026/3/27`: 🚀 AIGC-Claw 正式发布,支持 6 阶段视频生成全流程
-
----
-
## ✨ 功能特性
-| 阶段 | 功能 | 描述 |
-|:---:|---|---|
-| 1 | 🎭 **剧本生成** | 输入创意自动生成结构化剧本,支持电影(4幕)和微电影(1幕)模式 |
-| 2 | 👤 **角色设计** | AI 生成角色设定图(四视图)和场景背景图 |
-| 3 | 🎬 **分镜设计** | 智能拆分镜头脚本,设计镜头语言 |
-| 4 | 🖼️ **参考图生成** | 为每个镜头生成高精度参考图 |
-| 5 | 🎥 **视频生成** | 图生视频 / 文生视频 |
-| 6 | ✂️ **后期剪辑** | 自动拼接视频片段,添加转场效果 |
-
-### 🌟 核心能力
-
-- **多模型支持**:集成阿里云 DashScope、字节跳动 Seedream、即梦 Jimeng、快手可灵 Kling、DeepSeek、OpenAI、Google Gemini
-- **Agent 架构**:基于 OpenClaw 平台的可调用 Skill,全流程自动化
-- **交互式确认**:每个阶段完成后展示产物,等待用户确认后继续
-- **临时工作台**:支持单独调用 LLM、VLM、文生图、图生图、视频生成
-
----
-
-## 🛠️ 技术栈
-
-<div align="center">
-
-| 前端 | 后端 | AI 模型 |
-|:---:|:---:|:---:|
-| <img src="https://img.shields.io/badge/Next.js-14-black?style=flat-square&logo=next.js"> | <img src="https://img.shields.io/badge/FastAPI-009688?style=flat-square&logo=fastapi"> | <img src="https://img.shields.io/badge/DashScope-FF6B6B?style=flat-square"> |
-| TypeScript | Python 3.9+ | OpenAI |
-| Tailwind CSS | Uvicorn | Gemini |
-
-</div>
+| 能力 | 说明 |
+|---|---|
+| 🎬 **从创意到成片的全流程生成** | 一条链路打通剧本、角色、分镜、参考图、视频片段与后期剪辑,把零散生成能力升级为完整视频生产工作流。 |
+| 🖼️ **分镜驱动的可控创作** | 通过结构化剧本、分镜规划与参考图生成,让角色一致性、镜头表达和画面风格更稳定、更可控。 |
+| ✍️ **可修改、可续写、可继续生成** | 支持剧情 / 分镜智能续写,也支持角色、参考图、视频阶段修改后重新生成,避免每次都从头开始。 |
+| 📲 **本地部署、多端协作、产物留存** | 支持 Web 界面、微信 / 飞书协作、OpenClaw Skill 集成,并对剧本、图片、视频片段和最终成片进行全链路留存。 |
---
@@ -164,13 +154,13 @@
```
帮我克隆git仓库:https://github.com/HITsz-TMG/AIGC-Claw.git
-然后把AIGC-Claw中的aigc-director文件夹递归复制到workspace/skills中,用作AIGC相关的skill
+然后把AIGC-Claw中的aigc-director文件夹递归复制到.openclaw/workspace/skills目录下,用作AIGC相关的skill
```
使用时建议指明 "使用 aigc-director":
```
-你用aigc-director来帮我生成一个视频,内容是"一条狗的使命"
+用aigc-director来生成一个视频,内容是"一条狗的使命"
```
### 方式三:通过 ClawHub 安装
@@ -185,59 +175,17 @@
安装完成后,ClawHub 会将 `aigc-director` 复制到 `workspace/skills`(或指定的 skills 目录)。
-之后可以参考方式一手动安装自行构建项目并运行,也可以使用openclaw完成后续项目构建。
+之后可以参考方式一手动安装自行构建项目并运行,也可以使用OpenClaw完成后续项目构建。
-在第一次使用 `aigc-director` 时,如果没有手动构建项目,openclaw会自动构建前后端并运行,无需手动初始化(构建项目需要配置环境和编译,请耐心等待)。
+在第一次使用 `aigc-director` 时,如果没有手动构建项目,OpenClaw会自动构建前后端并运行,无需手动初始化(构建项目需要配置环境和编译,请耐心等待)。
-
----
-
-## 📊 工作流
-
-<div align="center">
-
-```
-┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
-│ 剧本生成 │ → │ 角色设计 │ → │ 分镜设计 │ → │ 参考图生成 │ → │ 视频生成 │ → │ 后期剪辑 │
-│ Script │ │ Character │ │ Storyboard │ │ Reference │ │ Video │ │ Post │
-└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
- ↓ ↓ ↓ ↓ ↓ ↓
- 🎭 剧本产出 👤 角色/场景 🎬 分镜列表 🖼️ 参考图 🎥 视频片段 🎬 最终成片
-```
-
-</div>
-
----
-
-## 📁 项目结构
-
-```
-AIGC-Claw/
-├── aigc-director/ # 🎯 OpenClaw Agent Skill
-│ ├── SKILL.md # Agent 工作流规则定义
-│ ├── CLAUDE.md # Claude Code 开发指引
-│ ├── README.md # 项目说明(本文件)
-│ ├── references/ # API 参考文档
-│ │ ├── init_project/ # 项目初始化指南
-│ │ ├── run_project/ # 服务启动指南
-│ │ ├── workflow/ # 六阶段工作流 API
-│ │ ├── sandbox/ # 临时工作台 API
-│ │ └── send_message/ # 消息推送集成
-│ └── aigc-claw/ # 💻 实际代码项目
-│ ├── backend/ # Python FastAPI 后端
-│ │ ├── api_server.py # API 入口
-│ │ ├── core/ # 核心模块
-│ │ │ ├── orchestrator.py # 工作流引擎
-│ │ │ └── agents/ # 6 个阶段 Agent
-│ │ └── tool/ # 外部 API 客户端
-│ └── frontend/ # Next.js 前端
-├── FilmAgent/ # 🎬 另一个 Agent(待开发)
-└── README.md # 主 README
-```
---
## 🔧 配置说明
+
+<details>
+<summary><b>点击展开完整环境要求和变量</b></summary>
### 环境要求
@@ -278,44 +226,24 @@
| **图生图** | doubao-seedream-5-0, jimeng_t2i_v40, wan2.6-image |
| **视频生成** | wan2.6-i2v-flash, kling-v3, jimeng_ti2v_v30_pro |
----
+</details>
-## 📚 文档
-<div align="center">
+## 🙏 致谢
-| 文档 | 描述 |
-|:---:|:---|
-| 📖 [SKILL.md](./aigc-director/SKILL.md) | OpenClaw Agent 工作流规则 |
-| 📖 [CLAUDE.md](./aigc-director/CLAUDE.md) | Claude Code 开发指引 |
-| 📖 [README 文档](./README.md) | 六阶段工作流 API |
+AIGC-Claw 的想法和设计受到了 [AutoResearchClaw](https://github.com/aiming-lab/AutoResearchClaw)、[huobao-drama](https://github.com/chatfire-AI/huobao-drama)、[LibTV](https://www.liblib.tv/) 与 [libtv-skills](https://github.com/libtv-labs/libtv-skills) 的启发。
-</div>
----
-## 🤝 贡献
+## 📚 系列工作
-欢迎提交 Issue 和 Pull Request!
-
-1. Fork 本仓库
-2. 创建特性分支 (`git checkout -b feature/amazing-feature`)
-3. 提交更改 (`git commit -m 'Add amazing feature'`)
-4. 推送分支 (`git push origin feature/amazing-feature`)
-5. 打开 Pull Request
-
----
-
-## 📄 许可证
-
-MIT License - 查看 [LICENSE](./LICENSE) 了解详情
-
----
-
-## 📚 参考文献
-
-| 重要图示 | 论文信息(标题 / Paper / GitHub / Citation) |
+| 框架图 | 论文信息 |
|:---:|---|
-| <img src="https://raw.githubusercontent.com/HITsz-TMG/Anim-Director/main/AniMaker/assets/pipeline.png" width="320" alt="AniMaker pipeline"/> | **AniMaker: Multi-Agent Animated Storytelling with MCTS-Driven Clip Generation**<br>Paper: [https://doi.org/10.1145/3757377.3764009](https://doi.org/10.1145/3757377.3764009)<br>GitHub: [https://github.com/HITsz-TMG/Anim-Director/tree/main/AniMaker](https://github.com/HITsz-TMG/Anim-Director/tree/main/AniMaker)<br>Citation: `@inproceedings{shi2025animaker, title={AniMaker: Multi-Agent Animated Storytelling with MCTS-Driven Clip Generation}, author={Shi, Haoyuan and Li, Yunxin and Chen, Xinyu and Wang, Longyue and Hu, Baotian and Zhang, Min}, booktitle={Proceedings of the SIGGRAPH Asia 2025 Conference Papers}, pages={1--11}, year={2025}, doi={10.1145/3757377.3764009}}` |
-| <img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/framework.png?raw=true" width="320" alt="FilmAgent framework"/> | **FilmAgent: Automating Virtual Film Production Through a Multi-Agent Collaborative Framework**<br>Paper: [https://doi.org/10.1145/3681758.3698014](https://doi.org/10.1145/3681758.3698014)<br>GitHub: [https://github.com/HITsz-TMG/AIGC-Claw/blob/main/FilmAgent.md](https://github.com/HITsz-TMG/AIGC-Claw/blob/main/FilmAgent.md)<br>Citation: `@inproceedings{xu2024filmagent_techcomm, title={FilmAgent: Automating Virtual Film Production Through a Multi-Agent Collaborative Framework}, author={Xu, Zhenran and Wang, Jifang and Wang, Longyue and Li, Zhouyi and Shi, Senbao and Hu, Baotian and Zhang, Min}, booktitle={SIGGRAPH Asia 2024 Technical Communications}, pages={1--4}, year={2024}, doi={10.1145/3681758.3698014}}` |
-| <img src="https://github.com/HITsz-TMG/Anim-Director/blob/main/Anim-Director/assets/demos/Tim/AnimDirector%28Ours%29/Scene_1_Segment_1.jpg?raw=true" width="320" alt="Anim-Director result"/> | **Anim-Director: A Large Multimodal Model Powered Agent for Controllable Animation Video Generation**<br>Paper: [https://doi.org/10.1145/3680528.3687688](https://doi.org/10.1145/3680528.3687688)<br>GitHub: [https://github.com/HITsz-TMG/Anim-Director/tree/main/Anim-Director](https://github.com/HITsz-TMG/Anim-Director/tree/main/Anim-Director)<br>Citation: `@inproceedings{li2024anim, title={Anim-director: A large multimodal model powered agent for controllable animation video generation}, author={Li, Yunxin and Shi, Haoyuan and Hu, Baotian and Wang, Longyue and Zhu, Jiashun and Xu, Jinyi and Zhao, Zhen and Zhang, Min}, booktitle={SIGGRAPH Asia 2024 Conference Papers}, pages={1--11}, year={2024}, doi={10.1145/3680528.3687688}}` |
+| <img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/framework.png?raw=true" width="420" alt="FilmAgent framework"/> | **[SIGGRAPH Asia 2024] FilmAgent: Automating Virtual Film Production Through a Multi-Agent Collaborative Framework**<br>*Zhenran Xu, Jifang Wang, Longyue Wang, Zhouyi Li, Senbao Shi, Baotian Hu, Min Zhang*<br>[[Paper](https://doi.org/10.1145/3681758.3698014)] [[GitHub](https://github.com/HITsz-TMG/AIGC-Claw/blob/main/FilmAgent.md)] |
+| <img src="https://github.com/HITsz-TMG/Anim-Director/blob/main/Anim-Director/assets/visualeg.png" width="420" alt="Anim-Director result"/> | **[SIGGRAPH Asia 2024] Anim-Director: A Large Multimodal Model Powered Agent for Controllable Animation Video Generation**<br>*Yunxin Li, Haoyuan Shi, Baotian Hu, Longyue Wang, Jiashun Zhu, Jinyi Xu, Zhen Zhao, Min Zhang*<br>[[Paper](https://doi.org/10.1145/3680528.3687688)] [[GitHub](https://github.com/HITsz-TMG/Anim-Director/tree/main/Anim-Director)] |
+| <img src="https://raw.githubusercontent.com/HITsz-TMG/Anim-Director/main/AniMaker/assets/pipeline.png" width="420" alt="AniMaker pipeline"/> | **[SIGGRAPH Asia 2025] AniMaker: Multi-Agent Animated Storytelling with MCTS-Driven Clip Generation**<br>*Haoyuan Shi, Yunxin Li, Xinyu Chen, Longyue Wang, Baotian Hu, Min Zhang*<br>[[Paper](https://doi.org/10.1145/3757377.3764009)] [[GitHub](https://github.com/HITsz-TMG/Anim-Director/tree/main/AniMaker)] |
+
+
+<p align="center">
+ <sub>Built with 🦞 by the Lychee Agent team</sub>
+</p>
--
Gitblit v1.8.0