How ketle-man/comfyui-workflow-studio works
ComfyUI-Workflow-Studio is a ComfyUI custom-node plugin that combines an in-page asset/workflow library with generation, editing, and planning tools. The main user journey is browsing or preparing workflows and assets, configuring generation, then sending work to ComfyUI’s canvas or generation runtime. The graph preserves major documented feature areas and the backend route/service layers visible in the source index. Some browser-to-route wiring is not shown in the excerpts, so those links are omitted rather than inferred.
Main entry points: app.js Studio shell · workflow-tab.js Workflow library UI · gallery-tab.js Gallery UI · generate-tab.js GenerateUI
Components 24
Studio interface
- Studio shell
static/js/app.js - Workflow library UI
static/js/workflow-tab.js - Gallery UI
static/js/gallery-tab.js - Models UI
static/js/models-tab.js - Metadata viewer
static/js/metadata-tab.js
Generation tools
- GenerateUI
static/js/generate-tab.js - Lab planner
static/js/lab-tab.js - Prompt tools
static/js/prompt-tab.js
Media tools
- Video studio
static/js/video-tab.js - Image editor
static/js/image-edit-tab.js - Tagger UI
static/js/tagger-tab.js
Backend services
- Workflow routes
py/routes/workflow_routes.py - Workflow management
py/services/workflow_service.py - Gallery routes
py/routes/gallery_routes.py - Gallery management
py/services/gallery_service.py - Semantic search
py/services/semantic_service.py - Model routes
py/routes/models_routes.py - Model management
py/services/models_service.py - Prompt routes
py/routes/prompts_routes.py - Prompt management
py/services/prompts_service.py - Video routes
py/routes/video_routes.py - Video processing
py/services/video_service.py
Other components
- Studio user
- ComfyUI
Connections 24
- Studio user → Studio shell: opens
- Studio shell → Workflow library UI: initializes
static/js/app.js - Studio shell → Gallery UI: initializes
static/js/app.js - Studio shell → Models UI: initializes
static/js/app.js - Studio shell → Metadata viewer: initializes
static/js/app.js - Studio shell → GenerateUI: initializes
static/js/app.js - Studio user → Workflow library UI: manages workflows
- Studio user → Gallery UI: browses assets
- Studio user → GenerateUI: configures generation
- Studio user → Lab planner: plans batches
- Studio user → Prompt tools: writes prompts
- Studio user → Video studio: edits video
- Studio user → Image editor: edits images
- Workflow routes → Workflow management: delegates
py/routes/workflow_routes.py - Gallery routes → Gallery management: delegates
py/routes/gallery_routes.py - Gallery routes → Semantic search: searches
py/routes/gallery_routes.py - Model routes → Model management: delegates
py/routes/models_routes.py - Prompt routes → Prompt management: delegates
py/routes/prompts_routes.py - Video routes → Video processing: delegates
py/routes/video_routes.py - Workflow library UI → ComfyUI: sends workflow
- GenerateUI → ComfyUI: generates with
- Workflow library UI → GenerateUI: loads workflow
- Gallery UI → Metadata viewer: views metadata
- Gallery UI → ComfyUI: sends workflow