- Each container functions as an independent ComfyUI workflow.
- Supports workflows (text-to-text) and fine-tuning (image-to-image).
- Supports workflow customization.
- SDXL and Flux 1 Dev workflows supported by default.
-
Install ComfyUI.
-
Clone this repository into the
custom_nodesdirectory:cd ComfyUI/custom_nodes git clone https://github.com/uauaouau/mycraft-comfyui.git -
Install ComfyUI Dependencies (custom nodes):
git clone https://github.com/rgthree/rgthree-comfy.git git clone https://github.com/tsogzark/ComfyUI-load-image-from-url.git git clone git clone https://github.com/JPS-GER/ComfyUI_JPS-Nodes.git
-
Start ComfyUI.
Since you have installed Mycraft UI as ComfyUI Custom Node you can open your ComfyUI instance and add /mycraft to address like:
http://localhost:8188/mycraft
or
http://0.0.0.0:8188/mycraft
It works offline also.
For example, instead of placing a file at .../ComfyUI/models/loras/hello.safetensor, consider using a structure like .../ComfyUI/models/loras/sdxl/<filter-name>/hello.safetensor. While the directory name as a filter name is not mandatory, it is highly beneficial when using filters in the browser UI.
By default Mycraft uses Civitai API to get your LORA files metadata automatically when first start:
- It gets checksum sha256 of all
.safetensorfiles in.../ComfyUI/models/lorasdirectory. - Find model metadata by checksums with Civitai API.
- Generates
lorashashes.jsoncache file in.../ComfyUI/custom_nodes/mycraft-comfyui/directory.
To repeat this process manually you can press Update Loras button in Select Styles overlay.
Make shure you have checked on true the Settings - Use Styles List from Mycraft ComfyUI Plugin option.
This project currently supports text-to-text and image-to-image workflows using the KSampler sampler for models:
- SDXL:
workflows/sdxl.json - Flux 1 Dev:
workflows/flux.json
Please check the workflows/flux.json file and change weight_dtype value based on your needs:
"12": {
"inputs": {
"unet_name": "flux1-dev.safetensors",
"weight_dtype": "fp8_e4m3fn" // here
},
"class_type": "UNETLoader",
"_meta": {
"title": "Load Diffusion Model"
}
},So as the CLIPs:
"13": {
"inputs": {
"clip_name1": "t5xxl_fp16.safetensors", // here
"clip_name2": "clip_l.safetensors", // here
"type": "flux",
"device": "default"
},
"class_type": "DualCLIPLoader",
"_meta": {
"title": "DualCLIPLoader"
}
},[Select container]+Ctrl + D: Duplicate container[Select container]+Alt+ DragMouse: Duplicate container[Select container]+Ctrl + XorDelete: Delete containerMouse Scroll: Zoom
This is the minimal viable product version of Mycraft. Currently, it includes basic functionality, but many innovations are planned for future updates. These will enable modular and abstract customization, allowing the UI to be tailored to specific tasks.
This project uses the following dependencies to enhance the user experience: