comfy-frontend
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v8View latest version
A web interface for interacting with ComfyUI API endpoints. This application allows users to:
- Connect to any ComfyUI instance by IP address
- Upload and execute workflow JSON files
- Monitor job progress and view results
- Download generated images
├── backend/
│ ├── index.ts # Main Hono server
│ └── README.md
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main React application
│ │ ├── WorkflowUpload.tsx
│ │ ├── JobStatus.tsx
│ │ └── ImageGallery.tsx
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css
├── shared/
│ ├── types.ts # Shared TypeScript types
│ └── utils.ts # Shared utility functions
└── README.md
- IP Configuration: Connect to any ComfyUI instance
- Workflow Upload: Upload and validate workflow JSON files
- Job Management: Queue workflows and monitor progress
- Image Gallery: View and download generated images
- Real-time Updates: WebSocket support for live progress updates
- Enter your ComfyUI server IP address
- Upload a workflow JSON file (exported from ComfyUI)
- Click "Execute Workflow" to start generation
- Monitor progress and view results
GET /- Serve the frontend applicationPOST /api/execute- Execute a workflowGET /api/status/:jobId- Get job statusGET /api/history- Get execution historyGET /api/images/:filename- Serve generated images