How justin-sky/ai-art-engine works
AI Art Engine is a local-first Electron desktop app for generating and reusing image, video, audio, 3D, and spatial assets, then assembling them into workflows and timelines. The main user path runs from the studio workspace through graph-task orchestration and graph execution to model-provider calls and saved project assets. Separate branches cover 3D direction, semantic timeline editing, and MCP agents. The graph reflects README capabilities and indexed/import evidence; several UI-to-service details and unsampled subsystems are documented only at a high level.
Main entry points: App.vue Studio workspace · index.ts Studio bridge · EditorDiveEpisodePipelineView.vue Graph editor · graphTasks.ts Graph task queue
Components 19
Desktop shell
- Studio workspace
src/renderer/src/App.vue - Studio bridge
src/preload/index.ts - Electron main
src/main/index.ts - Provider settings
src/main/services/settingsService.ts
Asset creation
- Graph editor
src/renderer/src/components/dive/EditorDiveEpisodePipelineView.vue - Graph task queue
src/renderer/src/stores/graphTasks.ts - Graph run session
src/renderer/src/features/graph/controllers/useGraphRunSession.ts - Graph executor
src/shared/graph/execute/engine.ts - Model providers
src/main/services/modelProviders
Project workspace
- Project state
src/renderer/src/stores/project.ts - Project service
src/main/services/projectService.ts - Project assets
src/main/repositories
Production tools
- 3D director
src/renderer/src/features/director/useDirectorStageScene.ts - Semantic timeline
src/main/services/semanticTimeline/SemanticTimelineService.ts - Timeline editor
src/renderer/src/components/SemanticTimelineEditor.vue
Agent integrations
- MCP tool server
src/main/services/mcpServerService.ts - Object storage
src/main/services/objectStorageUploadService.ts
Other components
- User
- External agent
Connections 18
- User → Studio workspace: uses
README.md - Studio workspace → Studio bridge: requests
- Studio bridge → Electron main: bridges IPC
src/main/index.ts - Studio workspace → Project state: manages project
src/renderer/src/App.vue - Project state → Project service: loads assets
src/renderer/src/stores/project.ts - Project service → Project assets: persists assets
src/main/services/projectService.ts - User → Graph editor: builds workflows
README.md - Graph editor → Graph task queue: enqueues runs
src/renderer/src/components/dive/EditorDiveEpisodePipelineView.vue - Graph task queue → Graph run session: runs tasks
- Graph run session → Graph executor: executes graph
- Graph executor → Model providers: invokes models
- Model providers → Provider settings: uses configuration
- User → 3D director: directs scenes
README.md - User → Timeline editor: edits timeline
README.md - Timeline editor → Semantic timeline: analyzes media
- External agent → MCP tool server: controls project
README.md - MCP tool server → Electron main: operates app
src/main/index.ts - User → Object storage: configures uploads