DegMaTsu commited on
Commit
6588d10
·
verified ·
1 Parent(s): ce5850d

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +414 -415
README.md CHANGED
@@ -1,415 +1,414 @@
1
- ---
2
- title: ComfyUI Reactor Fast Face Swap HYPERSWAP
3
- emoji: 🌌
4
- colorFrom: indigo
5
- colorTo: gray
6
- sdk: gradio
7
- sdk_version: 5.12.0
8
- app_file: app.py
9
- pinned: false
10
- license: mit
11
- short_description: ComfyUI Reactor Fast Face Swap HYPERSWAP 256!
12
- ---
13
- <div align="center">
14
-
15
- # ComfyUI
16
- **The most powerful and modular visual AI engine and application.**
17
-
18
-
19
- [![Website][website-shield]][website-url]
20
- [![Dynamic JSON Badge][discord-shield]][discord-url]
21
- [![Twitter][twitter-shield]][twitter-url]
22
- [![Matrix][matrix-shield]][matrix-url]
23
- <br>
24
- [![][github-release-shield]][github-release-link]
25
- [![][github-release-date-shield]][github-release-link]
26
- [![][github-downloads-shield]][github-downloads-link]
27
- [![][github-downloads-latest-shield]][github-downloads-link]
28
-
29
- [matrix-shield]: https://img.shields.io/badge/Matrix-000000?style=flat&logo=matrix&logoColor=white
30
- [matrix-url]: https://app.element.io/#/room/%23comfyui_space%3Amatrix.org
31
- [website-shield]: https://img.shields.io/badge/ComfyOrg-4285F4?style=flat
32
- [website-url]: https://www.comfy.org/
33
- <!-- Workaround to display total user from https://github.com/badges/shields/issues/4500#issuecomment-2060079995 -->
34
- [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
35
- [discord-url]: https://www.comfy.org/discord
36
- [twitter-shield]: https://img.shields.io/twitter/follow/ComfyUI
37
- [twitter-url]: https://x.com/ComfyUI
38
-
39
- [github-release-shield]: https://img.shields.io/github/v/release/comfyanonymous/ComfyUI?style=flat&sort=semver
40
- [github-release-link]: https://github.com/comfyanonymous/ComfyUI/releases
41
- [github-release-date-shield]: https://img.shields.io/github/release-date/comfyanonymous/ComfyUI?style=flat
42
- [github-downloads-shield]: https://img.shields.io/github/downloads/comfyanonymous/ComfyUI/total?style=flat
43
- [github-downloads-latest-shield]: https://img.shields.io/github/downloads/comfyanonymous/ComfyUI/latest/total?style=flat&label=downloads%40latest
44
- [github-downloads-link]: https://github.com/comfyanonymous/ComfyUI/releases
45
-
46
- ![ComfyUI Screenshot](https://github.com/user-attachments/assets/7ccaf2c1-9b72-41ae-9a89-5688c94b7abe)
47
- </div>
48
-
49
- ComfyUI lets you design and execute advanced stable diffusion pipelines using a graph/nodes/flowchart based interface. Available on Windows, Linux, and macOS.
50
-
51
- ## Get Started
52
-
53
- #### [Desktop Application](https://www.comfy.org/download)
54
- - The easiest way to get started.
55
- - Available on Windows & macOS.
56
-
57
- #### [Windows Portable Package](#installing)
58
- - Get the latest commits and completely portable.
59
- - Available on Windows.
60
-
61
- #### [Manual Install](#manual-install-windows-linux)
62
- Supports all operating systems and GPU types (NVIDIA, AMD, Intel, Apple Silicon, Ascend).
63
-
64
- ## [Examples](https://comfyanonymous.github.io/ComfyUI_examples/)
65
- See what ComfyUI can do with the [example workflows](https://comfyanonymous.github.io/ComfyUI_examples/).
66
-
67
- ## Features
68
- - Nodes/graph/flowchart interface to experiment and create complex Stable Diffusion workflows without needing to code anything.
69
- - Image Models
70
- - SD1.x, SD2.x ([unCLIP](https://comfyanonymous.github.io/ComfyUI_examples/unclip/))
71
- - [SDXL](https://comfyanonymous.github.io/ComfyUI_examples/sdxl/), [SDXL Turbo](https://comfyanonymous.github.io/ComfyUI_examples/sdturbo/)
72
- - [Stable Cascade](https://comfyanonymous.github.io/ComfyUI_examples/stable_cascade/)
73
- - [SD3 and SD3.5](https://comfyanonymous.github.io/ComfyUI_examples/sd3/)
74
- - Pixart Alpha and Sigma
75
- - [AuraFlow](https://comfyanonymous.github.io/ComfyUI_examples/aura_flow/)
76
- - [HunyuanDiT](https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_dit/)
77
- - [Flux](https://comfyanonymous.github.io/ComfyUI_examples/flux/)
78
- - [Lumina Image 2.0](https://comfyanonymous.github.io/ComfyUI_examples/lumina2/)
79
- - [HiDream](https://comfyanonymous.github.io/ComfyUI_examples/hidream/)
80
- - [Qwen Image](https://comfyanonymous.github.io/ComfyUI_examples/qwen_image/)
81
- - [Hunyuan Image 2.1](https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_image/)
82
- - Image Editing Models
83
- - [Omnigen 2](https://comfyanonymous.github.io/ComfyUI_examples/omnigen/)
84
- - [Flux Kontext](https://comfyanonymous.github.io/ComfyUI_examples/flux/#flux-kontext-image-editing-model)
85
- - [HiDream E1.1](https://comfyanonymous.github.io/ComfyUI_examples/hidream/#hidream-e11)
86
- - [Qwen Image Edit](https://comfyanonymous.github.io/ComfyUI_examples/qwen_image/#edit-model)
87
- - Video Models
88
- - [Stable Video Diffusion](https://comfyanonymous.github.io/ComfyUI_examples/video/)
89
- - [Mochi](https://comfyanonymous.github.io/ComfyUI_examples/mochi/)
90
- - [LTX-Video](https://comfyanonymous.github.io/ComfyUI_examples/ltxv/)
91
- - [Hunyuan Video](https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_video/)
92
- - [Wan 2.1](https://comfyanonymous.github.io/ComfyUI_examples/wan/)
93
- - [Wan 2.2](https://comfyanonymous.github.io/ComfyUI_examples/wan22/)
94
- - Audio Models
95
- - [Stable Audio](https://comfyanonymous.github.io/ComfyUI_examples/audio/)
96
- - [ACE Step](https://comfyanonymous.github.io/ComfyUI_examples/audio/)
97
- - 3D Models
98
- - [Hunyuan3D 2.0](https://docs.comfy.org/tutorials/3d/hunyuan3D-2)
99
- - Asynchronous Queue system
100
- - Many optimizations: Only re-executes the parts of the workflow that changes between executions.
101
- - Smart memory management: can automatically run large models on GPUs with as low as 1GB vram with smart offloading.
102
- - Works even if you don't have a GPU with: ```--cpu``` (slow)
103
- - Can load ckpt and safetensors: All in one checkpoints or standalone diffusion models, VAEs and CLIP models.
104
- - Safe loading of ckpt, pt, pth, etc.. files.
105
- - Embeddings/Textual inversion
106
- - [Loras (regular, locon and loha)](https://comfyanonymous.github.io/ComfyUI_examples/lora/)
107
- - [Hypernetworks](https://comfyanonymous.github.io/ComfyUI_examples/hypernetworks/)
108
- - Loading full workflows (with seeds) from generated PNG, WebP and FLAC files.
109
- - Saving/Loading workflows as Json files.
110
- - 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.
111
- - [Area Composition](https://comfyanonymous.github.io/ComfyUI_examples/area_composition/)
112
- - [Inpainting](https://comfyanonymous.github.io/ComfyUI_examples/inpaint/) with both regular and inpainting models.
113
- - [ControlNet and T2I-Adapter](https://comfyanonymous.github.io/ComfyUI_examples/controlnet/)
114
- - [Upscale Models (ESRGAN, ESRGAN variants, SwinIR, Swin2SR, etc...)](https://comfyanonymous.github.io/ComfyUI_examples/upscale_models/)
115
- - [GLIGEN](https://comfyanonymous.github.io/ComfyUI_examples/gligen/)
116
- - [Model Merging](https://comfyanonymous.github.io/ComfyUI_examples/model_merging/)
117
- - [LCM models and Loras](https://comfyanonymous.github.io/ComfyUI_examples/lcm/)
118
- - Latent previews with [TAESD](#how-to-show-high-quality-previews)
119
- - Works fully offline: core will never download anything unless you want to.
120
- - Optional API nodes to use paid models from external providers through the online [Comfy API](https://docs.comfy.org/tutorials/api-nodes/overview).
121
- - [Config file](extra_model_paths.yaml.example) to set the search paths for models.
122
-
123
- Workflow examples can be found on the [Examples page](https://comfyanonymous.github.io/ComfyUI_examples/)
124
-
125
- ## Release Process
126
-
127
- ComfyUI follows a weekly release cycle targeting Friday but this regularly changes because of model releases or large changes to the codebase. There are three interconnected repositories:
128
-
129
- 1. **[ComfyUI Core](https://github.com/comfyanonymous/ComfyUI)**
130
- - Releases a new stable version (e.g., v0.7.0)
131
- - Serves as the foundation for the desktop release
132
-
133
- 2. **[ComfyUI Desktop](https://github.com/Comfy-Org/desktop)**
134
- - Builds a new release using the latest stable core version
135
-
136
- 3. **[ComfyUI Frontend](https://github.com/Comfy-Org/ComfyUI_frontend)**
137
- - Weekly frontend updates are merged into the core repository
138
- - Features are frozen for the upcoming core release
139
- - Development continues for the next release cycle
140
-
141
- ## Shortcuts
142
-
143
- | Keybind | Explanation |
144
- |------------------------------------|--------------------------------------------------------------------------------------------------------------------|
145
- | `Ctrl` + `Enter` | Queue up current graph for generation |
146
- | `Ctrl` + `Shift` + `Enter` | Queue up current graph as first for generation |
147
- | `Ctrl` + `Alt` + `Enter` | Cancel current generation |
148
- | `Ctrl` + `Z`/`Ctrl` + `Y` | Undo/Redo |
149
- | `Ctrl` + `S` | Save workflow |
150
- | `Ctrl` + `O` | Load workflow |
151
- | `Ctrl` + `A` | Select all nodes |
152
- | `Alt `+ `C` | Collapse/uncollapse selected nodes |
153
- | `Ctrl` + `M` | Mute/unmute selected nodes |
154
- | `Ctrl` + `B` | Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through) |
155
- | `Delete`/`Backspace` | Delete selected nodes |
156
- | `Ctrl` + `Backspace` | Delete the current graph |
157
- | `Space` | Move the canvas around when held and moving the cursor |
158
- | `Ctrl`/`Shift` + `Click` | Add clicked node to selection |
159
- | `Ctrl` + `C`/`Ctrl` + `V` | Copy and paste selected nodes (without maintaining connections to outputs of unselected nodes) |
160
- | `Ctrl` + `C`/`Ctrl` + `Shift` + `V` | Copy and paste selected nodes (maintaining connections from outputs of unselected nodes to inputs of pasted nodes) |
161
- | `Shift` + `Drag` | Move multiple selected nodes at the same time |
162
- | `Ctrl` + `D` | Load default graph |
163
- | `Alt` + `+` | Canvas Zoom in |
164
- | `Alt` + `-` | Canvas Zoom out |
165
- | `Ctrl` + `Shift` + LMB + Vertical drag | Canvas Zoom in/out |
166
- | `P` | Pin/Unpin selected nodes |
167
- | `Ctrl` + `G` | Group selected nodes |
168
- | `Q` | Toggle visibility of the queue |
169
- | `H` | Toggle visibility of history |
170
- | `R` | Refresh graph |
171
- | `F` | Show/Hide menu |
172
- | `.` | Fit view to selection (Whole graph when nothing is selected) |
173
- | Double-Click LMB | Open node quick search palette |
174
- | `Shift` + Drag | Move multiple wires at once |
175
- | `Ctrl` + `Alt` + LMB | Disconnect all wires from clicked slot |
176
-
177
- `Ctrl` can also be replaced with `Cmd` instead for macOS users
178
-
179
- # Installing
180
-
181
- ## Windows Portable
182
-
183
- 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).
184
-
185
- ### [Direct link to download](https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_nvidia.7z)
186
-
187
- 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
188
-
189
- If you have trouble extracting it, right click the file -> properties -> unblock
190
-
191
- #### How do I share models between another UI and ComfyUI?
192
-
193
- 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.
194
-
195
-
196
- ## [comfy-cli](https://docs.comfy.org/comfy-cli/getting-started)
197
-
198
- You can install and start ComfyUI using comfy-cli:
199
- ```bash
200
- pip install comfy-cli
201
- comfy install
202
- ```
203
-
204
- ## Manual Install (Windows, Linux)
205
-
206
- Python 3.13 is very well supported. If you have trouble with some custom node dependencies you can try 3.12
207
-
208
- Git clone this repo.
209
-
210
- Put your SD checkpoints (the huge ckpt/safetensors files) in: models/checkpoints
211
-
212
- Put your VAE in: models/vae
213
-
214
-
215
- ### AMD GPUs (Linux only)
216
- 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:
217
-
218
- ```pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.4```
219
-
220
- This is the command to install the nightly with ROCm 6.4 which might have some performance improvements:
221
-
222
- ```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.4```
223
-
224
- ### Intel GPUs (Windows and Linux)
225
-
226
- (Option 1) Intel Arc GPU users can install native PyTorch with torch.xpu support using pip. More information can be found [here](https://pytorch.org/docs/main/notes/get_start_xpu.html)
227
-
228
- 1. To install PyTorch xpu, use the following command:
229
-
230
- ```pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/xpu```
231
-
232
- This is the command to install the Pytorch xpu nightly which might have some performance improvements:
233
-
234
- ```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu```
235
-
236
- (Option 2) Alternatively, Intel GPUs supported by Intel Extension for PyTorch (IPEX) can leverage IPEX for improved performance.
237
-
238
- 1. visit [Installation](https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu) for more information.
239
-
240
- ### NVIDIA
241
-
242
- Nvidia users should install stable pytorch using this command:
243
-
244
- ```pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu129```
245
-
246
- This is the command to install pytorch nightly instead which might have performance improvements.
247
-
248
- ```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129```
249
-
250
- #### Troubleshooting
251
-
252
- If you get the "Torch not compiled with CUDA enabled" error, uninstall torch with:
253
-
254
- ```pip uninstall torch```
255
-
256
- And install it again with the command above.
257
-
258
- ### Dependencies
259
-
260
- Install the dependencies by opening your terminal inside the ComfyUI folder and:
261
-
262
- ```pip install -r requirements.txt```
263
-
264
- After this you should have everything installed and can proceed to running ComfyUI.
265
-
266
- ### Others:
267
-
268
- #### Apple Mac silicon
269
-
270
- You can install ComfyUI in Apple Mac silicon (M1 or M2) with any recent macOS version.
271
-
272
- 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).
273
- 1. Follow the [ComfyUI manual installation](#manual-install-windows-linux) instructions for Windows and Linux.
274
- 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).
275
- 1. Launch ComfyUI by running `python main.py`
276
-
277
- > **Note**: Remember to add your models, VAE, LoRAs etc. to the corresponding Comfy folders, as discussed in [ComfyUI manual installation](#manual-install-windows-linux).
278
-
279
- #### DirectML (AMD Cards on Windows)
280
-
281
- This is very badly supported and is not recommended. There are some unofficial builds of pytorch ROCm on windows that exist that will give you a much better experience than this. This readme will be updated once official pytorch ROCm builds for windows come out.
282
-
283
- ```pip install torch-directml``` Then you can launch ComfyUI with: ```python main.py --directml```
284
-
285
- #### Ascend NPUs
286
-
287
- For models compatible with Ascend Extension for PyTorch (torch_npu). To get started, ensure your environment meets the prerequisites outlined on the [installation](https://ascend.github.io/docs/sources/ascend/quick_install.html) page. Here's a step-by-step guide tailored to your platform and installation method:
288
-
289
- 1. Begin by installing the recommended or newer kernel version for Linux as specified in the Installation page of torch-npu, if necessary.
290
- 2. Proceed with the installation of Ascend Basekit, which includes the driver, firmware, and CANN, following the instructions provided for your specific platform.
291
- 3. Next, install the necessary packages for torch-npu by adhering to the platform-specific instructions on the [Installation](https://ascend.github.io/docs/sources/pytorch/install.html#pytorch) page.
292
- 4. Finally, adhere to the [ComfyUI manual installation](#manual-install-windows-linux) guide for Linux. Once all components are installed, you can run ComfyUI as described earlier.
293
-
294
- #### Cambricon MLUs
295
-
296
- For models compatible with Cambricon Extension for PyTorch (torch_mlu). Here's a step-by-step guide tailored to your platform and installation method:
297
-
298
- 1. Install the Cambricon CNToolkit by adhering to the platform-specific instructions on the [Installation](https://www.cambricon.com/docs/sdk_1.15.0/cntoolkit_3.7.2/cntoolkit_install_3.7.2/index.html)
299
- 2. Next, install the PyTorch(torch_mlu) following the instructions on the [Installation](https://www.cambricon.com/docs/sdk_1.15.0/cambricon_pytorch_1.17.0/user_guide_1.9/index.html)
300
- 3. Launch ComfyUI by running `python main.py`
301
-
302
- #### Iluvatar Corex
303
-
304
- For models compatible with Iluvatar Extension for PyTorch. Here's a step-by-step guide tailored to your platform and installation method:
305
-
306
- 1. Install the Iluvatar Corex Toolkit by adhering to the platform-specific instructions on the [Installation](https://support.iluvatar.com/#/DocumentCentre?id=1&nameCenter=2&productId=520117912052801536)
307
- 2. Launch ComfyUI by running `python main.py`
308
-
309
- # Running
310
-
311
- ```python main.py```
312
-
313
- ### For AMD cards not officially supported by ROCm
314
-
315
- Try running it with this command if you have issues:
316
-
317
- For 6700, 6600 and maybe other RDNA2 or older: ```HSA_OVERRIDE_GFX_VERSION=10.3.0 python main.py```
318
-
319
- For AMD 7600 and maybe other RDNA3 cards: ```HSA_OVERRIDE_GFX_VERSION=11.0.0 python main.py```
320
-
321
- ### AMD ROCm Tips
322
-
323
- You can enable experimental memory efficient attention on recent pytorch in ComfyUI on some AMD GPUs using this command, it should already be enabled by default on RDNA3. If this improves speed for you on latest pytorch on your GPU please report it so that I can enable it by default.
324
-
325
- ```TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1 python main.py --use-pytorch-cross-attention```
326
-
327
- You can also try setting this env variable `PYTORCH_TUNABLEOP_ENABLED=1` which might speed things up at the cost of a very slow initial run.
328
-
329
- # Notes
330
-
331
- Only parts of the graph that have an output with all the correct inputs will be executed.
332
-
333
- 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.
334
-
335
- Dragging a generated png on the webpage or loading one will give you the full workflow including seeds that were used to create it.
336
-
337
- 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 \\).
338
-
339
- 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 \\}.
340
-
341
- Dynamic prompts also support C-style comments, like `// comment` or `/* comment */`.
342
-
343
- 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):
344
-
345
- ```embedding:embedding_filename.pt```
346
-
347
-
348
- ## How to show high-quality previews?
349
-
350
- Use ```--preview-method auto``` to enable previews.
351
-
352
- 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.
353
-
354
- ## How to use TLS/SSL?
355
- 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"`
356
-
357
- Use `--tls-keyfile key.pem --tls-certfile cert.pem` to enable TLS/SSL, the app will now be accessible with `https://...` instead of `http://...`.
358
-
359
- > 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.
360
- <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.
361
-
362
- ## Support and dev channel
363
-
364
- [Discord](https://comfy.org/discord): Try the #help or #feedback channels.
365
-
366
- [Matrix space: #comfyui_space:matrix.org](https://app.element.io/#/room/%23comfyui_space%3Amatrix.org) (it's like discord but open source).
367
-
368
- See also: [https://www.comfy.org/](https://www.comfy.org/)
369
-
370
- ## Frontend Development
371
-
372
- 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.
373
-
374
- ### Reporting Issues and Requesting Features
375
-
376
- 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.
377
-
378
- ### Using the Latest Frontend
379
-
380
- The new frontend is now the default for ComfyUI. However, please note:
381
-
382
- 1. The frontend in the main ComfyUI repository is updated fortnightly.
383
- 2. Daily releases are available in the separate frontend repository.
384
-
385
- To use the most up-to-date frontend version:
386
-
387
- 1. For the latest daily release, launch ComfyUI with this command line argument:
388
-
389
- ```
390
- --front-end-version Comfy-Org/ComfyUI_frontend@latest
391
- ```
392
-
393
- 2. For a specific version, replace `latest` with the desired version number:
394
-
395
- ```
396
- --front-end-version Comfy-Org/ComfyUI_frontend@1.2.2
397
- ```
398
-
399
- This approach allows you to easily switch between the stable fortnightly release and the cutting-edge daily updates, or even specific versions for testing purposes.
400
-
401
- ### Accessing the Legacy Frontend
402
-
403
- If you need to use the legacy frontend for any reason, you can access it using the following command line argument:
404
-
405
- ```
406
- --front-end-version Comfy-Org/ComfyUI_legacy_frontend@latest
407
- ```
408
-
409
- This will use a snapshot of the legacy frontend preserved in the [ComfyUI Legacy Frontend repository](https://github.com/Comfy-Org/ComfyUI_legacy_frontend).
410
-
411
- # QA
412
-
413
- ### Which GPU should I buy for this?
414
-
415
- [See this page for some recommendations](https://github.com/comfyanonymous/ComfyUI/wiki/Which-GPU-should-I-buy-for-ComfyUI)
 
1
+ ---
2
+ title: ComfyUI Reactor Fast Face Swap HYPERSWAP
3
+ emoji: 🌌
4
+ colorFrom: indigo
5
+ colorTo: gray
6
+ sdk: gradio
7
+ app_file: app.py
8
+ pinned: false
9
+ license: mit
10
+ short_description: ComfyUI Reactor Fast Face Swap HYPERSWAP 256!
11
+ ---
12
+ <div align="center">
13
+
14
+ # ComfyUI
15
+ **The most powerful and modular visual AI engine and application.**
16
+
17
+
18
+ [![Website][website-shield]][website-url]
19
+ [![Dynamic JSON Badge][discord-shield]][discord-url]
20
+ [![Twitter][twitter-shield]][twitter-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
+ [twitter-shield]: https://img.shields.io/twitter/follow/ComfyUI
36
+ [twitter-url]: https://x.com/ComfyUI
37
+
38
+ [github-release-shield]: https://img.shields.io/github/v/release/comfyanonymous/ComfyUI?style=flat&sort=semver
39
+ [github-release-link]: https://github.com/comfyanonymous/ComfyUI/releases
40
+ [github-release-date-shield]: https://img.shields.io/github/release-date/comfyanonymous/ComfyUI?style=flat
41
+ [github-downloads-shield]: https://img.shields.io/github/downloads/comfyanonymous/ComfyUI/total?style=flat
42
+ [github-downloads-latest-shield]: https://img.shields.io/github/downloads/comfyanonymous/ComfyUI/latest/total?style=flat&label=downloads%40latest
43
+ [github-downloads-link]: https://github.com/comfyanonymous/ComfyUI/releases
44
+
45
+ ![ComfyUI Screenshot](https://github.com/user-attachments/assets/7ccaf2c1-9b72-41ae-9a89-5688c94b7abe)
46
+ </div>
47
+
48
+ ComfyUI lets you design and execute advanced stable diffusion pipelines using a graph/nodes/flowchart based interface. Available on Windows, Linux, and macOS.
49
+
50
+ ## Get Started
51
+
52
+ #### [Desktop Application](https://www.comfy.org/download)
53
+ - The easiest way to get started.
54
+ - Available on Windows & macOS.
55
+
56
+ #### [Windows Portable Package](#installing)
57
+ - Get the latest commits and completely portable.
58
+ - Available on Windows.
59
+
60
+ #### [Manual Install](#manual-install-windows-linux)
61
+ Supports all operating systems and GPU types (NVIDIA, AMD, Intel, Apple Silicon, Ascend).
62
+
63
+ ## [Examples](https://comfyanonymous.github.io/ComfyUI_examples/)
64
+ See what ComfyUI can do with the [example workflows](https://comfyanonymous.github.io/ComfyUI_examples/).
65
+
66
+ ## Features
67
+ - Nodes/graph/flowchart interface to experiment and create complex Stable Diffusion workflows without needing to code anything.
68
+ - Image Models
69
+ - SD1.x, SD2.x ([unCLIP](https://comfyanonymous.github.io/ComfyUI_examples/unclip/))
70
+ - [SDXL](https://comfyanonymous.github.io/ComfyUI_examples/sdxl/), [SDXL Turbo](https://comfyanonymous.github.io/ComfyUI_examples/sdturbo/)
71
+ - [Stable Cascade](https://comfyanonymous.github.io/ComfyUI_examples/stable_cascade/)
72
+ - [SD3 and SD3.5](https://comfyanonymous.github.io/ComfyUI_examples/sd3/)
73
+ - Pixart Alpha and Sigma
74
+ - [AuraFlow](https://comfyanonymous.github.io/ComfyUI_examples/aura_flow/)
75
+ - [HunyuanDiT](https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_dit/)
76
+ - [Flux](https://comfyanonymous.github.io/ComfyUI_examples/flux/)
77
+ - [Lumina Image 2.0](https://comfyanonymous.github.io/ComfyUI_examples/lumina2/)
78
+ - [HiDream](https://comfyanonymous.github.io/ComfyUI_examples/hidream/)
79
+ - [Qwen Image](https://comfyanonymous.github.io/ComfyUI_examples/qwen_image/)
80
+ - [Hunyuan Image 2.1](https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_image/)
81
+ - Image Editing Models
82
+ - [Omnigen 2](https://comfyanonymous.github.io/ComfyUI_examples/omnigen/)
83
+ - [Flux Kontext](https://comfyanonymous.github.io/ComfyUI_examples/flux/#flux-kontext-image-editing-model)
84
+ - [HiDream E1.1](https://comfyanonymous.github.io/ComfyUI_examples/hidream/#hidream-e11)
85
+ - [Qwen Image Edit](https://comfyanonymous.github.io/ComfyUI_examples/qwen_image/#edit-model)
86
+ - Video Models
87
+ - [Stable Video Diffusion](https://comfyanonymous.github.io/ComfyUI_examples/video/)
88
+ - [Mochi](https://comfyanonymous.github.io/ComfyUI_examples/mochi/)
89
+ - [LTX-Video](https://comfyanonymous.github.io/ComfyUI_examples/ltxv/)
90
+ - [Hunyuan Video](https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_video/)
91
+ - [Wan 2.1](https://comfyanonymous.github.io/ComfyUI_examples/wan/)
92
+ - [Wan 2.2](https://comfyanonymous.github.io/ComfyUI_examples/wan22/)
93
+ - Audio Models
94
+ - [Stable Audio](https://comfyanonymous.github.io/ComfyUI_examples/audio/)
95
+ - [ACE Step](https://comfyanonymous.github.io/ComfyUI_examples/audio/)
96
+ - 3D Models
97
+ - [Hunyuan3D 2.0](https://docs.comfy.org/tutorials/3d/hunyuan3D-2)
98
+ - Asynchronous Queue system
99
+ - Many optimizations: Only re-executes the parts of the workflow that changes between executions.
100
+ - Smart memory management: can automatically run large models on GPUs with as low as 1GB vram with smart offloading.
101
+ - Works even if you don't have a GPU with: ```--cpu``` (slow)
102
+ - Can load ckpt and safetensors: All in one checkpoints or standalone diffusion models, VAEs and CLIP models.
103
+ - Safe loading of ckpt, pt, pth, etc.. files.
104
+ - Embeddings/Textual inversion
105
+ - [Loras (regular, locon and loha)](https://comfyanonymous.github.io/ComfyUI_examples/lora/)
106
+ - [Hypernetworks](https://comfyanonymous.github.io/ComfyUI_examples/hypernetworks/)
107
+ - Loading full workflows (with seeds) from generated PNG, WebP and FLAC files.
108
+ - Saving/Loading workflows as Json files.
109
+ - 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.
110
+ - [Area Composition](https://comfyanonymous.github.io/ComfyUI_examples/area_composition/)
111
+ - [Inpainting](https://comfyanonymous.github.io/ComfyUI_examples/inpaint/) with both regular and inpainting models.
112
+ - [ControlNet and T2I-Adapter](https://comfyanonymous.github.io/ComfyUI_examples/controlnet/)
113
+ - [Upscale Models (ESRGAN, ESRGAN variants, SwinIR, Swin2SR, etc...)](https://comfyanonymous.github.io/ComfyUI_examples/upscale_models/)
114
+ - [GLIGEN](https://comfyanonymous.github.io/ComfyUI_examples/gligen/)
115
+ - [Model Merging](https://comfyanonymous.github.io/ComfyUI_examples/model_merging/)
116
+ - [LCM models and Loras](https://comfyanonymous.github.io/ComfyUI_examples/lcm/)
117
+ - Latent previews with [TAESD](#how-to-show-high-quality-previews)
118
+ - Works fully offline: core will never download anything unless you want to.
119
+ - Optional API nodes to use paid models from external providers through the online [Comfy API](https://docs.comfy.org/tutorials/api-nodes/overview).
120
+ - [Config file](extra_model_paths.yaml.example) to set the search paths for models.
121
+
122
+ Workflow examples can be found on the [Examples page](https://comfyanonymous.github.io/ComfyUI_examples/)
123
+
124
+ ## Release Process
125
+
126
+ ComfyUI follows a weekly release cycle targeting Friday but this regularly changes because of model releases or large changes to the codebase. There are three interconnected repositories:
127
+
128
+ 1. **[ComfyUI Core](https://github.com/comfyanonymous/ComfyUI)**
129
+ - Releases a new stable version (e.g., v0.7.0)
130
+ - Serves as the foundation for the desktop release
131
+
132
+ 2. **[ComfyUI Desktop](https://github.com/Comfy-Org/desktop)**
133
+ - Builds a new release using the latest stable core version
134
+
135
+ 3. **[ComfyUI Frontend](https://github.com/Comfy-Org/ComfyUI_frontend)**
136
+ - Weekly frontend updates are merged into the core repository
137
+ - Features are frozen for the upcoming core release
138
+ - Development continues for the next release cycle
139
+
140
+ ## Shortcuts
141
+
142
+ | Keybind | Explanation |
143
+ |------------------------------------|--------------------------------------------------------------------------------------------------------------------|
144
+ | `Ctrl` + `Enter` | Queue up current graph for generation |
145
+ | `Ctrl` + `Shift` + `Enter` | Queue up current graph as first for generation |
146
+ | `Ctrl` + `Alt` + `Enter` | Cancel current generation |
147
+ | `Ctrl` + `Z`/`Ctrl` + `Y` | Undo/Redo |
148
+ | `Ctrl` + `S` | Save workflow |
149
+ | `Ctrl` + `O` | Load workflow |
150
+ | `Ctrl` + `A` | Select all nodes |
151
+ | `Alt `+ `C` | Collapse/uncollapse selected nodes |
152
+ | `Ctrl` + `M` | Mute/unmute selected nodes |
153
+ | `Ctrl` + `B` | Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through) |
154
+ | `Delete`/`Backspace` | Delete selected nodes |
155
+ | `Ctrl` + `Backspace` | Delete the current graph |
156
+ | `Space` | Move the canvas around when held and moving the cursor |
157
+ | `Ctrl`/`Shift` + `Click` | Add clicked node to selection |
158
+ | `Ctrl` + `C`/`Ctrl` + `V` | Copy and paste selected nodes (without maintaining connections to outputs of unselected nodes) |
159
+ | `Ctrl` + `C`/`Ctrl` + `Shift` + `V` | Copy and paste selected nodes (maintaining connections from outputs of unselected nodes to inputs of pasted nodes) |
160
+ | `Shift` + `Drag` | Move multiple selected nodes at the same time |
161
+ | `Ctrl` + `D` | Load default graph |
162
+ | `Alt` + `+` | Canvas Zoom in |
163
+ | `Alt` + `-` | Canvas Zoom out |
164
+ | `Ctrl` + `Shift` + LMB + Vertical drag | Canvas Zoom in/out |
165
+ | `P` | Pin/Unpin selected nodes |
166
+ | `Ctrl` + `G` | Group selected nodes |
167
+ | `Q` | Toggle visibility of the queue |
168
+ | `H` | Toggle visibility of history |
169
+ | `R` | Refresh graph |
170
+ | `F` | Show/Hide menu |
171
+ | `.` | Fit view to selection (Whole graph when nothing is selected) |
172
+ | Double-Click LMB | Open node quick search palette |
173
+ | `Shift` + Drag | Move multiple wires at once |
174
+ | `Ctrl` + `Alt` + LMB | Disconnect all wires from clicked slot |
175
+
176
+ `Ctrl` can also be replaced with `Cmd` instead for macOS users
177
+
178
+ # Installing
179
+
180
+ ## Windows Portable
181
+
182
+ 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).
183
+
184
+ ### [Direct link to download](https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_nvidia.7z)
185
+
186
+ 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
187
+
188
+ If you have trouble extracting it, right click the file -> properties -> unblock
189
+
190
+ #### How do I share models between another UI and ComfyUI?
191
+
192
+ 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.
193
+
194
+
195
+ ## [comfy-cli](https://docs.comfy.org/comfy-cli/getting-started)
196
+
197
+ You can install and start ComfyUI using comfy-cli:
198
+ ```bash
199
+ pip install comfy-cli
200
+ comfy install
201
+ ```
202
+
203
+ ## Manual Install (Windows, Linux)
204
+
205
+ Python 3.13 is very well supported. If you have trouble with some custom node dependencies you can try 3.12
206
+
207
+ Git clone this repo.
208
+
209
+ Put your SD checkpoints (the huge ckpt/safetensors files) in: models/checkpoints
210
+
211
+ Put your VAE in: models/vae
212
+
213
+
214
+ ### AMD GPUs (Linux only)
215
+ 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:
216
+
217
+ ```pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.4```
218
+
219
+ This is the command to install the nightly with ROCm 6.4 which might have some performance improvements:
220
+
221
+ ```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.4```
222
+
223
+ ### Intel GPUs (Windows and Linux)
224
+
225
+ (Option 1) Intel Arc GPU users can install native PyTorch with torch.xpu support using pip. More information can be found [here](https://pytorch.org/docs/main/notes/get_start_xpu.html)
226
+
227
+ 1. To install PyTorch xpu, use the following command:
228
+
229
+ ```pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/xpu```
230
+
231
+ This is the command to install the Pytorch xpu nightly which might have some performance improvements:
232
+
233
+ ```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu```
234
+
235
+ (Option 2) Alternatively, Intel GPUs supported by Intel Extension for PyTorch (IPEX) can leverage IPEX for improved performance.
236
+
237
+ 1. visit [Installation](https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu) for more information.
238
+
239
+ ### NVIDIA
240
+
241
+ Nvidia users should install stable pytorch using this command:
242
+
243
+ ```pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu129```
244
+
245
+ This is the command to install pytorch nightly instead which might have performance improvements.
246
+
247
+ ```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129```
248
+
249
+ #### Troubleshooting
250
+
251
+ If you get the "Torch not compiled with CUDA enabled" error, uninstall torch with:
252
+
253
+ ```pip uninstall torch```
254
+
255
+ And install it again with the command above.
256
+
257
+ ### Dependencies
258
+
259
+ Install the dependencies by opening your terminal inside the ComfyUI folder and:
260
+
261
+ ```pip install -r requirements.txt```
262
+
263
+ After this you should have everything installed and can proceed to running ComfyUI.
264
+
265
+ ### Others:
266
+
267
+ #### Apple Mac silicon
268
+
269
+ You can install ComfyUI in Apple Mac silicon (M1 or M2) with any recent macOS version.
270
+
271
+ 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).
272
+ 1. Follow the [ComfyUI manual installation](#manual-install-windows-linux) instructions for Windows and Linux.
273
+ 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).
274
+ 1. Launch ComfyUI by running `python main.py`
275
+
276
+ > **Note**: Remember to add your models, VAE, LoRAs etc. to the corresponding Comfy folders, as discussed in [ComfyUI manual installation](#manual-install-windows-linux).
277
+
278
+ #### DirectML (AMD Cards on Windows)
279
+
280
+ This is very badly supported and is not recommended. There are some unofficial builds of pytorch ROCm on windows that exist that will give you a much better experience than this. This readme will be updated once official pytorch ROCm builds for windows come out.
281
+
282
+ ```pip install torch-directml``` Then you can launch ComfyUI with: ```python main.py --directml```
283
+
284
+ #### Ascend NPUs
285
+
286
+ For models compatible with Ascend Extension for PyTorch (torch_npu). To get started, ensure your environment meets the prerequisites outlined on the [installation](https://ascend.github.io/docs/sources/ascend/quick_install.html) page. Here's a step-by-step guide tailored to your platform and installation method:
287
+
288
+ 1. Begin by installing the recommended or newer kernel version for Linux as specified in the Installation page of torch-npu, if necessary.
289
+ 2. Proceed with the installation of Ascend Basekit, which includes the driver, firmware, and CANN, following the instructions provided for your specific platform.
290
+ 3. Next, install the necessary packages for torch-npu by adhering to the platform-specific instructions on the [Installation](https://ascend.github.io/docs/sources/pytorch/install.html#pytorch) page.
291
+ 4. Finally, adhere to the [ComfyUI manual installation](#manual-install-windows-linux) guide for Linux. Once all components are installed, you can run ComfyUI as described earlier.
292
+
293
+ #### Cambricon MLUs
294
+
295
+ For models compatible with Cambricon Extension for PyTorch (torch_mlu). Here's a step-by-step guide tailored to your platform and installation method:
296
+
297
+ 1. Install the Cambricon CNToolkit by adhering to the platform-specific instructions on the [Installation](https://www.cambricon.com/docs/sdk_1.15.0/cntoolkit_3.7.2/cntoolkit_install_3.7.2/index.html)
298
+ 2. Next, install the PyTorch(torch_mlu) following the instructions on the [Installation](https://www.cambricon.com/docs/sdk_1.15.0/cambricon_pytorch_1.17.0/user_guide_1.9/index.html)
299
+ 3. Launch ComfyUI by running `python main.py`
300
+
301
+ #### Iluvatar Corex
302
+
303
+ For models compatible with Iluvatar Extension for PyTorch. Here's a step-by-step guide tailored to your platform and installation method:
304
+
305
+ 1. Install the Iluvatar Corex Toolkit by adhering to the platform-specific instructions on the [Installation](https://support.iluvatar.com/#/DocumentCentre?id=1&nameCenter=2&productId=520117912052801536)
306
+ 2. Launch ComfyUI by running `python main.py`
307
+
308
+ # Running
309
+
310
+ ```python main.py```
311
+
312
+ ### For AMD cards not officially supported by ROCm
313
+
314
+ Try running it with this command if you have issues:
315
+
316
+ For 6700, 6600 and maybe other RDNA2 or older: ```HSA_OVERRIDE_GFX_VERSION=10.3.0 python main.py```
317
+
318
+ For AMD 7600 and maybe other RDNA3 cards: ```HSA_OVERRIDE_GFX_VERSION=11.0.0 python main.py```
319
+
320
+ ### AMD ROCm Tips
321
+
322
+ You can enable experimental memory efficient attention on recent pytorch in ComfyUI on some AMD GPUs using this command, it should already be enabled by default on RDNA3. If this improves speed for you on latest pytorch on your GPU please report it so that I can enable it by default.
323
+
324
+ ```TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1 python main.py --use-pytorch-cross-attention```
325
+
326
+ You can also try setting this env variable `PYTORCH_TUNABLEOP_ENABLED=1` which might speed things up at the cost of a very slow initial run.
327
+
328
+ # Notes
329
+
330
+ Only parts of the graph that have an output with all the correct inputs will be executed.
331
+
332
+ 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.
333
+
334
+ Dragging a generated png on the webpage or loading one will give you the full workflow including seeds that were used to create it.
335
+
336
+ 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 \\).
337
+
338
+ 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 \\}.
339
+
340
+ Dynamic prompts also support C-style comments, like `// comment` or `/* comment */`.
341
+
342
+ 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):
343
+
344
+ ```embedding:embedding_filename.pt```
345
+
346
+
347
+ ## How to show high-quality previews?
348
+
349
+ Use ```--preview-method auto``` to enable previews.
350
+
351
+ 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.
352
+
353
+ ## How to use TLS/SSL?
354
+ 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"`
355
+
356
+ Use `--tls-keyfile key.pem --tls-certfile cert.pem` to enable TLS/SSL, the app will now be accessible with `https://...` instead of `http://...`.
357
+
358
+ > 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.
359
+ <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.
360
+
361
+ ## Support and dev channel
362
+
363
+ [Discord](https://comfy.org/discord): Try the #help or #feedback channels.
364
+
365
+ [Matrix space: #comfyui_space:matrix.org](https://app.element.io/#/room/%23comfyui_space%3Amatrix.org) (it's like discord but open source).
366
+
367
+ See also: [https://www.comfy.org/](https://www.comfy.org/)
368
+
369
+ ## Frontend Development
370
+
371
+ 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.
372
+
373
+ ### Reporting Issues and Requesting Features
374
+
375
+ 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.
376
+
377
+ ### Using the Latest Frontend
378
+
379
+ The new frontend is now the default for ComfyUI. However, please note:
380
+
381
+ 1. The frontend in the main ComfyUI repository is updated fortnightly.
382
+ 2. Daily releases are available in the separate frontend repository.
383
+
384
+ To use the most up-to-date frontend version:
385
+
386
+ 1. For the latest daily release, launch ComfyUI with this command line argument:
387
+
388
+ ```
389
+ --front-end-version Comfy-Org/ComfyUI_frontend@latest
390
+ ```
391
+
392
+ 2. For a specific version, replace `latest` with the desired version number:
393
+
394
+ ```
395
+ --front-end-version Comfy-Org/ComfyUI_frontend@1.2.2
396
+ ```
397
+
398
+ This approach allows you to easily switch between the stable fortnightly release and the cutting-edge daily updates, or even specific versions for testing purposes.
399
+
400
+ ### Accessing the Legacy Frontend
401
+
402
+ If you need to use the legacy frontend for any reason, you can access it using the following command line argument:
403
+
404
+ ```
405
+ --front-end-version Comfy-Org/ComfyUI_legacy_frontend@latest
406
+ ```
407
+
408
+ This will use a snapshot of the legacy frontend preserved in the [ComfyUI Legacy Frontend repository](https://github.com/Comfy-Org/ComfyUI_legacy_frontend).
409
+
410
+ # QA
411
+
412
+ ### Which GPU should I buy for this?
413
+
414
+ [See this page for some recommendations](https://github.com/comfyanonymous/ComfyUI/wiki/Which-GPU-should-I-buy-for-ComfyUI)