[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-312":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},312,"ComfyUI","Comfy-Org\u002FComfyUI","Comfy-Org","The most powerful and modular diffusion model GUI, api and backend with a graph\u002Fnodes interface.","https:\u002F\u002Fwww.comfy.org\u002F",null,"Python",117252,13713,763,3788,0,151,900,3965,698,120,"GNU General Public License v3.0",false,"master",true,[27,28,29,30,31,32],"ai","comfy","comfyui","python","pytorch","stable-diffusion","2026-06-17 04:00:02","\u003Cdiv align=\"center\">\n\n# ComfyUI\n**The most powerful and modular AI engine for content creation.**\n\n\n[![Website][website-shield]][website-url]\n[![Dynamic JSON Badge][discord-shield]][discord-url]\n[![Twitter][twitter-shield]][twitter-url]\n[![Matrix][matrix-shield]][matrix-url]\n\u003Cbr>\n[![][github-release-shield]][github-release-link]\n[![][github-release-date-shield]][github-release-link]\n[![][github-downloads-shield]][github-downloads-link]\n[![][github-downloads-latest-shield]][github-downloads-link]\n\n[matrix-shield]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMatrix-000000?style=flat&logo=matrix&logoColor=white\n[matrix-url]: https:\u002F\u002Fapp.element.io\u002F#\u002Froom\u002F%23comfyui_space%3Amatrix.org\n[website-shield]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FComfyOrg-4285F4?style=flat\n[website-url]: https:\u002F\u002Fwww.comfy.org\u002F\n\u003C!-- Workaround to display total user from https:\u002F\u002Fgithub.com\u002Fbadges\u002Fshields\u002Fissues\u002F4500#issuecomment-2060079995 -->\n[discord-shield]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdynamic\u002Fjson?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\n[discord-url]: https:\u002F\u002Fwww.comfy.org\u002Fdiscord\n[twitter-shield]: https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002FComfyUI\n[twitter-url]: https:\u002F\u002Fx.com\u002FComfyUI\n\n[github-release-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fcomfyanonymous\u002FComfyUI?style=flat&sort=semver\n[github-release-link]: https:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI\u002Freleases\n[github-release-date-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease-date\u002Fcomfyanonymous\u002FComfyUI?style=flat\n[github-downloads-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fcomfyanonymous\u002FComfyUI\u002Ftotal?style=flat\n[github-downloads-latest-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fcomfyanonymous\u002FComfyUI\u002Flatest\u002Ftotal?style=flat&label=downloads%40latest\n[github-downloads-link]: https:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI\u002Freleases\n\n\u003Cimg width=\"1590\" height=\"795\" alt=\"ComfyUI Screenshot\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F36e065e0-bfae-4456-8c7f-8369d5ea48a2\" \u002F>\n\u003Cbr>\n\u003C\u002Fdiv>\n\nComfyUI is the AI creation engine for visual professionals who demand control over every model, every parameter, and every output. Its powerful and modular node graph interface empowers creatives to generate images, videos, 3D models, audio, and more...\n- ComfyUI natively supports the latest open-source state of the art models.\n- API nodes provide access to the best closed source models such as Nano Banana, Seedance, Hunyuan3D, etc.\n- It is available on Windows, Linux, and macOS, locally with our desktop application or on our cloud.\n- The most sophisticated workflows can be exposed through a simple UI thanks to App Mode.\n- It integrates seamlessly into production pipelines with our API endpoints.\n\n## Get Started\n\n### Local\n\n#### [Desktop Application](https:\u002F\u002Fwww.comfy.org\u002Fdownload)\n- The easiest way to get started.\n- Available on Windows & macOS.\n\n#### [Windows Portable Package](#installing)\n- Get the latest commits and completely portable.\n- Available on Windows.\n\n#### [Manual Install](#manual-install-windows-linux)\nSupports all operating systems and GPU types (NVIDIA, AMD, Intel, Apple Silicon, Ascend).\n\n### Cloud\n\n#### [Comfy Cloud](https:\u002F\u002Fwww.comfy.org\u002Fcloud)\n- Our official paid cloud version for those who can't afford local hardware.\n\n## Examples\nSee what ComfyUI can do with the [newer template workflows](https:\u002F\u002Fcomfy.org\u002Fworkflows) or old [example workflows](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002F).\n\n## Features\n- Nodes\u002Fgraph\u002Fflowchart interface to experiment and create complex Stable Diffusion workflows without needing to code anything.\n- NOTE: There are many more models supported than the list below, if you want to see what is supported see our templates list inside ComfyUI.\n- Image Models\n   - SD1.x, SD2.x ([unCLIP](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Funclip\u002F))\n   - [SDXL](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fsdxl\u002F), [SDXL Turbo](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fsdturbo\u002F)\n   - [Stable Cascade](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fstable_cascade\u002F)\n   - [SD3 and SD3.5](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fsd3\u002F)\n   - Pixart Alpha and Sigma\n   - [AuraFlow](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Faura_flow\u002F)\n   - [HunyuanDiT](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fhunyuan_dit\u002F)\n   - [Flux](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fflux\u002F)\n   - [Lumina Image 2.0](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Flumina2\u002F)\n   - [HiDream](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fhidream\u002F)\n   - [Qwen Image](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fqwen_image\u002F)\n   - [Hunyuan Image 2.1](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fhunyuan_image\u002F)\n   - [Flux 2](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fflux2\u002F)\n   - [Z Image](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fz_image\u002F)\n   - Ernie Image\n- Image Editing Models\n   - [Omnigen 2](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fomnigen\u002F)\n   - [Flux Kontext](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fflux\u002F#flux-kontext-image-editing-model)\n   - [HiDream E1.1](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fhidream\u002F#hidream-e11)\n   - [Qwen Image Edit](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fqwen_image\u002F#edit-model)\n- Video Models\n   - [Stable Video Diffusion](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fvideo\u002F)\n   - [Mochi](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fmochi\u002F)\n   - [LTX-Video](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fltxv\u002F)\n   - [Hunyuan Video](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fhunyuan_video\u002F)\n   - [Wan 2.1](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fwan\u002F)\n   - [Wan 2.2](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fwan22\u002F)\n   - [Hunyuan Video 1.5](https:\u002F\u002Fdocs.comfy.org\u002Ftutorials\u002Fvideo\u002Fhunyuan\u002Fhunyuan-video-1-5)\n- Audio Models\n   - [Stable Audio](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Faudio\u002F)\n   - [ACE Step](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Faudio\u002F)\n- 3D Models\n   - [Hunyuan3D 2.0](https:\u002F\u002Fdocs.comfy.org\u002Ftutorials\u002F3d\u002Fhunyuan3D-2)\n- Asynchronous Queue system\n- Many optimizations: Only re-executes the parts of the workflow that changes between executions.\n- Smart memory management: can automatically run large models on GPUs with as low as 1GB vram with smart offloading.\n- Works even if you don't have a GPU with: ```--cpu``` (slow)\n- Can load ckpt and safetensors: All in one checkpoints or standalone diffusion models, VAEs and CLIP models.\n- Safe loading of ckpt, pt, pth, etc.. files.\n- Embeddings\u002FTextual inversion\n- [Loras (regular, locon and loha)](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Flora\u002F)\n- [Hypernetworks](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fhypernetworks\u002F)\n- Loading full workflows (with seeds) from generated PNG, WebP and FLAC files.\n- Saving\u002FLoading workflows as Json files.\n- Nodes interface can be used to create complex workflows like one for [Hires fix](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002F2_pass_txt2img\u002F) or much more advanced ones.\n- [Area Composition](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Farea_composition\u002F)\n- [Inpainting](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Finpaint\u002F) with both regular and inpainting models.\n- [ControlNet and T2I-Adapter](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fcontrolnet\u002F)\n- [Upscale Models (ESRGAN, ESRGAN variants, SwinIR, Swin2SR, etc...)](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fupscale_models\u002F)\n- [GLIGEN](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fgligen\u002F)\n- [Model Merging](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Fmodel_merging\u002F)\n- [LCM models and Loras](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002Flcm\u002F)\n- Latent previews with [TAESD](#how-to-show-high-quality-previews)\n- Works fully offline: core will never download anything unless you want to.\n- Optional API nodes to use paid models from external providers through the online [Comfy API](https:\u002F\u002Fdocs.comfy.org\u002Ftutorials\u002Fapi-nodes\u002Foverview) disable with: `--disable-api-nodes`\n- [Config file](extra_model_paths.yaml.example) to set the search paths for models.\n\nWorkflow examples can be found on the [Examples page](https:\u002F\u002Fcomfyanonymous.github.io\u002FComfyUI_examples\u002F)\n\n## Release Process\n\nComfyUI follows a weekly release cycle targeting Monday but this regularly changes because of model releases or large changes to the codebase. There are three interconnected repositories:\n\n1. **[ComfyUI Core](https:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI)**\n   - Releases a new major stable version (e.g., v0.7.0) roughly every 2 weeks.\n   - Starting from v0.4.0 patch versions will be used for fixes backported onto the current stable release.\n   - Minor versions will be used for releases off the master branch.\n   - Patch versions may still be used for releases on the master branch in cases where a backport would not make sense.\n   - Commits outside of the stable release tags may be very unstable and break many custom nodes.\n   - Serves as the foundation for the desktop release\n\n2. **[ComfyUI Desktop](https:\u002F\u002Fgithub.com\u002FComfy-Org\u002Fdesktop)**\n   - Builds a new release using the latest stable core version\n\n3. **[ComfyUI Frontend](https:\u002F\u002Fgithub.com\u002FComfy-Org\u002FComfyUI_frontend)**\n   - Every 2+ weeks frontend updates are merged into the core repository\n   - Features are frozen for the upcoming core release\n   - Development continues for the next release cycle\n\n## Shortcuts\n\n| Keybind                            | Explanation                                                                                                        |\n|------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| `Ctrl` + `Enter`                      | Queue up current graph for generation                                                                              |\n| `Ctrl` + `Shift` + `Enter`              | Queue up current graph as first for generation                                                                     |\n| `Ctrl` + `Alt` + `Enter`                | Cancel current generation                                                                                          |\n| `Ctrl` + `Z`\u002F`Ctrl` + `Y`                 | Undo\u002FRedo                                                                                                          |\n| `Ctrl` + `S`                          | Save workflow                                                                                                      |\n| `Ctrl` + `O`                          | Load workflow                                                                                                      |\n| `Ctrl` + `A`                          | Select all nodes                                                                                                   |\n| `Alt `+ `C`                           | Collapse\u002Funcollapse selected nodes                                                                                 |\n| `Ctrl` + `M`                          | Mute\u002Funmute selected nodes                                                                                         |\n| `Ctrl` + `B`                           | Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through)            |\n| `Delete`\u002F`Backspace`                   | Delete selected nodes                                                                                              |\n| `Ctrl` + `Backspace`                   | Delete the current graph                                                                                           |\n| `Space`                              | Move the canvas around when held and moving the cursor                                                             |\n| `Ctrl`\u002F`Shift` + `Click`                 | Add clicked node to selection                                                                                      |\n| `Ctrl` + `C`\u002F`Ctrl` + `V`                  | Copy and paste selected nodes (without maintaining connections to outputs of unselected nodes)                     |\n| `Ctrl` + `C`\u002F`Ctrl` + `Shift` + `V`          | Copy and paste selected nodes (maintaining connections from outputs of unselected nodes to inputs of pasted nodes) |\n| `Shift` + `Drag`                       | Move multiple selected nodes at the same time                                                                      |\n| `Ctrl` + `D`                           | Load default graph                                                                                                 |\n| `Alt` + `+`                          | Canvas Zoom in                                                                                                     |\n| `Alt` + `-`                          | Canvas Zoom out                                                                                                    |\n| `Ctrl` + `Shift` + LMB + Vertical drag | Canvas Zoom in\u002Fout                                                                                                 |\n| `P`                                  | Pin\u002FUnpin selected nodes                                                                                           |\n| `Ctrl` + `G`                           | Group selected nodes                                                                                               |\n| `Q`                                 | Toggle visibility of the queue                                                                                     |\n| `H`                                  | Toggle visibility of history                                                                                       |\n| `R`                                  | Refresh graph                                                                                                      |\n| `F`                                  | Show\u002FHide menu                                                                                                      |\n| `.`                                  | Fit view to selection (Whole graph when nothing is selected)                                                        |\n| Double-Click LMB                   | Open node quick search palette                                                                                     |\n| `Shift` + Drag                       | Move multiple wires at once                                                                                        |\n| `Ctrl` + `Alt` + LMB                   | Disconnect all wires from clicked slot                                                                             |\n\n`Ctrl` can also be replaced with `Cmd` instead for macOS users\n\n# Installing\n\n## Windows Portable\n\nThere 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:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI\u002Freleases).\n\n### [Direct link to download](https:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI\u002Freleases\u002Flatest\u002Fdownload\u002FComfyUI_windows_portable_nvidia.7z)\n\nSimply download, extract with [7-Zip](https:\u002F\u002F7-zip.org) or with the windows explorer on recent windows versions and run. For smaller models you normally only need to put the checkpoints (the huge ckpt\u002Fsafetensors files) in: ComfyUI\\models\\checkpoints but many of the larger models have multiple files. Make sure to follow the instructions to know which subfolder to put them in ComfyUI\\models\\\n\nIf you have trouble extracting it, right click the file -> properties -> unblock\n\nThe portable above currently comes with python 3.13 and pytorch cuda 13.0. Update your Nvidia drivers if it doesn't start.\n\n#### All Official Portable Downloads:\n\n[Portable for AMD GPUs](https:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI\u002Freleases\u002Flatest\u002Fdownload\u002FComfyUI_windows_portable_amd.7z)\n\n[Portable for Intel GPUs](https:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI\u002Freleases\u002Flatest\u002Fdownload\u002FComfyUI_windows_portable_intel.7z)\n\n[Portable for Nvidia GPUs](https:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI\u002Freleases\u002Flatest\u002Fdownload\u002FComfyUI_windows_portable_nvidia.7z) (supports 20 series and above).\n\n[Portable for Nvidia GPUs with pytorch cuda 12.6 and python 3.12](https:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI\u002Freleases\u002Flatest\u002Fdownload\u002FComfyUI_windows_portable_nvidia_cu126.7z) (Supports Nvidia 10 series and older GPUs).\n\n#### How do I share models between another UI and ComfyUI?\n\nSee 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.\n\n\n## [comfy-cli](https:\u002F\u002Fdocs.comfy.org\u002Fcomfy-cli\u002Fgetting-started)\n\nYou can install and start ComfyUI using comfy-cli:\n```bash\npip install comfy-cli\ncomfy install\n```\n\n## Manual Install (Windows, Linux)\n\nPython 3.14 works but some custom nodes may have issues. The free threaded variant works but some dependencies will enable the GIL so it's not fully supported.\n\nPython 3.13 is very well supported. If you have trouble with some custom node dependencies on 3.13 you can try 3.12\n\ntorch 2.4 and above is supported but some features and optimizations might only work on newer versions. We generally recommend using the latest major version of pytorch with the latest cuda version unless it is less than 2 weeks old.\n\n### Instructions:\n\nGit clone this repo.\n\nPut your SD checkpoints (the huge ckpt\u002Fsafetensors files) in: models\u002Fcheckpoints\n\nPut your VAE in: models\u002Fvae\n\n\n### AMD GPUs (Linux)\n\nAMD 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:\n\n```pip install torch torchvision torchaudio --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Frocm7.2```\n\nThis is the command to install the nightly with ROCm 7.2 which might have some performance improvements:\n\n```pip install --pre torch torchvision torchaudio --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fnightly\u002Frocm7.2```\n\n\n### AMD GPUs (Experimental: Windows and Linux), RDNA 3, 3.5 and 4 only.\n\nThese have less hardware support than the builds above but they work on windows. You also need to install the pytorch version specific to your hardware.\n\nRDNA 3 (RX 7000 series):\n\n```pip install --pre torch torchvision torchaudio --index-url https:\u002F\u002Frocm.nightlies.amd.com\u002Fv2\u002Fgfx110X-all\u002F```\n\nRDNA 3.5 (Strix halo\u002FRyzen AI Max+ 365):\n\n```pip install --pre torch torchvision torchaudio --index-url https:\u002F\u002Frocm.nightlies.amd.com\u002Fv2\u002Fgfx1151\u002F```\n\nRDNA 4 (RX 9000 series):\n\n```pip install --pre torch torchvision torchaudio --index-url https:\u002F\u002Frocm.nightlies.amd.com\u002Fv2\u002Fgfx120X-all\u002F```\n\n### Intel GPUs (Windows and Linux)\n\nIntel Arc GPU users can install native PyTorch with torch.xpu support using pip. More information can be found [here](https:\u002F\u002Fpytorch.org\u002Fdocs\u002Fmain\u002Fnotes\u002Fget_start_xpu.html)\n\n1. To install PyTorch xpu, use the following command:\n\n```pip install torch torchvision torchaudio --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fxpu```\n\nThis is the command to install the Pytorch xpu nightly which might have some performance improvements:\n\n```pip install --pre torch torchvision torchaudio --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fnightly\u002Fxpu```\n\n### NVIDIA\n\nNvidia users should install stable pytorch using this command:\n\n```pip install torch torchvision torchaudio --extra-index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu130```\n\nThis is the command to install pytorch nightly instead which might have performance improvements.\n\n```pip install --pre torch torchvision torchaudio --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fnightly\u002Fcu132```\n\n#### Troubleshooting\n\nIf you get the \"Torch not compiled with CUDA enabled\" error, uninstall torch with:\n\n```pip uninstall torch```\n\nAnd install it again with the command above.\n\n### Dependencies\n\nInstall the dependencies by opening your terminal inside the ComfyUI folder and:\n\n```pip install -r requirements.txt```\n\nAfter this you should have everything installed and can proceed to running ComfyUI.\n\n### Others:\n\n#### Apple Mac silicon\n\nYou can install ComfyUI in Apple Mac silicon (M1 or M2) with any recent macOS version.\n\n1. Install pytorch nightly. For instructions, read the [Accelerated PyTorch training on Mac](https:\u002F\u002Fdeveloper.apple.com\u002Fmetal\u002Fpytorch\u002F) Apple Developer guide (make sure to install the latest pytorch nightly).\n1. Follow the [ComfyUI manual installation](#manual-install-windows-linux) instructions for Windows and Linux.\n1. 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).\n1. Launch ComfyUI by running `python main.py`\n\n> **Note**: Remember to add your models, VAE, LoRAs etc. to the corresponding Comfy folders, as discussed in [ComfyUI manual installation](#manual-install-windows-linux).\n\n#### Ascend NPUs\n\nFor models compatible with Ascend Extension for PyTorch (torch_npu). To get started, ensure your environment meets the prerequisites outlined on the [installation](https:\u002F\u002Fascend.github.io\u002Fdocs\u002Fsources\u002Fascend\u002Fquick_install.html) page. Here's a step-by-step guide tailored to your platform and installation method:\n\n1. Begin by installing the recommended or newer kernel version for Linux as specified in the Installation page of torch-npu, if necessary.\n2. Proceed with the installation of Ascend Basekit, which includes the driver, firmware, and CANN, following the instructions provided for your specific platform.\n3. Next, install the necessary packages for torch-npu by adhering to the platform-specific instructions on the [Installation](https:\u002F\u002Fascend.github.io\u002Fdocs\u002Fsources\u002Fpytorch\u002Finstall.html#pytorch) page.\n4. 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.\n\n#### Cambricon MLUs\n\nFor models compatible with Cambricon Extension for PyTorch (torch_mlu). Here's a step-by-step guide tailored to your platform and installation method:\n\n1. Install the Cambricon CNToolkit by adhering to the platform-specific instructions on the [Installation](https:\u002F\u002Fwww.cambricon.com\u002Fdocs\u002Fsdk_1.15.0\u002Fcntoolkit_3.7.2\u002Fcntoolkit_install_3.7.2\u002Findex.html)\n2. Next, install the PyTorch(torch_mlu) following the instructions on the [Installation](https:\u002F\u002Fwww.cambricon.com\u002Fdocs\u002Fsdk_1.15.0\u002Fcambricon_pytorch_1.17.0\u002Fuser_guide_1.9\u002Findex.html)\n3. Launch ComfyUI by running `python main.py`\n\n#### Iluvatar Corex\n\nFor models compatible with Iluvatar Extension for PyTorch. Here's a step-by-step guide tailored to your platform and installation method:\n\n1. Install the Iluvatar Corex Toolkit by adhering to the platform-specific instructions on the [Installation](https:\u002F\u002Fsupport.iluvatar.com\u002F#\u002FDocumentCentre?id=1&nameCenter=2&productId=520117912052801536)\n2. Launch ComfyUI by running `python main.py`\n\n\n## [ComfyUI-Manager](https:\u002F\u002Fgithub.com\u002FComfy-Org\u002FComfyUI-Manager\u002Ftree\u002Fmanager-v4)\n\n**ComfyUI-Manager** is an extension that allows you to easily install, update, and manage custom nodes for ComfyUI.\n\n### Setup\n\n1. Install the manager dependencies:\n   ```bash\n   pip install -r manager_requirements.txt\n   ```\n\n2. Enable the manager with the `--enable-manager` flag when running ComfyUI:\n   ```bash\n   python main.py --enable-manager\n   ```\n\n### Command Line Options\n\n| Flag | Description |\n|------|-------------|\n| `--enable-manager` | Enable ComfyUI-Manager |\n| `--enable-manager-legacy-ui` | Use the legacy manager UI instead of the new UI (requires `--enable-manager`) |\n| `--disable-manager-ui` | Disable the manager UI and endpoints while keeping background features like security checks and scheduled installation completion (requires `--enable-manager`) |\n\n\n# Running\n\n```python main.py```\n\n### For AMD cards not officially supported by ROCm\n\nTry running it with this command if you have issues:\n\nFor 6700, 6600 and maybe other RDNA2 or older: ```HSA_OVERRIDE_GFX_VERSION=10.3.0 python main.py```\n\nFor AMD 7600 and maybe other RDNA3 cards: ```HSA_OVERRIDE_GFX_VERSION=11.0.0 python main.py```\n\n### AMD ROCm Tips\n\nYou 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.\n\n```TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1 python main.py --use-pytorch-cross-attention```\n\nYou 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.\n\n# Notes\n\nOnly parts of the graph that have an output with all the correct inputs will be executed.\n\nOnly 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.\n\nDragging a generated png on the webpage or loading one will give you the full workflow including seeds that were used to create it.\n\nYou 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 \\\\).\n\nYou can use {day|night}, for wildcard\u002Fdynamic 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 \\\\}.\n\nDynamic prompts also support C-style comments, like `\u002F\u002F comment` or `\u002F* comment *\u002F`.\n\nTo use a textual inversion concepts\u002Fembeddings in a text prompt put them in the models\u002Fembeddings directory and use them in the CLIPTextEncode node like this (you can omit the .pt extension):\n\n```embedding:embedding_filename.pt```\n\n\n## How to show high-quality previews?\n\nUse ```--preview-method auto``` to enable previews.\n\nThe default installation includes a fast latent preview method that's low-resolution. To enable higher-quality previews with [TAESD](https:\u002F\u002Fgithub.com\u002Fmadebyollin\u002Ftaesd), download the [taesd_decoder.pth, taesdxl_decoder.pth, taesd3_decoder.pth and taef1_decoder.pth](https:\u002F\u002Fgithub.com\u002Fmadebyollin\u002Ftaesd\u002F) and place them in the `models\u002Fvae_approx` folder. Once they're installed, restart ComfyUI and launch it with `--preview-method taesd` to enable high-quality previews.\n\n## How to use TLS\u002FSSL?\nGenerate a self-signed certificate (not appropriate for shared\u002Fproduction use) and key by running the command: `openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj \"\u002FC=XX\u002FST=StateName\u002FL=CityName\u002FO=CompanyName\u002FOU=CompanySectionName\u002FCN=CommonNameOrHostname\"`\n\nUse `--tls-keyfile key.pem --tls-certfile cert.pem` to enable TLS\u002FSSL, the app will now be accessible with `https:\u002F\u002F...` instead of `http:\u002F\u002F...`.\n\n> Note: Windows users can use [alexisrolland\u002Fdocker-openssl](https:\u002F\u002Fgithub.com\u002Falexisrolland\u002Fdocker-openssl) or one of the [3rd party binary distributions](https:\u002F\u002Fwiki.openssl.org\u002Findex.php\u002FBinaries) to run the command example above.\n\u003Cbr\u002F>\u003Cbr\u002F>If you use a container, note that the volume mount `-v` can be a relative path so `... -v \".\\:\u002Fopenssl-certs\" ...` would create the key & cert files in the current directory of your command prompt or powershell terminal.\n\n## Support and dev channel\n\n[Discord](https:\u002F\u002Fcomfy.org\u002Fdiscord): Try the #help or #feedback channels.\n\n[Matrix space: #comfyui_space:matrix.org](https:\u002F\u002Fapp.element.io\u002F#\u002Froom\u002F%23comfyui_space%3Amatrix.org) (it's like discord but open source).\n\nSee also: [https:\u002F\u002Fwww.comfy.org\u002F](https:\u002F\u002Fwww.comfy.org\u002F)\n\n## Frontend Development\n\nAs of August 15, 2024, we have transitioned to a new frontend, which is now hosted in a separate repository: [ComfyUI Frontend](https:\u002F\u002Fgithub.com\u002FComfy-Org\u002FComfyUI_frontend). This repository now hosts the compiled JS (from TS\u002FVue) under the `web\u002F` directory.\n\n### Reporting Issues and Requesting Features\n\nFor any bugs, issues, or feature requests related to the frontend, please use the [ComfyUI Frontend repository](https:\u002F\u002Fgithub.com\u002FComfy-Org\u002FComfyUI_frontend). This will help us manage and address frontend-specific concerns more efficiently.\n\n### Using the Latest Frontend\n\nThe new frontend is now the default for ComfyUI. However, please note:\n\n1. The frontend in the main ComfyUI repository is updated fortnightly.\n2. Daily releases are available in the separate frontend repository.\n\nTo use the most up-to-date frontend version:\n\n1. For the latest daily release, launch ComfyUI with this command line argument:\n\n   ```\n   --front-end-version Comfy-Org\u002FComfyUI_frontend@latest\n   ```\n\n2. For a specific version, replace `latest` with the desired version number:\n\n   ```\n   --front-end-version Comfy-Org\u002FComfyUI_frontend@1.2.2\n   ```\n\nThis approach allows you to easily switch between the stable fortnightly release and the cutting-edge daily updates, or even specific versions for testing purposes.\n\n### Accessing the Legacy Frontend\n\nIf you need to use the legacy frontend for any reason, you can access it using the following command line argument:\n\n```\n--front-end-version Comfy-Org\u002FComfyUI_legacy_frontend@latest\n```\n\nThis will use a snapshot of the legacy frontend preserved in the [ComfyUI Legacy Frontend repository](https:\u002F\u002Fgithub.com\u002FComfy-Org\u002FComfyUI_legacy_frontend).\n\n# QA\n\n### Which GPU should I buy for this?\n\n[See this page for some recommendations](https:\u002F\u002Fgithub.com\u002Fcomfyanonymous\u002FComfyUI\u002Fwiki\u002FWhich-GPU-should-I-buy-for-ComfyUI)\n","ComfyUI 是一款面向视觉专业人士的强大且模块化的AI内容创作引擎。它通过节点图界面让用户能够精细控制模型、参数和输出，支持生成图像、视频、3D模型、音频等多种内容。项目采用Python编写，并基于PyTorch框架，支持最新的开源模型以及一些闭源模型（如Nano Banana, Seedance, Hunyuan3D等）的API接入。适用于需要高度自定义AI生成内容的专业场景，如创意设计、影视特效制作等领域。ComfyUI可在Windows、Linux和macOS上本地运行或云端使用，其App模式使得复杂的工作流也能通过简单的用户界面进行操作，并能通过API端点无缝集成到生产管线中。",2,"2026-06-17 02:33:41","top_all"]