How vast-ai-research/edenlive works
EdenLive separates world-state evolution from neural rendering: an interactive program or proxy recording supplies frames, while a prompt and target first frame guide video generation. The repository provides offline inference, real-time streaming, camera/game applications, and a prompt-to-game workbench. The graph combines sampled runtime contracts and pipeline references with the README’s product-level descriptions; unsampled areas are represented only where the README supports their role.
Main entry points: session.py Session runtime · infer.py Offline inference entry · engine.py Inference engine · application.py Game-to-video app
Components 21
Offline inference
- Offline inference entry
edenlive/scripts/infer.py - Inference engine
edenlive/inference/engine.py - Sampling strategies
edenlive/inference/strategies
Model runtime
- Model adapter
edenlive/models - Wan generation pipeline
realtime/flashdreams/flashdreams/recipes/wan/pipeline.py - Text and image encoders
realtime/flashdreams/flashdreams/infra/encoder
Realtime streaming
- Session runtime
realtime/flashdreams/flashdreams/api_v2/session.py - Session description
realtime/flashdreams/flashdreams/runtime_v2/session_desc.py - Frame presentation
realtime/flashdreams/flashdreams/runtime_v2/presentation_manager.py - Video postprocessing
realtime/flashdreams/flashdreams/infra/postprocess - WebRTC output
realtime/flashdreams/flashdreams/runtime_v2/serving
Interactive applications
- Game reference input
realtime/games - Game-to-video app
realtime/integrations_v2/eden/apps/game2v/application.py - Camera-to-video app
realtime/apps/cam2v/cam2v/application.py - Game demo host
realtime/games/host/demo-runtime.js
Game workbench
- Prompt-to-game workbench
realtime/integrations_v2/eden/apps/workbench - First-frame renderer
realtime/integrations_v2/eden/apps/workbench/flux_worker.py
Other components
- User
- Reference video
- Prompt and anchor
- Browser client
Connections 22
- User → Offline inference entry: starts inference
README.md - Reference video → Offline inference entry: provides frames
README.md - Prompt and anchor → Offline inference entry: guides generation
README.md - Offline inference entry → Inference engine: invokes
- Inference engine → Sampling strategies: dispatches
edenlive/inference/engine.py - Inference engine → Model adapter: generates with
edenlive/inference/engine.py - Wan generation pipeline → Text and image encoders: uses
realtime/flashdreams/flashdreams/recipes/wan/pipeline.py - User → Game demo host: plays
README.md - Game demo host → Game reference input: runs
realtime/games/arcadeduel/main.js - Game reference input → Game-to-video app: supplies frames
README.md - User → Camera-to-video app: provides camera input
- Game-to-video app → Session runtime: implements application
realtime/integrations_v2/eden/apps/game2v/application.py - Camera-to-video app → Session runtime: implements application
realtime/apps/cam2v/cam2v/application.py - Session runtime → Session description: configures session
realtime/flashdreams/flashdreams/api_v2/session.py - Session runtime → Frame presentation: buffers frames
realtime/flashdreams/flashdreams/api_v2/session.py - Game-to-video app → Wan generation pipeline: builds on
- Session runtime → Video postprocessing: supports processing
- Frame presentation → WebRTC output: streams frames
- WebRTC output → Browser client: delivers video
README.md - User → Prompt-to-game workbench: describes game
README.md - Prompt-to-game workbench → First-frame renderer: renders anchor
README.md - Prompt-to-game workbench → Game demo host: creates playable game
README.md