From 2f48fc1d4c80a4c25a04d5f4e1e6c19fbb3528db Mon Sep 17 00:00:00 2001 From: hit-cxf <2024111082@stu.hit.edu.cn> Date: Thu, 23 Apr 2026 11:53:33 +0800 Subject: [PATCH] fix: add kimi to models.ts --- README.md | 364 ++++++++++++++++++++++++++++++++------------------- 1 files changed, 229 insertions(+), 135 deletions(-) diff --git a/README.md b/README.md index daaf34d..9900d6e 100644 --- a/README.md +++ b/README.md @@ -1,35 +1,194 @@ -# 🎬 AIGC-Claw - <p align="center"> - <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"> + <img src="aigc-director-pics/banner.png" width="100%" /> </p> +<h2 align="center"> + AIGC-Claw: AI 创意视频生成员工 +</h2> + +<h4 align="center"> + <img src="https://img.shields.io/badge/Version-1.0.0-blue.svg" alt="Version"> + <a href="https://github.com/HITsz-TMG/AIGC-Claw/blob/main/LICENSE"> + <img src="https://img.shields.io/github/license/HITsz-TMG/AIGC-Claw?style=flat-square" alt="License"> + </a> + <a href="https://github.com/HITsz-TMG/AIGC-Claw/stargazers"> + <img src="https://img.shields.io/github/stars/HITsz-TMG/AIGC-Claw?style=flat-square&logo=github" alt="Stars"> + </a> + <a href="https://github.com/HITsz-TMG/AIGC-Claw/fork"> + <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/hit-cxf/AIGC-Claw) :octocat: [**代码**](https://github.com/hit-cxf/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/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> ---- -## 📺 Demo 演示 +## 💥 News -### 工作流界面 +- `2026/3/27`: 🎬 AIGC-Claw 正式发布,支持从想法到视频生成全流程自动化,用户可随时介入调整。 +- `2026/4/6`: 🎭 AIGC-Claw 推出第二版,针对短剧进行优化。 +- `2026/4/9`: ♾️ AIGC-Claw 推出第三版,新增无限续写,剧情可自定义。 + +## 📖 项目介绍 + +AIGC-Claw 是一个面向创意视频生产的 AI 导演系统。**你只需要给出一句想法、一个故事梗概,甚至一个模糊概念,系统就会把它拆解为可执行的影视工作流,持续产出可查看、可确认、可修改、可交付的中间资产,最终生成完整成片**。 + +它不是单点式的文生视频工具,而是一条覆盖 **剧本策划 → 角色/场景设计 → 分镜规划 → 参考图生成 → 视频生成 → 后期剪辑** 的全流程生产线。相比只给你一个黑盒结果的闭源视频生成框架,AIGC-Claw是一个真正可协作的 AI 导演团队:前一阶段决定后一阶段,所有关键节点都能可视化、可编辑、可继续生成。 + + + +## 📺 AIGC-Claw 示例(全流程自动化) +## 🎬 视频生成演示 (Demo Gallery) + +### 📱 系列一:程序员被裁后利用 openclaw 收购原公司 (写实 短剧) +> 共 8 集,跌宕起伏的逆袭之路(首次生成 6 集 + 续写 2 集) + +<table> + <tr> + <td align="center" valign="top" width="25%"> + <a href="https://github.com/user-attachments/assets/1d095b82-3a72-4acc-9ca1-3ff4a6189232"> + <img src="https://github.com/user-attachments/assets/8d25f5a5-05dd-4253-8c47-712c949878d0" width="100%" alt="点击播放 第 1 集"> + </a> + <br><b>▶️ 第 1 集</b><br>被优化 + </td> + <td align="center" valign="top" width="25%"> + <a href="https://github.com/user-attachments/assets/489c5343-6345-4bce-81dc-bf6012b9c1cf"> + <img src="https://github.com/user-attachments/assets/24f783f5-7a76-4ffc-ab3e-264e2ce2a198" width="100%" alt="点击播放 第 2 集"> + </a> + <br><b>▶️ 第 2 集</b><br>深夜启程 首单突破 + </td> + <td align="center" valign="top" width="25%"> + <a href="https://github.com/user-attachments/assets/359809cf-678b-429c-bafa-55ff50fd3277"> + <img src="https://github.com/user-attachments/assets/7a21ad67-9e70-4ace-936a-593f55e3e576" width="100%" alt="点击播放 第 3 集"> + </a> + <br><b>▶️ 第 3 集</b><br>AI获投 旧主危机 + </td> + <td align="center" valign="top" width="25%"> + <a href="https://github.com/user-attachments/assets/5561a04a-5ab3-4099-bc63-2fdbcc48f8e9"> + <img src="https://github.com/user-attachments/assets/393fe76e-134b-461b-82e9-8956ce65321f" width="100%" alt="点击播放 第 4 集"> + </a> + <br><b>▶️ 第 4 集</b><br>收购星耀 + </td> + </tr> + <tr> + <td align="center" valign="top"> + <a href="https://github.com/user-attachments/assets/ae4c3618-1990-4ff5-ad85-e09f23b08f7d"> + <img src="https://github.com/user-attachments/assets/405cf7ba-2cee-46c8-9579-a312cf634c02" width="100%" alt="点击播放 第 5 集"> + </a> + <br><b>▶️ 第 5 集</b><br>收购清算 新生 + </td> + <td align="center" valign="top"> + <a href="https://github.com/user-attachments/assets/4ddbb725-34d8-478b-97bc-5d7143f73101"> + <img src="https://github.com/user-attachments/assets/de9210e4-6f07-487b-9f09-77dc9078cce4" width="100%" alt="点击播放 第 6 集"> + </a> + <br><b>▶️ 第 6 集</b><br>新生 回望 + </td> + <td align="center" valign="top"> + <a href="https://github.com/user-attachments/assets/1c1e5970-aaea-44ba-b041-5d551905bfde"> + <img src="https://github.com/user-attachments/assets/a3ff09bc-b2cb-4f73-8905-ca08ab6c8de1" width="100%" alt="点击播放 第 7 集"> + </a> + <br><b>▶️ 第 7 集</b><br>技术反噬 + </td> + <td align="center" valign="top"> + <a href="https://github.com/user-attachments/assets/e56e6784-6e49-4891-b0bc-a32308dd2145"> + <img src="https://github.com/user-attachments/assets/fd3ad96f-5cab-4d6e-8af8-5b3fb0ba32af" width="100%" alt="点击播放 第 8 集"> + </a> + <br><b>▶️ 第 8 集</b><br>坚守伦理 共渡难关 + </td> + </tr> +</table> + +<br> + +### 🖥️ 系列二:乡村教师 (科幻 漫剧) +> 共 5 集,致敬伟大的文明传承 + + +<table> + <tr> + <td align="center" valign="top" width="50%"> + <a href="https://github.com/user-attachments/assets/1ffe7b06-73e9-44cd-ad3f-afced5239f97"> + <img src="https://github.com/user-attachments/assets/23bd1ad9-800d-4b17-92be-a59f4f0f110f" width="100%" alt="点击播放 第 1 集"> + </a> + <br><b>▶️ 第 1 集</b><br>最后一课 + </td> + <td align="center" valign="top" width="50%"> + <a href="https://github.com/user-attachments/assets/7547e5d3-872c-4344-8727-ee2be109797d"> + <img src="https://github.com/user-attachments/assets/f82f318d-75a0-4bfa-ae7c-a701d8e7726d" width="100%" alt="点击播放 第 2 集"> + </a> + <br><b>▶️ 第 2 集</b><br>清扫计划 + </td> + </tr> + <tr> + <td align="center" valign="top"> + <a href="https://github.com/user-attachments/assets/affed408-4df7-4ce7-9681-8f4ed45a6fcf"> + <img src="https://github.com/user-attachments/assets/0cb75e05-790e-4275-bcc0-50024dd97114" width="100%" alt="点击播放 第 3 集"> + </a> + <br><b>▶️ 第 3 集</b><br>临终托付 + </td> + <td align="center" valign="top"> + <a href="https://github.com/user-attachments/assets/dc7a85a8-6912-4443-a995-3d8f3ca30bc8"> + <img src="https://github.com/user-attachments/assets/56ecb510-3515-4a0c-ba51-364dd6b070b9" width="100%" alt="点击播放 第 4 集"> + </a> + <br><b>▶️ 第 4 集</b><br>生死问答 + </td> + </tr> + <tr> + <td align="center" valign="top"> + <a href="https://github.com/user-attachments/assets/1fb889c5-0e2b-40fa-a438-7399322ada47"> + <img src="https://github.com/user-attachments/assets/0511bc7f-a380-4f31-8a77-e1d384787e40" width="100%" alt="点击播放 第 5 集"> + </a> + <br><b>▶️ 第 5 集</b><br>文明之光 + </td> + <td align="center" valign="top"> + <!-- 留空,保持表格边框完整对齐 --> + </td> + </tr> +</table> + +<br> + +### 🎞️ 更多演示 +<details> +<summary>独立微短剧片段</summary> + +<table> + <tr> + <td align="center" valign="top" width="33%"> + <video src="https://github.com/user-attachments/assets/63c2f33c-da50-44f0-8c26-a65611479d6a" controls width="100%" preload="none"></video> + <br><b>伦敦疑云</b> + </td> + <td align="center" valign="top" width="33%"> + <video src="https://github.com/user-attachments/assets/d7c65cad-05b9-46c8-ab0e-96e39909f978" controls width="100%" preload="none"></video> + <br><b>一条狗的使命</b> + </td> + <td align="center" valign="top" width="33%"> + <video src="https://github.com/user-attachments/assets/ec67546e-2d3d-4b34-b1ad-7d860a9bc1aa" controls width="100%" preload="none"></video> + <br><b>无人机系荔枝来</b> + </td> + </tr> +</table> + +</details> + +<br> + +<details> +<summary><b>Web 前端界面</b></summary> <div align="center"> | | | @@ -39,61 +198,42 @@ |  |  | </div> +</details> -### 微信交互展示 +<br> +<details> +<summary><b>微信交互</b></summary> <div align="center"> -| | | -|:---:|:---:| -|  |  | -|  |  | -|  |  | -|  | | +| | | | | +|:---:|:---:|:---:|:---:| +|  |  |  |  | </div> +</details> ---- +<br> -## 💥 News +<details> +<summary><b>飞书交互</b></summary> +<div align="center"> -- `2025/3/27`: 🚀 AIGC-Claw 正式发布,支持 6 阶段视频生成全流程 -- `2025/3/20`: 🎬 集成多种视频生成模型( wan2.6、kling、jimeng ) -- `2025/3/15`: 🖼️ 支持多模型文生图( Seedream、即梦、Wan2.6 ) +| | | | | +|:---:|:---:|:---:|:---:| +|  |  |  |  | ---- +</div> +</details> ## ✨ 功能特性 -| 阶段 | 功能 | 描述 | -|:---:|---|---| -| 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 集成,并对剧本、图片、视频片段和最终成片进行全链路留存。 | --- @@ -103,7 +243,7 @@ ```bash # 1. 克隆项目 -git clone https://github.com/hit-cxf/AIGC-Claw.git +git clone https://github.com/HITsz-TMG/AIGC-Claw.git cd AIGC-Claw # 2. 配置并启动后端 @@ -137,75 +277,39 @@ 向 OpenClaw 发送消息: ``` -帮我克隆git仓库:https://github.com/hit-cxf/AIGC-Claw.git -然后把AIGC-Claw中的aigc-director文件夹递归复制到workspace/skills中,用作AIGC相关的skill +帮我克隆git仓库:https://github.com/HITsz-TMG/AIGC-Claw.git +然后把AIGC-Claw中的aigc-director文件夹递归复制到.openclaw/workspace/skills目录下,用作AIGC相关的skill ``` 使用时建议指明 "使用 aigc-director": ``` -你用aigc-director来帮我生成一个视频,内容是"一条狗的使命" +用aigc-director来生成一个视频,内容是"一条狗的使命" ``` ---- +### 方式三:通过 ClawHub 安装 -## 📊 工作流 +请确保本地安装了clawhub-cli -<div align="center"> +打开终端,输入命令,所有询问均选择yes -``` -┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ -│ 剧本生成 │ → │ 角色设计 │ → │ 分镜设计 │ → │ 参考图生成 │ → │ 视频生成 │ → │ 后期剪辑 │ -│ Script │ │ Character │ │ Storyboard │ │ Reference │ │ Video │ │ Post │ -└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ - ↓ ↓ ↓ ↓ ↓ ↓ - 🎭 剧本产出 👤 角色/场景 🎬 分镜列表 🖼️ 参考图 🎥 视频片段 🎬 最终成片 +```bash +clawhub install aigc-director ``` -</div> +安装完成后,ClawHub 会将 `aigc-director` 复制到 `workspace/skills`(或指定的 skills 目录)。 -### 阶段产物展示 +之后可以参考方式一手动安装自行构建项目并运行,也可以使用OpenClaw完成后续项目构建。 -| 阶段 | 产物示例 | -|:---:|:---:| -| 剧本生成 |  | -| 角色设计 |  | -| 分镜设计 |  | -| 参考图生成 |  | -| 视频生成 |  | -| 后期剪辑 |  | +在第一次使用 `aigc-director` 时,如果没有手动构建项目,OpenClaw会自动构建前后端并运行,无需手动初始化(构建项目需要配置环境和编译,请耐心等待)。 ---- - -## 📁 项目结构 - -``` -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> ### 环境要求 @@ -227,7 +331,7 @@ IMAGE_IT2I_MODEL=doubao-seedream-5-0-260128 # 视频生成 -VIDEO_MODEL=wan2.6-i2v-flash +VIDEO_MODEL=wan2.7-i2v VIDEO_RATIO=16:9 # API Keys @@ -244,36 +348,26 @@ | **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 | +| **视频生成** | doubao-seedance-2-0-260128, wan2.7-i2v, wan2.6-i2v-flash, kling-v3 | ---- +</details> -## 📚 文档 -<div align="center"> +## 🙏 致谢 -| 文档 | 描述 | -|:---:|:---| -| 📖 [SKILL.md](./aigc-director/SKILL.md) | OpenClaw Agent 工作流规则 | -| 📖 [CLAUDE.md](./aigc-director/CLAUDE.md) | Claude Code 开发指引 | -| 📖 [API 文档](./aigc-director/references/workflow/) | 六阶段工作流 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! +| 框架图 | 论文信息 | +|:---:|---| +| <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)] | -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) 了解详情 +<p align="center"> + <sub>Built with 🦞 by the Lychee Agent team</sub> +</p> -- Gitblit v1.8.0