新增示例库逻辑
This commit is contained in:
54
docs/zh/development/architecture.md
Normal file
54
docs/zh/development/architecture.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# 架构设计
|
||||
|
||||
Pixelle-Video 的技术架构概览。
|
||||
|
||||
---
|
||||
|
||||
## 核心架构
|
||||
|
||||
Pixelle-Video 采用分层架构设计:
|
||||
|
||||
- **Web 层**: Streamlit Web 界面
|
||||
- **服务层**: 核心业务逻辑
|
||||
- **ComfyUI 层**: 图像和TTS生成
|
||||
|
||||
---
|
||||
|
||||
## 主要组件
|
||||
|
||||
### PixelleVideoCore
|
||||
|
||||
核心服务类,协调各个子服务。
|
||||
|
||||
### LLM Service
|
||||
|
||||
负责调用大语言模型生成文案。
|
||||
|
||||
### Image Service
|
||||
|
||||
负责调用 ComfyUI 生成图像。
|
||||
|
||||
### TTS Service
|
||||
|
||||
负责调用 ComfyUI 生成语音。
|
||||
|
||||
### Video Generator
|
||||
|
||||
负责合成最终视频。
|
||||
|
||||
---
|
||||
|
||||
## 技术栈
|
||||
|
||||
- **后端**: Python 3.10+, AsyncIO
|
||||
- **Web**: Streamlit
|
||||
- **AI**: OpenAI API, ComfyUI
|
||||
- **配置**: YAML
|
||||
- **工具**: uv (包管理)
|
||||
|
||||
---
|
||||
|
||||
## 更多信息
|
||||
|
||||
详细的架构文档即将推出。
|
||||
|
||||
50
docs/zh/development/contributing.md
Normal file
50
docs/zh/development/contributing.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# 贡献指南
|
||||
|
||||
感谢你对 Pixelle-Video 的贡献兴趣!
|
||||
|
||||
---
|
||||
|
||||
## 如何贡献
|
||||
|
||||
1. Fork 项目仓库
|
||||
2. 创建功能分支 (`git checkout -b feature/AmazingFeature`)
|
||||
3. 提交更改 (`git commit -m 'Add some AmazingFeature'`)
|
||||
4. 推送到分支 (`git push origin feature/AmazingFeature`)
|
||||
5. 开启 Pull Request
|
||||
|
||||
---
|
||||
|
||||
## 开发设置
|
||||
|
||||
```bash
|
||||
# 克隆你的 fork
|
||||
git clone https://github.com/your-username/Pixelle-Video.git
|
||||
cd Pixelle-Video
|
||||
|
||||
# 安装开发依赖
|
||||
uv sync
|
||||
|
||||
# 运行测试
|
||||
pytest
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 代码规范
|
||||
|
||||
- 所有代码和注释使用英文
|
||||
- 遵循 PEP 8 规范
|
||||
- 添加适当的测试
|
||||
|
||||
---
|
||||
|
||||
## 提交 Issue
|
||||
|
||||
遇到问题或有功能建议?请在 [GitHub Issues](https://github.com/PixelleLab/Pixelle-Video/issues) 提交。
|
||||
|
||||
---
|
||||
|
||||
## 行为准则
|
||||
|
||||
请保持友好和尊重,我们致力于营造包容的社区环境。
|
||||
|
||||
Reference in New Issue
Block a user