Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 1.94 KB

README.md

File metadata and controls

24 lines (22 loc) · 1.94 KB

ComfyuiGW

The is a Restful API Gateway for ComfyUI which is designed for running ComfyUI version of Stable Diffusion Sketch.

Installation on Windows

  1. Install ComfyUI.
  2. Install all of below modules by cloning them under /custom_nodes in ComfyUI root folder.
  3. Clone this repo.
  4. Update the path of your ComfyUI installation in run.bat(Windows) or run.sh(Linux) by updating the value of COMFYUI_PATH.
  5. Execute run.bat(Windows) or run.sh(Linux) in a python available console such as Anaconda Prompt.

Add a workflow

  1. Download a ComfyUI workflow (from SDSketch Discussions) or create a ComfyUI workflow which finishes with a node which save the result images with filename started with api_ and with extension .jpg.
  2. Load the above workflow in your ComfyUI installation to check whether it can be correctly run.
  3. Put the workflow (ended with .json) under [root]/workflows/.
  4. Update workflows_config.json by adding a new entity (see example) under the root JSON Object.
  5. Update mode_config.json by adding one or more JSON Object (see example) in the root JSON Array.