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: v11View 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