项目
在 GitHub 查看
coll3879xx-cyber/dola-render-gateway
关于
High-performance video generation gateway and session coordinator
设计与媒体可以做什么
- POST /v1/videos/generations: Submit generation tasks with prompt, aspect ratio, duration (10s, 15s, 30s), and reference images.
- GET /v1/videos/<id>: Poll task lifecycle (queued -> processing -> completed / failed).
- High-speed MP4 streaming and static asset delivery.
- Integrated browser automation profile for managing extended duration options.
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Dola Render Gateway
A high-performance session coordinator and OpenAI-compatible video generation API service.
Provides automated browser session isolation, task queue distribution, extended duration handling, and an intuitive web management dashboard.
🌟 Key Capabilities
- OpenAI-Compatible Video API:
POST /v1/videos/generations: Submit generation tasks with prompt, aspect ratio, duration (10s,15s,30s), and reference images.GET /v1/videos/<id>: Poll task lifecycle (queued->processing->completed/failed).- High-speed MP4 streaming and static asset delivery.
- Extended Duration & High-Definition Media Export:
- Integrated browser automation profile for managing extended duration options.
- Direct original quality stream extraction and processing.
- Multi-Account Browser Pool:
- Manages multiple persistent browser profiles in
accounts/. - Automatic concurrency management, mutual exclusion, and session rotation.
- Built-in verification handling.
- Manages multiple persistent browser profiles in
- Admin Web Dashboard:
- Real-time dashboard at
/webto monitor generation trends, success rate, account statuses, task queues, and API key management.
- Real-time dashboard at
📁 Repository Structure
dola-render-gateway/
├── server.py # FastAPI server (OpenAI-compatible video API & admin routes)
├── browser_pool.py # Account pool concurrency manager and task scheduler
├── browser.py # Playwright persistent context launcher
├── video_worker_ui.py # UI automation worker with verification handler
├── video_worker.py # Protocol worker and status polling
├── store.py # SQLite task persistence and API key storage
├── dola_client.py # API client communication module
├── media.py # Reference media processor
├── config.py # Configuration & environment variables
├── add_account.py # Automated account profile setup
├── web/
│ └── index.html # Single-page admin management dashboard
└── extensions/
└── dola30/ # Chromium extension profile
🚀 Quick Start
1. Requirements
- Python 3.11+
- Chrome / Chromium browser
- Proxy with JP/KR egress
2. Setup Environment
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
playwright install chromium
3. Configure
# Set your proxy configuration
export DOLA_PROXY="http://127.0.0.1:7890"
# Set API key for client authentication (optional, empty = dev mode)
export DOLA_API_KEYS="sk-your-secret-key"
# Concurrency limits
export DOLA_MAX_CONCURRENCY=3
4. Start Server
uvicorn server:app --host 0.0.0.0 --port 8000
Open http://127.0.0.1:8000/web to access the Admin Dashboard.
🌐 SonicVoice (For Voice Clone)
💬 Admin & Support
📜 License
For educational and internal testing purposes.
探索相关项目
加载中…