Add web interface for VideoGen
Features: - Modern web UI with all generation modes (T2V, I2V, T2I, I2I, V2V, Dub, Subtitles, Upscale) - Real-time progress updates via WebSocket - File upload for input images/videos/audio - File download for generated content - Background job processing with progress tracking - Job management (cancel, retry, delete) - Gallery for browsing generated files - REST API for programmatic access - Responsive design for desktop and mobile Backend (webapp.py): - Flask + Flask-SocketIO for real-time updates - Background job processing with threading - File upload/download handling - Job state persistence - REST API endpoints Frontend: - Modern dark theme UI - Mode selection with visual cards - Form with all options and settings - Real-time progress modal with log streaming - Toast notifications - Keyboard shortcuts (Ctrl+Enter to submit, Escape to close) Documentation: - Updated README.md with web interface section - Updated EXAMPLES.md with web interface usage - Updated requirements.txt with web dependencies
Showing
| ... | ... | @@ -55,5 +55,16 @@ pydantic>=2.0.0 |
| # Distributed Processing | ||
| # accelerate # Already listed above | ||
| # Web Interface Dependencies (Optional - for webapp.py) | ||
| flask>=3.0.0 | ||
| flask-cors>=4.0.0 | ||
| flask-socketio>=5.3.0 | ||
| eventlet>=0.33.0 | ||
| python-socketio>=5.10.0 | ||
| werkzeug>=3.0.0 | ||
| # MCP Server Dependencies (Optional - for AI agent integration) | ||
| # mcp>=0.9.0 # Install with: pip install mcp | ||
| # Optional: NSFW Classification | ||
| # onnxruntime>=1.16.0 | ||
| \ No newline at end of file |
static/css/style.css
0 → 100644
This diff is collapsed.
static/js/app.js
0 → 100644
This diff is collapsed.
templates/index.html
0 → 100644
This diff is collapsed.
webapp.py
0 → 100644
This diff is collapsed.
Please
register
or
sign in
to comment