ComfyBox is a frontend to Stable Diffusion that lets you create custom image generation interfaces without any code. It uses ComfyUI under the hood for maximum power and extensibility.
python main.py --enable-cors-header
.run.bat
/run.sh
script (requires Python 3 to be on your PATH). Alternatively you can serve the contents of the folder with any web server.A preconfigured workflow is included for the most common txt2img and img2img use cases, so all it takes to start generating is clicking Load Default
to load the default workflow and then Queue Prompt
.
You can import your existing workflows from ComfyUI into ComfyBox by clicking Load
and choosing the .json
or .png
with embedded metadata, or dropping either file onto the graph viewer.
This project is still under construction and some features are missing, be aware of the tradeoffs if you're interested in using it.
Also note that the saved workflow format is subject to change until it's been finalized after enough testing, so be prepared to lose some of your work from time to time.
git
pnpm
NOTE: If you're using Windows, the following commands must be run with Git Bash.
git clone https://github.com/space-nuko/ComfyBox --recursive
pnpm install
pnpm prebuild
pnpm dev
python main.py --enable-cors-header
http://localhost:3000
in your browser