ComfyUIMini

ComfyUIMini

A mobile-friendly WebUI to run ComfyUI workflows.

Stars: 150

Visit
 screenshot

ComfyUI Mini is a lightweight and mobile-friendly frontend designed to run ComfyUI workflows. It allows users to save workflows locally on their device or PC, easily import workflows, and view generation progress information. The tool requires ComfyUI to be installed on the PC and a modern browser with WebSocket support on the mobile device. Users can access the WebUI by running the app and connecting to the local address of the PC. ComfyUI Mini provides a simple and efficient way to manage workflows on mobile devices.

README:

ComfyUI Mini

A mobile-friendly WebUI to run ComfyUI workflows.

Features

  • ⚡ Lightweight UI built for mobile devices
  • 💾 Workflows saved to device or PC
  • ⏳ Progress info when generating images
  • 🤖 Automatic workflow importing
  • 🖼️ Gallery of all generated images

Requirements

For PC (Hosting WebUI):

  • ComfyUI: Ensure ComfyUI is installed and functional (minimum v0.2.2-50-7183fd1 / Sep. 18th release).
  • NodeJS: Version 15.6.0 or higher.
  • Package manager: Perferrably NPM as Yarn has not been explicitly tested but should work nonetheless.

Mobile (Accessing WebUI):

  • Browser: Any modern browser with support for WebSocket.
  • Network: Connection to the same network as the hosting PC.

Installation

  1. Download latest release (more stable) or clone the repo (more up to date)
git clone https://github.com/ImDarkTom/ComfyUIMini.git
cd ./ComfyUIMini
  1. Install dependencies

With NPM:

npm install

Or with Yarn

yarn install
  1. Run the app
node .

Note: You may experience a crash on first launch, this should be gone after launching it again

You can change the ComfyUI url/port as well as the port the app runs on in the /config/default.json file.

After sucessfully running you should see text along the lines of Running on http://<local-ip>:<port> in the console, put this url into any device on your network and you should be able to access the UI.

FAQ

Q: I can't import my workflow.

  • A: You need to save your workflow in API Format to be able to import it as regular saving doesnt provide enough information to list all available inputs. For a guide on how to enable this option see video here.

Q: Can you access the WebUI outside of the local network?

  • A: Yes you can through the use of port forwarding, however this carries security risks as it will allow anyone to potentially connect to your WebUI. As the process of setting up port forwarding varies greatly depending on your internet service provider I am unable to give specific instructions, however you may be able to find help by seaching '[your ISP] enable port forwarding'.

Donating

If you find this WebUI to be useful and want to support development you can donate using the button below.

Buy Me A Coffee

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for ComfyUIMini

Similar Open Source Tools

For similar tasks

For similar jobs