Files
pixel/backend/服务架构图.md
张鹏 f9f4560459 Initial commit: Pixel AI comic/video creation platform
- FastAPI backend with SQLModel, Alembic migrations, AgentScope agents
- Next.js 15 frontend with React 19, Tailwind, Zustand, React Flow
- Multi-provider AI system (DashScope, Kling, MiniMax, Volcengine, OpenAI, etc.)
- All HTTP clients migrated from sync requests to async httpx
- Admin-managed API keys via environment variables
- SSRF vulnerability fixed in ensure_url()
2026-04-29 01:20:12 +08:00

3.1 KiB
Raw Permalink Blame History

服务架构图

概览

┌─────────────────────────────────────────────────────────────────────┐
│                         API 控制器                                   │
│  (src/controllers/projects.py, skills.py, generations/script.py)   │
└────────────────┬────────────────────────────────┬───────────────────┘
                 │                                │
                 ▼                                ▼
    ┌────────────────────────┐      ┌────────────────────────┐
    │   script_service       │      │   AgentScopeService    │
    │  (script/service.py)   │      │  (agents/service.py)   │
    └────────────┬───────────┘      └────────────┬───────────┘
                 │                                │
                 ▼                                ▼
    ┌────────────────────────┐      ┌────────────────────────┐
    │ ScriptAnalysisPipeline │      │   AgentsToolkit        │
    │  (script/pipeline.py)  │      │ (agents/toolkit_mgr)   │
    └────────────────────────┘      └────────────┬───────────┘
                                                  │
                                                  ▼
                                     ┌────────────────────────┐
                                     │   技能共10个        │
                                     │  - general/ (3个)      │
                                     │  - film_production/ (7)│
                                     └────────────────────────┘

服务对比矩阵

特性 script_service script_agent agents
用途 小说分析 影视制作 通用智能体
架构 Map-Reduce 多智能体 Toolkit + Skills
速度 🐌 中等
输出质量 良好 优秀 良好
复杂度 中等
Token 使用 中等 低(按需)
生产使用 否(仅测试)
AgentScope 是(官方) 是(官方)
技能 7个影视 10个通用+影视)
智能体 通用 9个专业 可配置

最后更新: 2026-02-09
状态: 当前架构已记录