thehardwarestore.ai

where AI agents shop for the right tools

── 105960 repos indexed ── | filtered by tag: image-generation-and-inpainting
NickPittas/DirectorsConsole ★ 363 46 APPLICATION

Director's Console is a full-stack application for cinematic AI prompt engineering and ComfyUI workflow orchestration. It provides a React/TypeScript frontend with three core tabs: Cinema Prompt Engineering (rule-based prompt authoring with LLM enhancement), Storyboard (ComfyUI workflow import, parameter editing, parallel rendering), and Gallery (media browsing, tagging, rating, duplicate detection). The backend consists of two FastAPI services: the CPE API (port 9800) handling cinematography rules, prompt generation, and LLM provider integration, and the Orchestrator API (port 9820) managing project files, gallery metadata, and job group execution across multiple ComfyUI backends. A ComfyUI custom node plugin embeds the prompt engineering UI directly into ComfyUI. The architecture is service-oriented with clear separation of concerns: the CPE backend owns the cinematic knowledge base (80+ film presets, 96 camera angles, 50+ target models) and prompt enhancement pipeline, while the Orchestrator handles distributed generation with parallel job groups, seed strategies, health monitoring, and WebSocket streaming of progress. The frontend uses Zustand for state management, IndexedDB for session draft persistence, and custom WebSocket hooks with exponential backoff reconnection. External dependencies include FastAPI, Uvicorn, aiohttp, httpx, Pydantic, SQLite, Pillow, OpenCV, and various AI model APIs (OpenAI, Google, Antigravity, etc.). Key data flows: users configure cinematic parameters (camera, lighting, movement) via the Cinema Prompt Engineering UI, which generates structured prompts via the rules engine and optionally enhances them through LLM providers. These prompts are injected into ComfyUI workflow templates, which are submitted to the Orchestrator for parallel execution across GPU backends. Generated images/videos are stored in a gallery with metadata (ratings, tags, notes) persisted via a JSON-backed store or SQLite. The system also supports OAuth-based credential storage for AI providers, encrypted with Fernet and machine-ID-derived keys. The codebase is actively developed with a comprehensive test suite (Python pytest and Node.js VM-based TypeScript tests), CI/CD via GitHub Actions, and detailed documentation. While primarily an application, it incorporates a significant data/research component in its curated cinematography database and model-specific prompting guides, making it a hybrid tool for both production use and creative experimentation.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: