From ba9e6828a4623e25cabaa1964a96aa26e56c049f Mon Sep 17 00:00:00 2001
From: Xinfan Chen <xinfanchen@XinfandeMac-mini.local>
Date: Fri, 27 Mar 2026 16:43:08 +0800
Subject: [PATCH] 更新了readme,添加了前端、微信调用的图片

---
 README.md |  330 +++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 236 insertions(+), 94 deletions(-)

diff --git a/README.md b/README.md
index 079ac34..daaf34d 100644
--- a/README.md
+++ b/README.md
@@ -1,137 +1,279 @@
+# 🎬 AIGC-Claw
+
 <p align="center">
-    <img src="pics/cover_page.jpg" width="300" style="margin-bottom: 0.2;"/>
-<p>
+  <a href="https://github.com/hit-cxf/AIGC-Claw/stargazers">
+    <img src="https://img.shields.io/github/stars/hit-cxf/AIGC-Claw?style=flat-square&logo=github" alt="Stars">
+  </a>
+  <a href="https://github.com/hit-cxf/AIGC-Claw/fork">
+    <img src="https://img.shields.io/github/forks/hit-cxf/AIGC-Claw?style=flat-square&logo=github" alt="Forks">
+  </a>
+  <a href="https://github.com/hit-cxf/AIGC-Claw/blob/main/LICENSE">
+    <img src="https://img.shields.io/github/license/hit-cxf/AIGC-Claw?style=flat-square" alt="License">
+  </a>
+  <img src="https://img.shields.io/badge/Version-1.0.0-blue.svg" alt="Version">
+  <img src="https://img.shields.io/badge/Python-3.9+-purple.svg" alt="Python">
+</p>
 
-<h2 align="center"> <a href="https://github.com/HITsz-TMG/FilmAgent">FilmAgent: A Multi-Agent Framework for End-to-End Film Automation in Virtual 3D Spaces</a></h2>
-<!-- <h5 align="center"> If you like our project, please consider giving us a star ⭐ on GitHub to stay updated with the latest developments.  </h2> -->
-<h4 align="center">
-
-<div align="center">
-<img src="https://img.shields.io/badge/Version-1.0.0-blue.svg" alt="Version"> 
-<img src="https://img.shields.io/badge/License-Apache%202.0-green.svg" alt="License">
-<img src="https://img.shields.io/github/stars/HITsz-TMG/FilmAgent?color=yellow" alt="Stars">
-<img src="https://img.shields.io/github/issues/HITsz-TMG/FilmAgent?color=red" alt="Issues">
-<img src="https://img.shields.io/badge/python-3.8-purple.svg" alt="Python">
-
-<!-- <img src="https://img.shields.io/github/stars/AIDC-AI/Marco-o1?color=yellow" alt="Stars"> -->
-
-<!-- [![Project Page](https://img.shields.io/badge/Project_Page-FilmAgent-blue)](https://filmagent.github.io/)
-[![Project Page](https://img.shields.io/badge/Paper-Arxiv-yellow)](https://arxiv.org/abs/2501.12909)
-[![Project Page](https://img.shields.io/badge/Video-Youtube-red)](https://www.youtube.com/watch?v=hTI-0777iHU)
-![Gitea Stars](https://img.shields.io/gitea/stars/HITsz-TMG/FilmAgent) -->
-
-</h4>
+<p align="center">
+  <b>AI 视频生成全流程系统 | 通过 6 个阶段将用户想法转化为完整视频</b>
+</p>
 
 <div align="center">
 
-<!-- **Affiliations:** -->
-
-_**Zhenran Xu, Longyue Wang, Jifang Wang, Zhouyi Li, Senbao Shi, Xue Yang, Yiyu Wang, Baotian Hu, Jun Yu, Min Zhang**_
-
-🎯  [**Project Page**](https://filmagent.github.io)  :octocat:  [**Code**](https://github.com/HITsz-TMG/FilmAgent)  📝  [**Paper**](https://arxiv.org/abs/2501.12909) 🧑‍💻  [**Slides**](https://filmagent.github.io/static/SA24_FilmAgent.pdf)  📽️  [**Video**](https://www.youtube.com/watch?v=hTI-0777iHU)
-
-<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>
+🎯  [**项目主页**](https://github.com/hit-cxf/AIGC-Claw)  :octocat:  [**代码**](https://github.com/hit-cxf/AIGC-Claw)  📝  [**文档**](./aigc-director/SKILL.md)
 
 </div>
 
-#
+---
 
-**FilmAgent** is a multi-agent collaborative system for end-to-end film automation in 3D virtual spaces. 
-FilmAgent simulates key crew roles—directors, screenwriters, actors, and cinematographers, and integrates efficient human workflows within a sandbox environment.
+## 📺 Demo 演示
 
-<div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/intro.png" height="100%" width="78%"/></div>
+### 工作流界面
+
+<div align="center">
+
+| | |
+|:---:|:---:|
+| ![Stage 1](./aigc-director-pics/workflow_demo/stage_1.png) | ![Stage 2](./aigc-director-pics/workflow_demo/stage_2.png) |
+| ![Stage 3](./aigc-director-pics/workflow_demo/stage_3.png) | ![Stage 4](./aigc-director-pics/workflow_demo/stage_4.png) |
+| ![Stage 5](./aigc-director-pics/workflow_demo/stage_5.png) | ![Stage 6](./aigc-director-pics/workflow_demo/stage_6.png) |
+
+</div>
+
+### 微信交互展示
+
+<div align="center">
+
+| | |
+|:---:|:---:|
+| ![Settings](./aigc-director-pics/wechat_demo/1_settings.jpg) | ![Choose Mode](./aigc-director-pics/wechat_demo/3_choose_mode.jpg) |
+| ![Choose Logline](./aigc-director-pics/wechat_demo/2_choose_logline.jpg) | ![Script](./aigc-director-pics/wechat_demo/4_get_script.jpg) |
+| ![Characters](./aigc-director-pics/wechat_demo/5_get_characters.jpg) | ![References](./aigc-director-pics/wechat_demo/6_get_references.jpg) |
+| ![Videos](./aigc-director-pics/wechat_demo/7_get_videos.jpg) | |
+
+</div>
+
+---
 
 ## 💥 News
 
-- `2025/2/11`: 🎬 We’ve just released a fan-made video about ***NeZha2***, in celebration of its record-breaking success at the box office. Click the image below to watch the video! 👇
-  [<div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/nezha_youtube.png" width="450"></div>](https://www.youtube.com/watch?v=jY3n-AzBtUQ)
-- `2025/1/23`:  🙌 We're excited that FilmAgent is recommended by [AK](https://x.com/_akhaliq/status/1882268452716728789), [el.cine](https://x.com/EHuanglu/status/1882294685919772928) and [Theoretically Media](https://www.youtube.com/watch?v=0ebXKegfxWk&t=899s). Thanks!
-- `2025/1/22`: 📄 Our paper is now accessible at https://arxiv.org/abs/2501.12909.
+- `2025/3/27`: 🚀 AIGC-Claw 正式发布,支持 6 阶段视频生成全流程
+- `2025/3/20`: 🎬 集成多种视频生成模型( wan2.6、kling、jimeng )
+- `2025/3/15`: 🖼️ 支持多模型文生图( Seedream、即梦、Wan2.6 )
 
+---
 
+## ✨ 功能特性
 
-## 🚀 Framework
+| 阶段 | 功能 | 描述 |
+|:---:|---|---|
+| 1 | 🎭 **剧本生成** | 输入创意自动生成结构化剧本,支持电影(4幕)和微电影(1幕)模式 |
+| 2 | 👤 **角色设计** | AI 生成角色设定图(四视图)和场景背景图 |
+| 3 | 🎬 **分镜设计** | 智能拆分镜头脚本,设计镜头语言 |
+| 4 | 🖼️ **参考图生成** | 为每个镜头生成高精度参考图 |
+| 5 | 🎥 **视频生成** | 图生视频 / 文生视频 |
+| 6 | ✂️ **后期剪辑** | 自动拼接视频片段,添加转场效果 |
 
-Following the traditional film studio workflow, we divide the whole film automation process into three sequential stages: idea development, scriptwriting and cinematography, and apply the **Critique-Correct-Verify**, **Debate-Judge** collaboration strategies. After these stages, each line in the script is specified with the positions of the actors, their actions, their dialogue, and the chosen camera shots.
+### 🌟 核心能力
 
-<div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/framework.png" height="100%" width="85%"/></div>
+- **多模型支持**:集成阿里云 DashScope、字节跳动 Seedream、即梦 Jimeng、快手可灵 Kling、DeepSeek、OpenAI、Google Gemini
+- **Agent 架构**:基于 OpenClaw 平台的可调用 Skill,全流程自动化
+- **交互式确认**:每个阶段完成后展示产物,等待用户确认后继续
+- **临时工作台**:支持单独调用 LLM、VLM、文生图、图生图、视频生成
 
-## 🌟 Build Your own Film with FilmAgent
+---
 
-1. Install Package
-```Shell
-conda create -n filmagent python==3.9.18
-conda activate filmagent
-pip install -r env.txt
-```
+## 🛠️ 技术栈
 
-2. Create `Script` and `Logs` folders in the Filmagent directory, then replace the absolute pathname '/path/to/' with your specific path and modify the `topic` in the `main.py`. Modify the api_key and organization number in `LLMCaller.py`. Run the following commands to get the movie script created by the agents collaboratively:
+<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>
+
+---
+
+## 🚀 快速开始
+
+### 方式一:手动安装
+
 ```bash
-cd /path/to/FilmAgent
-conda activate filmagent
-python main.py
+# 1. 克隆项目
+git clone https://github.com/hit-cxf/AIGC-Claw.git
+cd AIGC-Claw
+
+# 2. 配置并启动后端
+cd aigc-director/aigc-claw/backend
+
+# 创建虚拟环境并安装依赖
+python -m venv venv
+source venv/bin/activate  # Linux/Mac
+pip install -r requirements.txt
+
+# 配置环境变量
+cp .env.example .env
+# 编辑 .env 填入 API Key
+
+# 启动后端
+python api_server.py
+# 服务运行在 http://localhost:8000
 ```
 
-3. We use [ChatTTS](https://github.com/2noise/ChatTTS) to provide voice acting for the characters in the script. You need to download the [ChatTTS](https://github.com/2noise/ChatTTS) repository to the `TTS` directory. Then replace the absolute pathname '/path/to/' with your specific path in the `tts_main.py`. Run the following commands to deploy the text-to-speech service:
 ```bash
-cd /path/to/TTS
-conda create -n tts python==3.9.18
-conda activate tts
-pip install -r tts_env.txt
-python tts_main.py
+# 3. 配置并启动前端(新终端)
+cd aigc-director/aigc-claw/frontend
+npm install
+npm run build
+npm start
+# 访问 http://localhost:3000
 ```
 
-4. Modify the `Script_path`, `actos_path`, `Audio_path` and `url` in the `GenerateAudio.py`. Run the following commands to get the audio files:
+### 方式二:OpenClaw 自动配置
+
+向 OpenClaw 发送消息:
+
+```
+帮我克隆git仓库:https://github.com/hit-cxf/AIGC-Claw.git
+然后把AIGC-Claw中的aigc-director文件夹递归复制到workspace/skills中,用作AIGC相关的skill
+```
+
+使用时建议指明 "使用 aigc-director":
+
+```
+你用aigc-director来帮我生成一个视频,内容是"一条狗的使命"
+```
+
+---
+
+## 📊 工作流
+
+<div align="center">
+
+```
+┌─────────────┐    ┌─────────────┐    ┌─────────────┐    ┌─────────────┐    ┌─────────────┐    ┌─────────────┐
+│   剧本生成   │ → │  角色设计   │ → │  分镜设计   │ → │ 参考图生成  │ → │  视频生成   │ → │  后期剪辑   │
+│   Script    │   │  Character  │   │ Storyboard  │   │  Reference  │   │    Video   │   │    Post     │
+└─────────────┘    └─────────────┘    └─────────────┘    └─────────────┘    └─────────────┘    └─────────────┘
+       ↓                  ↓                  ↓                  ↓                  ↓                  ↓
+   🎭 剧本产出        👤 角色/场景        🎬 分镜列表        🖼️ 参考图          🎥 视频片段        🎬 最终成片
+```
+
+</div>
+
+### 阶段产物展示
+
+| 阶段 | 产物示例 |
+|:---:|:---:|
+| 剧本生成 | ![Script Placeholder](https://via.placeholder.com/300x200/16213e/0f3460?text=Script+Output) |
+| 角色设计 | ![Character Placeholder](https://via.placeholder.com/300x200/16213e/0f3460?text=Character+Design) |
+| 分镜设计 | ![Storyboard Placeholder](https://via.placeholder.com/300x200/16213e/0f3460?text=Storyboard) |
+| 参考图生成 | ![Reference Placeholder](https://via.placeholder.com/300x200/16213e/0f3460?text=Reference+Images) |
+| 视频生成 | ![Video Placeholder](https://via.placeholder.com/300x200/16213e/0f3460?text=Video+Clips) |
+| 后期剪辑 | ![Final Placeholder](https://via.placeholder.com/300x200/16213e/0f3460?text=Final+Video) |
+
+---
+
+## 📁 项目结构
+
+```
+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
+```
+
+---
+
+## 🔧 配置说明
+
+### 环境要求
+
+- **Python**: 3.9+
+- **Node.js**: 18+
+- **npm**: 9+
+
+### 后端环境变量
+
+在 `aigc-claw/backend/.env` 中配置:
+
 ```bash
-cd /path/to/FilmAgent
-conda activate filmagent
-python GenerateAudio.py
+# LLM 配置
+LLM_MODEL=qwen3.5-plus
+VLM_MODEL=qwen-vl-plus
+
+# 图像生成
+IMAGE_T2I_MODEL=doubao-seedream-5-0-260128
+IMAGE_IT2I_MODEL=doubao-seedream-5-0-260128
+
+# 视频生成
+VIDEO_MODEL=wan2.6-i2v-flash
+VIDEO_RATIO=16:9
+
+# API Keys
+DASHSCOPE_API_KEY=your_key
+ARK_API_KEY=your_key
+DEEPSEEK_API_KEY=your_key
 ```
 
-5. We now have the `script.json`, `actors_profile.json`, and a series of `.wav` audio files. Next, we need to execute the script in Unity. The recommended version of the Unity editor is **Unity 2022.3.14f1c1**. You need to download the Unity project file we provide [[Dropbox](https://www.dropbox.com/scl/fi/atxhxnqppeofmt471dxr5/TheBigBang.zip?rlkey=o7zuqficetabkk2h1w1npkv3v&st=5s41rzdv&dl=0)][[Baidu Disk](https://pan.baidu.com/s/10wgfvtcG-xnx1fA9Rd_zwg?pwd=5aif)]. After decompression, open `TheBigBang\Assets\TheBigBang\Manyrooms.unity` with Unity. Then replace all the absolute pathnames '/path/to/' with your specific path in `TheBigBang\Assets\Scirpts\StartVideo.cs` and `TheBigBang\Assets\Scirpts\ScriptExecute.cs`. Press **'ctrl+R'** in the unity interface to recompile, click **'Play'** to enter Game mode, then press **'E'** to start executing the script (sometimes the audio files load slowly, so you may need to play it 2 or 3 times before it can run normally).
+### 可用模型
 
-<div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/unity_1.png" height="100%" width="50%"/><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/unity_2.png" height="100%" width="50%"/></div>  
+| 类型 | 模型 |
+|:---:|:---|
+| **LLM** | qwen3.5-plus, deepseek-chat, gpt-4o, gemini-2.5-flash |
+| **VLM** | qwen-vl-plus, gemini-2.5-flash-image |
+| **文生图** | doubao-seedream-5-0, jimeng_t2i_v40, wan2.6-t2i |
+| **图生图** | doubao-seedream-5-0, jimeng_t2i_v40, wan2.6-image |
+| **视频生成** | wan2.6-i2v-flash, kling-v3, jimeng_ti2v_v30_pro |
 
-6. For the tests on 15 topics in our experimental section, we provide three .py files: `test_full.py` (The full FilmAgent framework, utilizing multi-agent collaboration.), `test_no_interation.py` (A single agent is responsible for planning, scriptwriting, and cinematography, representing our FilmAgent framework without multi-agent collaboration algorithms.) and `test_cot.py` (A single agent generates the chain-of-thought rationale and the complete script).
+---
 
-## 🌈 Case Study
+## 📚 文档
 
-### 🤝 What does Multi-Agent Collaboration do?
-The following table records some comparisons of the scripts and camera settings **before (⬅️) and after (➡️)** multi-agent collaboration, with excerpts from their discussion process.
+<div align="center">
 
-<div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/cases.png" height="100%" width="70%"/></div>
+| 文档 | 描述 |
+|:---:|:---|
+| 📖 [SKILL.md](./aigc-director/SKILL.md) | OpenClaw Agent 工作流规则 |
+| 📖 [CLAUDE.md](./aigc-director/CLAUDE.md) | Claude Code 开发指引 |
+| 📖 [API 文档](./aigc-director/references/workflow/) | 六阶段工作流 API |
 
-📌 **Case Highlights:**
-- **Case #1** shows that Director-Screenwriter discussion reduces hallucinations in non-existent actions (e.g., standing suggest), enhances plot coherence, and ensures consistency across scenes.
-- **Case #2** shows that Actor-Director-Screenwriter discussion improves the alignment of dialogue with character profiles.
-- **Case #3**, in the Debate-Judge method in cinematography, demonstrates the correction of an inappropriate dynamic shot, which is replaced with a medium shot to better convey body language.
-- **Case #4** replaces a series of identical static shots with a mix of dynamic and static shots, resulting in a more diverse camera setup.
+</div>
 
-### ⚖️ Comparison with Sora
+---
 
-<div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/sora.png" height="100%" width="70%"/></div>
+## 🤝 贡献
 
-While Sora (🔗 [Video](https://github.com/user-attachments/assets/65bb4c12-cba0-4ee9-a673-63ea5103fd76)) shows great adaptability to diverse locations, characters and shots, it **struggles with consistency and narrative delivery**, along with **strange artifacts**. 
+欢迎提交 Issue 和 Pull Request!
 
-In contrast, FilmAgent requires pre-built 3D spaces, but it produces **coherent, physics-compliant** videos with strong **storytelling capabilities** (▶️ Watch on [Youtube](https://www.youtube.com/watch?v=yOOycdfolFY)).
+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
 
-### ✨ Integration with Text-to-Video Models (e.g. Sora, Vidu)
+---
 
-We are currently working towards **merging the power of text-to-video models with FilmAgent**, unlocking enhanced storytelling, greater adaptability, and improved consistency. 🚀
+## 📄 许可证
 
-Here is a preview of our work—a fan-made tribute to the box office phenomenon *NeZha2* [▶️[video link](https://www.youtube.com/watch?v=jY3n-AzBtUQ)]. This video celebrates *NeZha2* surpassing a CNY 8 billion at the box office, officially crowning it as the highest-grossing film in a single territory! 🎉 
-
-## 📚 Citation
-
-If you find FilmAgent useful for your research and applications, please cite using this BibTeX:
-```bibtex
-@misc{xu2025filmagent,
-      title={FilmAgent: A Multi-Agent Framework for End-to-End Film Automation in Virtual 3D Spaces}, 
-      author={Zhenran Xu and Longyue Wang and Jifang Wang and Zhouyi Li and Senbao Shi and Xue Yang and Yiyu Wang and Baotian Hu and Jun Yu and Min Zhang},
-      year={2025},
-      eprint={2501.12909},
-      archivePrefix={arXiv},
-      primaryClass={cs.CL},
-      url={https://arxiv.org/abs/2501.12909}, 
-}
-```
+MIT License - 查看 [LICENSE](./LICENSE) 了解详情

--
Gitblit v1.8.0