ComfyUI Deploy
ComfyUI Deploy is an open-source platform designed to make deploying generative workflows simple and efficient. This platform functions like a vercel
for infrastructure, offering serverless hosting with integration into ComfyUI. By joining the Discord community, users can engage in more detailed discussions or visit Comfy Deploy to begin using the platform.
Key Features and How It Works
-
Comfy Deploy Dashboard: Users can access the Comfy Deploy Dashboard online at Comfy Deploy or host their own version for more control.
-
Machines: The platform supports both long-running, on-premise machines and serverless environments. It accommodates systems like runpods, modal, and hosted ComfyDeploy machines powered by modal.
-
Deployment and Versioning: ComfyUI Deploy allows users to deploy intricate workflows and manage their versions effortlessly. It facilitates previewing outputs of different workflow versions and supports seamless API generation for production and staging environments.
Setting Up and Using Comfy Deploy
To get started with setting up a basic API for projects such as sd txt2img, users can follow a guide available in the Comfy Deploy repositories. Furthermore, setting up the Comfy Deploy plugin involves simple steps that include cloning the repository and configuring the machines.
Use Cases
ComfyUI Deploy is particularly beneficial for:
- Deploying complex workflows with a robust versioning system
- Managing and previewing outputs from various workflow versions easily
- Ensuring persistent API services in different environments
- Running identical workflows across multiple remote machines
Development and Contribution
The project is still a work-in-progress, and contributors are welcome. The primary goal is to release a stable version v0.1.0. Key focus areas include improving security, error handling, workflow quality of life, API usage examples, and exploring serverless machine setups.
Technology Stack
The platform is built using modern and robust technologies, including:
- Shadcn UI for the user interface
- NextJS for front-end development
- Clerk for authentication
- Neon / Vercel Postgres as the database
- Drizzle for Object-Relational Mapping (ORM)
- R2 / S3 for object storage
Development Setup
To set up the development environment:
- Clone the ComfyUI Deploy repository and navigate to the
web
directory. - Install dependencies using
bun i
. - Start Docker and set up the environment using provided example configurations.
- Execute local migrations and start the server with the NextJS development server.
Special Thanks
Special thanks go out to ComfyUI and the open-source community, including contributors like Ross and Syn, who have been instrumental in creating setup tutorials and guides.
Self-Hosting with Vercel
Users interested in self-hosting can follow a tutorial created by community members Ross and Syn. This guide assists in deploying the platform on Vercel with commands for building and installing the application, as well as setting up necessary environment keys.
In conclusion, ComfyUI Deploy is a versatile and user-friendly platform aimed at simplifying the deployment and management of generative workflows, with ongoing developments promising further capabilities and improvements.