Back to Projects

FrameLody

Engineering Challenge

Generating high-quality, multi-modal media (Image, Audio, Video) is often a fragmented process. The challenge in a research environment is to create a unified, staged workflow that allows for professional-grade iterative generation while maintaining "Human-in-the-loop" (HITL) control over creative decisions and technical parameters.

Architecture

  • Staged Generation Pipeline: A modular workflow that decouples asset generation (e.g., generating a video clip) from asset refinement (e.g., audio syncing or upscale).
  • Multi-Modal Synthesis: Integrates distinct AI models for image, audio, and video generation, unified under a single project state management system.
  • HITL Approval Gates: Implements specific checkpoints where a human operator can review and "approve/reject" intermediate assets (e.g., approving a storyboard before video generation begins).
  • ComfyUI Integration: Utilizes ComfyUI as a backend for complex node-based generation, allowing for granular control over diffusion parameters while keeping the user-facing interface streamlined.

Design Trade-offs

  • Local vs. Cloud Inference: We prioritize local inference (via Ollama and local Diffusion models) to minimize costs and maximize privacy. The trade-off is a lower ceiling for total model "intelligence" compared to cloud-based models, but a much higher ceiling for iterate-speed and data control.
  • Asynchronous Execution: The pipeline is fully asynchronous. While this introduces complexity in state management (handling out-of-order completions), it is necessary to prevent the UI from hanging during long-running generation tasks.

Tech Stack: Python, ComfyUI, Ollama, Stable Diffusion, ffmpeg.