ginipick commited on
Commit
45fa77a
·
verified ·
1 Parent(s): b67e542

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -308
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Flux Style Shaping
3
  emoji: 🚀
4
  colorFrom: indigo
5
  colorTo: gray
@@ -8,311 +8,5 @@ sdk_version: 5.5.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
11
- short_description: Optical illusions and style transfer with FLUX
12
  ---
13
- <div align="center">
14
-
15
- # ComfyUI
16
- **The most powerful and modular diffusion model GUI and backend.**
17
-
18
-
19
- [![Website][website-shield]][website-url]
20
- [![Dynamic JSON Badge][discord-shield]][discord-url]
21
- [![Matrix][matrix-shield]][matrix-url]
22
- <br>
23
- [![][github-release-shield]][github-release-link]
24
- [![][github-release-date-shield]][github-release-link]
25
- [![][github-downloads-shield]][github-downloads-link]
26
- [![][github-downloads-latest-shield]][github-downloads-link]
27
-
28
- [matrix-shield]: https://img.shields.io/badge/Matrix-000000?style=flat&logo=matrix&logoColor=white
29
- [matrix-url]: https://app.element.io/#/room/%23comfyui_space%3Amatrix.org
30
- [website-shield]: https://img.shields.io/badge/ComfyOrg-4285F4?style=flat
31
- [website-url]: https://www.comfy.org/
32
- <!-- Workaround to display total user from https://github.com/badges/shields/issues/4500#issuecomment-2060079995 -->
33
- [discord-shield]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fdiscord.com%2Fapi%2Finvites%2Fcomfyorg%3Fwith_counts%3Dtrue&query=%24.approximate_member_count&logo=discord&logoColor=white&label=Discord&color=green&suffix=%20total
34
- [discord-url]: https://www.comfy.org/discord
35
-
36
- [github-release-shield]: https://img.shields.io/github/v/release/comfyanonymous/ComfyUI?style=flat&sort=semver
37
- [github-release-link]: https://github.com/comfyanonymous/ComfyUI/releases
38
- [github-release-date-shield]: https://img.shields.io/github/release-date/comfyanonymous/ComfyUI?style=flat
39
- [github-downloads-shield]: https://img.shields.io/github/downloads/comfyanonymous/ComfyUI/total?style=flat
40
- [github-downloads-latest-shield]: https://img.shields.io/github/downloads/comfyanonymous/ComfyUI/latest/total?style=flat&label=downloads%40latest
41
- [github-downloads-link]: https://github.com/comfyanonymous/ComfyUI/releases
42
-
43
- ![ComfyUI Screenshot](https://github.com/user-attachments/assets/7ccaf2c1-9b72-41ae-9a89-5688c94b7abe)
44
- </div>
45
-
46
- This ui will let you design and execute advanced stable diffusion pipelines using a graph/nodes/flowchart based interface. For some workflow examples and see what ComfyUI can do you can check out:
47
- ### [ComfyUI Examples](https://comfyanonymous.github.io/ComfyUI_examples/)
48
-
49
- ### [Installing ComfyUI](#installing)
50
-
51
- ## Features
52
- - Nodes/graph/flowchart interface to experiment and create complex Stable Diffusion workflows without needing to code anything.
53
- - Fully supports SD1.x, SD2.x, [SDXL](https://comfyanonymous.github.io/ComfyUI_examples/sdxl/), [Stable Video Diffusion](https://comfyanonymous.github.io/ComfyUI_examples/video/), [Stable Cascade](https://comfyanonymous.github.io/ComfyUI_examples/stable_cascade/), [SD3](https://comfyanonymous.github.io/ComfyUI_examples/sd3/) and [Stable Audio](https://comfyanonymous.github.io/ComfyUI_examples/audio/)
54
- - [LTX-Video](https://comfyanonymous.github.io/ComfyUI_examples/ltxv/)
55
- - [Flux](https://comfyanonymous.github.io/ComfyUI_examples/flux/)
56
- - [Mochi](https://comfyanonymous.github.io/ComfyUI_examples/mochi/)
57
- - Asynchronous Queue system
58
- - Many optimizations: Only re-executes the parts of the workflow that changes between executions.
59
- - Smart memory management: can automatically run models on GPUs with as low as 1GB vram.
60
- - Works even if you don't have a GPU with: ```--cpu``` (slow)
61
- - Can load ckpt, safetensors and diffusers models/checkpoints. Standalone VAEs and CLIP models.
62
- - Embeddings/Textual inversion
63
- - [Loras (regular, locon and loha)](https://comfyanonymous.github.io/ComfyUI_examples/lora/)
64
- - [Hypernetworks](https://comfyanonymous.github.io/ComfyUI_examples/hypernetworks/)
65
- - Loading full workflows (with seeds) from generated PNG, WebP and FLAC files.
66
- - Saving/Loading workflows as Json files.
67
- - Nodes interface can be used to create complex workflows like one for [Hires fix](https://comfyanonymous.github.io/ComfyUI_examples/2_pass_txt2img/) or much more advanced ones.
68
- - [Area Composition](https://comfyanonymous.github.io/ComfyUI_examples/area_composition/)
69
- - [Inpainting](https://comfyanonymous.github.io/ComfyUI_examples/inpaint/) with both regular and inpainting models.
70
- - [ControlNet and T2I-Adapter](https://comfyanonymous.github.io/ComfyUI_examples/controlnet/)
71
- - [Upscale Models (ESRGAN, ESRGAN variants, SwinIR, Swin2SR, etc...)](https://comfyanonymous.github.io/ComfyUI_examples/upscale_models/)
72
- - [unCLIP Models](https://comfyanonymous.github.io/ComfyUI_examples/unclip/)
73
- - [GLIGEN](https://comfyanonymous.github.io/ComfyUI_examples/gligen/)
74
- - [Model Merging](https://comfyanonymous.github.io/ComfyUI_examples/model_merging/)
75
- - [LCM models and Loras](https://comfyanonymous.github.io/ComfyUI_examples/lcm/)
76
- - [SDXL Turbo](https://comfyanonymous.github.io/ComfyUI_examples/sdturbo/)
77
- - [AuraFlow](https://comfyanonymous.github.io/ComfyUI_examples/aura_flow/)
78
- - [HunyuanDiT](https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_dit/)
79
- - Latent previews with [TAESD](#how-to-show-high-quality-previews)
80
- - Starts up very fast.
81
- - Works fully offline: will never download anything.
82
- - [Config file](extra_model_paths.yaml.example) to set the search paths for models.
83
-
84
- Workflow examples can be found on the [Examples page](https://comfyanonymous.github.io/ComfyUI_examples/)
85
-
86
- ## Shortcuts
87
-
88
- | Keybind | Explanation |
89
- |------------------------------------|--------------------------------------------------------------------------------------------------------------------|
90
- | `Ctrl` + `Enter` | Queue up current graph for generation |
91
- | `Ctrl` + `Shift` + `Enter` | Queue up current graph as first for generation |
92
- | `Ctrl` + `Alt` + `Enter` | Cancel current generation |
93
- | `Ctrl` + `Z`/`Ctrl` + `Y` | Undo/Redo |
94
- | `Ctrl` + `S` | Save workflow |
95
- | `Ctrl` + `O` | Load workflow |
96
- | `Ctrl` + `A` | Select all nodes |
97
- | `Alt `+ `C` | Collapse/uncollapse selected nodes |
98
- | `Ctrl` + `M` | Mute/unmute selected nodes |
99
- | `Ctrl` + `B` | Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through) |
100
- | `Delete`/`Backspace` | Delete selected nodes |
101
- | `Ctrl` + `Backspace` | Delete the current graph |
102
- | `Space` | Move the canvas around when held and moving the cursor |
103
- | `Ctrl`/`Shift` + `Click` | Add clicked node to selection |
104
- | `Ctrl` + `C`/`Ctrl` + `V` | Copy and paste selected nodes (without maintaining connections to outputs of unselected nodes) |
105
- | `Ctrl` + `C`/`Ctrl` + `Shift` + `V` | Copy and paste selected nodes (maintaining connections from outputs of unselected nodes to inputs of pasted nodes) |
106
- | `Shift` + `Drag` | Move multiple selected nodes at the same time |
107
- | `Ctrl` + `D` | Load default graph |
108
- | `Alt` + `+` | Canvas Zoom in |
109
- | `Alt` + `-` | Canvas Zoom out |
110
- | `Ctrl` + `Shift` + LMB + Vertical drag | Canvas Zoom in/out |
111
- | `P` | Pin/Unpin selected nodes |
112
- | `Ctrl` + `G` | Group selected nodes |
113
- | `Q` | Toggle visibility of the queue |
114
- | `H` | Toggle visibility of history |
115
- | `R` | Refresh graph |
116
- | Double-Click LMB | Open node quick search palette |
117
- | `Shift` + Drag | Move multiple wires at once |
118
- | `Ctrl` + `Alt` + LMB | Disconnect all wires from clicked slot |
119
-
120
- `Ctrl` can also be replaced with `Cmd` instead for macOS users
121
-
122
- # Installing
123
-
124
- ## Windows
125
-
126
- There is a portable standalone build for Windows that should work for running on Nvidia GPUs or for running on your CPU only on the [releases page](https://github.com/comfyanonymous/ComfyUI/releases).
127
-
128
- ### [Direct link to download](https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_nvidia.7z)
129
-
130
- Simply download, extract with [7-Zip](https://7-zip.org) and run. Make sure you put your Stable Diffusion checkpoints/models (the huge ckpt/safetensors files) in: ComfyUI\models\checkpoints
131
-
132
- If you have trouble extracting it, right click the file -> properties -> unblock
133
-
134
- #### How do I share models between another UI and ComfyUI?
135
-
136
- See the [Config file](extra_model_paths.yaml.example) to set the search paths for models. In the standalone windows build you can find this file in the ComfyUI directory. Rename this file to extra_model_paths.yaml and edit it with your favorite text editor.
137
-
138
- ## Jupyter Notebook
139
-
140
- To run it on services like paperspace, kaggle or colab you can use my [Jupyter Notebook](notebooks/comfyui_colab.ipynb)
141
-
142
- ## Manual Install (Windows, Linux)
143
-
144
- Note that some dependencies do not yet support python 3.13 so using 3.12 is recommended.
145
-
146
- Git clone this repo.
147
-
148
- Put your SD checkpoints (the huge ckpt/safetensors files) in: models/checkpoints
149
-
150
- Put your VAE in: models/vae
151
-
152
-
153
- ### AMD GPUs (Linux only)
154
- AMD users can install rocm and pytorch with pip if you don't have it already installed, this is the command to install the stable version:
155
-
156
- ```pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.2```
157
-
158
- This is the command to install the nightly with ROCm 6.2 which might have some performance improvements:
159
-
160
- ```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.2```
161
-
162
- ### NVIDIA
163
-
164
- Nvidia users should install stable pytorch using this command:
165
-
166
- ```pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu124```
167
-
168
- This is the command to install pytorch nightly instead which might have performance improvements:
169
-
170
- ```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu124```
171
-
172
- #### Troubleshooting
173
-
174
- If you get the "Torch not compiled with CUDA enabled" error, uninstall torch with:
175
-
176
- ```pip uninstall torch```
177
-
178
- And install it again with the command above.
179
-
180
- ### Dependencies
181
-
182
- Install the dependencies by opening your terminal inside the ComfyUI folder and:
183
-
184
- ```pip install -r requirements.txt```
185
-
186
- After this you should have everything installed and can proceed to running ComfyUI.
187
-
188
- ### Others:
189
-
190
- #### Intel GPUs
191
-
192
- Intel GPU support is available for all Intel GPUs supported by Intel's Extension for Pytorch (IPEX) with the support requirements listed in the [Installation](https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu) page. Choose your platform and method of install and follow the instructions. The steps are as follows:
193
-
194
- 1. Start by installing the drivers or kernel listed or newer in the Installation page of IPEX linked above for Windows and Linux if needed.
195
- 1. Follow the instructions to install [Intel's oneAPI Basekit](https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html) for your platform.
196
- 1. Install the packages for IPEX using the instructions provided in the Installation page for your platform.
197
- 1. Follow the [ComfyUI manual installation](#manual-install-windows-linux) instructions for Windows and Linux and run ComfyUI normally as described above after everything is installed.
198
-
199
- Additional discussion and help can be found [here](https://github.com/comfyanonymous/ComfyUI/discussions/476).
200
-
201
- #### Apple Mac silicon
202
-
203
- You can install ComfyUI in Apple Mac silicon (M1 or M2) with any recent macOS version.
204
-
205
- 1. Install pytorch nightly. For instructions, read the [Accelerated PyTorch training on Mac](https://developer.apple.com/metal/pytorch/) Apple Developer guide (make sure to install the latest pytorch nightly).
206
- 1. Follow the [ComfyUI manual installation](#manual-install-windows-linux) instructions for Windows and Linux.
207
- 1. Install the ComfyUI [dependencies](#dependencies). If you have another Stable Diffusion UI [you might be able to reuse the dependencies](#i-already-have-another-ui-for-stable-diffusion-installed-do-i-really-have-to-install-all-of-these-dependencies).
208
- 1. Launch ComfyUI by running `python main.py`
209
-
210
- > **Note**: Remember to add your models, VAE, LoRAs etc. to the corresponding Comfy folders, as discussed in [ComfyUI manual installation](#manual-install-windows-linux).
211
-
212
- #### DirectML (AMD Cards on Windows)
213
-
214
- ```pip install torch-directml``` Then you can launch ComfyUI with: ```python main.py --directml```
215
-
216
- # Running
217
-
218
- ```python main.py```
219
-
220
- ### For AMD cards not officially supported by ROCm
221
-
222
- Try running it with this command if you have issues:
223
-
224
- For 6700, 6600 and maybe other RDNA2 or older: ```HSA_OVERRIDE_GFX_VERSION=10.3.0 python main.py```
225
-
226
- For AMD 7600 and maybe other RDNA3 cards: ```HSA_OVERRIDE_GFX_VERSION=11.0.0 python main.py```
227
-
228
- ### AMD ROCm Tips
229
-
230
- You can enable experimental memory efficient attention on pytorch 2.5 in ComfyUI on RDNA3 and potentially other AMD GPUs using this command:
231
-
232
- ```TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1 python main.py --use-pytorch-cross-attention```
233
-
234
- # Notes
235
-
236
- Only parts of the graph that have an output with all the correct inputs will be executed.
237
-
238
- Only parts of the graph that change from each execution to the next will be executed, if you submit the same graph twice only the first will be executed. If you change the last part of the graph only the part you changed and the part that depends on it will be executed.
239
-
240
- Dragging a generated png on the webpage or loading one will give you the full workflow including seeds that were used to create it.
241
-
242
- You can use () to change emphasis of a word or phrase like: (good code:1.2) or (bad code:0.8). The default emphasis for () is 1.1. To use () characters in your actual prompt escape them like \\( or \\).
243
-
244
- You can use {day|night}, for wildcard/dynamic prompts. With this syntax "{wild|card|test}" will be randomly replaced by either "wild", "card" or "test" by the frontend every time you queue the prompt. To use {} characters in your actual prompt escape them like: \\{ or \\}.
245
-
246
- Dynamic prompts also support C-style comments, like `// comment` or `/* comment */`.
247
-
248
- To use a textual inversion concepts/embeddings in a text prompt put them in the models/embeddings directory and use them in the CLIPTextEncode node like this (you can omit the .pt extension):
249
-
250
- ```embedding:embedding_filename.pt```
251
-
252
-
253
- ## How to show high-quality previews?
254
-
255
- Use ```--preview-method auto``` to enable previews.
256
-
257
- The default installation includes a fast latent preview method that's low-resolution. To enable higher-quality previews with [TAESD](https://github.com/madebyollin/taesd), download the [taesd_decoder.pth, taesdxl_decoder.pth, taesd3_decoder.pth and taef1_decoder.pth](https://github.com/madebyollin/taesd/) and place them in the `models/vae_approx` folder. Once they're installed, restart ComfyUI and launch it with `--preview-method taesd` to enable high-quality previews.
258
-
259
- ## How to use TLS/SSL?
260
- Generate a self-signed certificate (not appropriate for shared/production use) and key by running the command: `openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname"`
261
-
262
- Use `--tls-keyfile key.pem --tls-certfile cert.pem` to enable TLS/SSL, the app will now be accessible with `https://...` instead of `http://...`.
263
-
264
- > Note: Windows users can use [alexisrolland/docker-openssl](https://github.com/alexisrolland/docker-openssl) or one of the [3rd party binary distributions](https://wiki.openssl.org/index.php/Binaries) to run the command example above.
265
- <br/><br/>If you use a container, note that the volume mount `-v` can be a relative path so `... -v ".\:/openssl-certs" ...` would create the key & cert files in the current directory of your command prompt or powershell terminal.
266
-
267
- ## Support and dev channel
268
-
269
- [Matrix space: #comfyui_space:matrix.org](https://app.element.io/#/room/%23comfyui_space%3Amatrix.org) (it's like discord but open source).
270
-
271
- See also: [https://www.comfy.org/](https://www.comfy.org/)
272
-
273
- ## Frontend Development
274
-
275
- As of August 15, 2024, we have transitioned to a new frontend, which is now hosted in a separate repository: [ComfyUI Frontend](https://github.com/Comfy-Org/ComfyUI_frontend). This repository now hosts the compiled JS (from TS/Vue) under the `web/` directory.
276
-
277
- ### Reporting Issues and Requesting Features
278
-
279
- For any bugs, issues, or feature requests related to the frontend, please use the [ComfyUI Frontend repository](https://github.com/Comfy-Org/ComfyUI_frontend). This will help us manage and address frontend-specific concerns more efficiently.
280
-
281
- ### Using the Latest Frontend
282
-
283
- The new frontend is now the default for ComfyUI. However, please note:
284
-
285
- 1. The frontend in the main ComfyUI repository is updated weekly.
286
- 2. Daily releases are available in the separate frontend repository.
287
-
288
- To use the most up-to-date frontend version:
289
-
290
- 1. For the latest daily release, launch ComfyUI with this command line argument:
291
-
292
- ```
293
- --front-end-version Comfy-Org/ComfyUI_frontend@latest
294
- ```
295
-
296
- 2. For a specific version, replace `latest` with the desired version number:
297
-
298
- ```
299
- --front-end-version Comfy-Org/ComfyUI_frontend@1.2.2
300
- ```
301
-
302
- This approach allows you to easily switch between the stable weekly release and the cutting-edge daily updates, or even specific versions for testing purposes.
303
-
304
- ### Accessing the Legacy Frontend
305
-
306
- If you need to use the legacy frontend for any reason, you can access it using the following command line argument:
307
-
308
- ```
309
- --front-end-version Comfy-Org/ComfyUI_legacy_frontend@latest
310
- ```
311
-
312
- This will use a snapshot of the legacy frontend preserved in the [ComfyUI Legacy Frontend repository](https://github.com/Comfy-Org/ComfyUI_legacy_frontend).
313
-
314
- # QA
315
-
316
- ### Which GPU should I buy for this?
317
-
318
- [See this page for some recommendations](https://github.com/comfyanonymous/ComfyUI/wiki/Which-GPU-should-I-buy-for-ComfyUI)
 
1
  ---
2
+ title: Style Generator
3
  emoji: 🚀
4
  colorFrom: indigo
5
  colorTo: gray
 
8
  app_file: app.py
9
  pinned: false
10
  license: mit
11
+ short_description: blending randomness, creativity, and inspiration for fashion
12
  ---