新增示例库逻辑
This commit is contained in:
54
docs/en/development/architecture.md
Normal file
54
docs/en/development/architecture.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# Architecture
|
||||
|
||||
Technical architecture overview of Pixelle-Video.
|
||||
|
||||
---
|
||||
|
||||
## Core Architecture
|
||||
|
||||
Pixelle-Video uses a layered architecture design:
|
||||
|
||||
- **Web Layer**: Streamlit Web interface
|
||||
- **Service Layer**: Core business logic
|
||||
- **ComfyUI Layer**: Image and TTS generation
|
||||
|
||||
---
|
||||
|
||||
## Main Components
|
||||
|
||||
### PixelleVideoCore
|
||||
|
||||
Core service class coordinating all sub-services.
|
||||
|
||||
### LLM Service
|
||||
|
||||
Responsible for calling large language models to generate scripts.
|
||||
|
||||
### Image Service
|
||||
|
||||
Responsible for calling ComfyUI to generate images.
|
||||
|
||||
### TTS Service
|
||||
|
||||
Responsible for calling ComfyUI to generate speech.
|
||||
|
||||
### Video Generator
|
||||
|
||||
Responsible for composing the final video.
|
||||
|
||||
---
|
||||
|
||||
## Tech Stack
|
||||
|
||||
- **Backend**: Python 3.10+, AsyncIO
|
||||
- **Web**: Streamlit
|
||||
- **AI**: OpenAI API, ComfyUI
|
||||
- **Configuration**: YAML
|
||||
- **Tools**: uv (package management)
|
||||
|
||||
---
|
||||
|
||||
## More Information
|
||||
|
||||
Detailed architecture documentation coming soon.
|
||||
|
||||
50
docs/en/development/contributing.md
Normal file
50
docs/en/development/contributing.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# Contributing
|
||||
|
||||
Thank you for your interest in contributing to Pixelle-Video!
|
||||
|
||||
---
|
||||
|
||||
## How to Contribute
|
||||
|
||||
1. Fork the repository
|
||||
2. Create a feature branch (`git checkout -b feature/AmazingFeature`)
|
||||
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
|
||||
4. Push to the branch (`git push origin feature/AmazingFeature`)
|
||||
5. Open a Pull Request
|
||||
|
||||
---
|
||||
|
||||
## Development Setup
|
||||
|
||||
```bash
|
||||
# Clone your fork
|
||||
git clone https://github.com/your-username/Pixelle-Video.git
|
||||
cd Pixelle-Video
|
||||
|
||||
# Install development dependencies
|
||||
uv sync
|
||||
|
||||
# Run tests
|
||||
pytest
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Code Standards
|
||||
|
||||
- All code and comments in English
|
||||
- Follow PEP 8 standards
|
||||
- Add appropriate tests
|
||||
|
||||
---
|
||||
|
||||
## Submit Issues
|
||||
|
||||
Having problems or feature suggestions? Please submit at [GitHub Issues](https://github.com/PixelleLab/Pixelle-Video/issues).
|
||||
|
||||
---
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
Please be friendly and respectful. We are committed to fostering an inclusive community environment.
|
||||
|
||||
Reference in New Issue
Block a user