April 3, 2024|3 min reading
Stable Diffusion ComfyUI SDXL Setup
To get started with Stable Diffusion using ComfyUI SDXL, follow these steps for a seamless setup. Make sure you've already downloaded Stable Diffusion.
1. Pre-Download Requirements
Before proceeding, ensure you have the following installed on your system:
2. Download ComfyUI
If you are using Windows with an NVIDIA GPU, head directly to the 7-Zip download.
Download ComfyUI from the official repository here.
On the GitHub page, look for a "Code" button. It's usually a green button located towards the top-right of the page. Click on it.
In the dropdown menu that appears, you have a few options:
- If you are familiar with Git, you can clone the repository using the provided URL.
- If you prefer to download a zip file, click on the "Download ZIP" option. This will download a compressed archive of the repository to your computer.
The GitHub repository for ComfyUI is well-crafted. In case of any issues during installation, it's recommended to consult the README, which provides detailed installation instructions for various operating systems, including macOS and Linux.
Great job so far! Now, let's set up ComfyUI.
3. Set Up The Models
Set your models by placing them directly in this path within the ComfyUI directory:
ComfyUI_windows_portable\ComfyUI\models\checkpoints
If you don't have a model, download one from Civit AI.
4. Configure Paths
Important: Navigate back to the root folder and locate the file named extra_model_paths.yaml.example. Remove the ".example" extension from the file name. Next, open extra_model_paths.yaml (you can use Notepad for this) and configure the paths for Stable Diffusion and the models. You have the option to either set a path to a pre-existing models in the stable diffusion folder (set in the stable diffusion guide) or utilize the models that we set just before in comfyUI.
Route to the AI generator:
base_path: C:/xxxx/path/to/stable-diffusion-webui/
models:
checkpoints: C:/xxxxxx/models/Stable-diffusion
5. Run ComfyUI
To run ComfyUI, navigate to the root folder in ComfyUI_windows_portable and execute:
- For CPU: Run run_cpu
- For NVIDIA GPU: Run run_nvidia_gpu
That's it! You've successfully set up ComfyUI SDXL with Stable Diffusion. Start generating and exploring creative possibilities.
Bonus: Don't forget to use the correct ckpt in the load checkpoints part
published by
@Listmyai
Explore more
Introducing OpenAI o1: Next-Gen Reasoning Models
Discover how OpenAI o1 models revolutionize problem-solving through deep reasoning, coding, and scientific advancements.
Revolutionize Your Frontend Development with V0: The AI-Powered Tool for Generating Tailwind CSS Components
Revolutionize frontend development with V0, an AI tool that generates reusable Tailwind CSS components, speeding up your...
The 10 Best AI Writing Tools to Try in 2024
Discover the top 10 AI writing tools tested manually in 2024. Enhance your content creation with these powerful AI writi...