Run automated ComfyUI workflows to generate and view images and videos directly from VS Code.
CodeComfy runs automated ComfyUI workflows inside your workspace, producing images and videos that are tracked, indexed, and instantly viewable in a native gallery. Quality presets are selected automatically based on your GPU — no manual tuning required.
What You Can Do
Generate images with ComfyUI
Generate videos with ComfyUI
Browse results per workspace
Avoid manual file management entirely
Features
Automated image and video generation with ComfyUI
Automatic quality preset selection based on GPU
Workspace-isolated outputs (.codecomfy/outputs/)
One-command gallery per workspace
Built for push-button workflows, not manual setup
How It Works
Run a generate command (CodeComfy: Generate Image or CodeComfy: Generate Video)
CodeComfy detects your GPU and selects the best quality preset
The workflow runs on ComfyUI
Images and videos are saved to .codecomfy/outputs/
The gallery opens automatically to show your results
Usage
Open a workspace in VS Code
Run CodeComfy: Generate Image or CodeComfy: Generate Video
Run CodeComfy: Open Gallery to browse all generated outputs