快速开始

Generate your first AI image with ComfyUI. Learn to load example workflows, install models, and complete your first text-to-image generation.

This guide is intended for local users running ComfyUI on their own device. If you'd prefer not to install anything locally, try our official cloud service instead.

Run ComfyUI online with zero setup. Sign in with Google to get 400 free credits every month.

This guide aims to help you understand ComfyUI's basic operations and complete your first image generation. We'll cover:

  1. Loading example workflows
  2. Loading from ComfyUI's workflow templates
  3. Loading from images with workflow metadata
  4. Model installation guidance
  5. Automatic model installation
  6. Manual model installation
  7. Completing your first text-to-image generation

About Text-to-Image

Text-to-Image is a fundamental AI drawing feature that generates images from text descriptions. It's one of the most commonly used functions in AI art generation. You can think of the process as telling your requirements (positive and negative prompts) to an artist (the drawing model), who will then create what you want. Detailed explanations about text-to-image will be covered in the Text to Image chapter.

ComfyUI Text-to-Image Workflow Tutorial

1. Launch ComfyUI

Make sure you've followed the installation guide to start ComfyUI and can successfully enter the ComfyUI interface. Alternatively, you can use Comfy Cloud to use ComfyUI without any installation.

<img alt="ComfyUI Interface" />

If you have not installed ComfyUI, please choose a suitable version to install based on your device.

<AccordionGroup>

Comfy Desktop supports standalone installation on **Windows**, **macOS (Apple Silicon)**, and **Linux** (AppImage and `.deb`).

* Source is on [GitHub](https://github.com/Comfy-Org/Comfy-Desktop)


  Desktop installs track the **stable** ComfyUI release by default. If you want every latest commit, use the portable version or a manual git install, or switch the instance update channel to **Latest on GitHub**.


You can choose the appropriate installation for your system and hardware below




      Suitable for **Windows** 10 or later. NVIDIA or AMD GPU recommended.





      Suitable for macOS with **Apple Silicon**





      Install the AppImage or `.deb`, or build and run from source.






Portable version is a ComfyUI version that integrates an independent embedded Python environment, using the portable version you can experience the latest features, currently only supports **Windows** system


  Supports **Windows** ComfyUI version running on **Nvidia GPUs** or **CPU-only**, always use the latest commits and completely portable.





  Supports all system types and GPU types (Nvidia, AMD, Intel, Apple Silicon, Ascend NPU, Cambricon MLU)

</AccordionGroup>

2. Load Default Text-to-Image Workflow

ComfyUI usually loads the default text-to-image workflow automatically when launched. However, you can try different methods to load workflows to familiarize yourself with ComfyUI's basic operations:

All images generated by ComfyUI contain metadata including workflow information. You can load workflows by:

* Dragging and dropping a ComfyUI-generated image into the interface
* Using menu **Workflows** -> **Open** to open an image

Try loading the workflow using this example image:
![ComfyUI-Text to Image Workflow](https://raw.githubusercontent.com/Comfy-Org/example_workflows/refs/heads/main/text-to-image-workflow.png)



ComfyUI workflows can be stored in JSON format. You can export workflows using menu **Workflows** -> **Export**.

Try downloading and loading this example workflow:

[https://github.com/Comfy-Org/docs/blob/main/public/text-to-image.json](
  &lt;p>Download text-to-image.json&lt;/p>
)

After downloading, use menu **Workflows** -> **Open** to load the JSON file.

3. Model Installation

Most ComfyUI installations don't include base models by default. After loading the workflow, if you don't have the v1-5-pruned-emaonly-fp16.safetensors model installed, you'll see this prompt:

First, ComfyUI will warn you that some models are missing:

<img alt="Missing models warning" />

Click the warning to see which model is missing and the download link:

<img alt="Missing model details" />

By default, models are stored in <your ComfyUI installation>/ComfyUI/models/ with subfolders like checkpoints, embeddings, vae, lora, upscale_model, etc. ComfyUI detects models in these folders and paths configured in extra_model_paths.yaml at startup.

Click the capsule menu at the top of the desktop app, then open the **Storage** tab to check your model directories. The capsule only exists in the desktop app, not when ComfyUI runs in a browser. Click the folder icon next to a directory to open it in your file manager.

&lt;img alt="Comfy Desktop capsule menu: Storage tab showing model directory settings" />



For the portable version, the models folder is usually located at:

`ComfyUI_windows_portable/ComfyUI/models/`

You can install models through:

After you click the **Download** button, ComfyUI will execute the download, and different behaviors will be performed depending on the version you are using.



    The desktop version will automatically complete the model download and save it to the `<your ComfyUI installation location>/ComfyUI/models/checkpoints` directory.
    You can wait for the installation to complete or view the installation progress in the model panel on the sidebar.

    &lt;img alt="Model Download Progress" />


      Automatic downloads typically fetch models from **Hugging Face**. Make sure your network can reliably reach Hugging Face.

      If the download **does not start** or shows **no progress for a long time**, copy the model link from the missing-model details (or use the manual installation section below) and install the model manually.




    The browser will execute file downloads. Please save the file to the `<your ComfyUI installation location>/ComfyUI_windows_portable/ComfyUI/models/checkpoints` directory after the download is complete.





Visit [v1-5-pruned-emaonly-fp16.safetensors](https://huggingface.co/Comfy-Org/stable-diffusion-v1-5-archive/blob/main/v1-5-pruned-emaonly-fp16.safetensors) and follow this guide:

&lt;img alt="Hugging Face Model Download" />

Save the downloaded file to:



    Save to `<your ComfyUI installation>/ComfyUI/models/checkpoints`

    &lt;img alt="Comfy Desktop Model Save Location" />



    Save to `ComfyUI_windows_portable/ComfyUI/models/checkpoints`

    &lt;img alt="ComfyUI Portable Model Save Location" />



Refresh or restart ComfyUI after saving.

4. Load Model and Generate Your First Image

After you install or update models, press R on your keyboard to refresh object definitions and update model lists in nodes (for example, the dropdown in Load Checkpoint). Then continue with the steps below:

<img alt="Run workflow" />

  1. In the Load Checkpoint node, ensure v1-5-pruned-emaonly-fp16.safetensors is selected
  2. Click Run or press Ctrl + Enter to generate

The result will appear in the Save Image node. Right-click to save locally.

<img alt="ComfyUI First Image Generation Result" />

For detailed text-to-image instructions, see our comprehensive guide:

Click here for detailed text-to-image workflow instructions

Troubleshooting

Model Loading Issues

If the Load Checkpoint node shows no models or displays "null", verify your model installation location and try refreshing or restarting ComfyUI.


Run ComfyUI workflows online with Comfy Cloud, the official cloud platform powered by NVIDIA RTX 6000 Pro GPUs. No local installation required.

Click here to access ComfyUI Cloud directly

What is Comfy Cloud?

ComfyUI Cloud is the cloud version of ComfyUI with the same features as the local version. Everything is pre-installed and ready to use.

Key features

No installation required. All models and custom nodes are pre-installed and ready to use



Run workflows fast on our powerful server GPUs without needing your own hardware



Automatically stays current with the latest ComfyUI releases and features



Use ComfyUI from any device with an internet connection - no local installation needed



Create team workspaces to collaborate with your team members. Share subscription plans, credits, and workflows.

Cloud vs local

ComfyUI offers both an official cloud version, Comfy Cloud, and an open-source self-hosted version. If you have a powerful GPU, running ComfyUI locally is a great option. The cloud version, on the other hand, is an online service that's ready to use instantly—simply open the URL, no installation or setup required.

Category Comfy Cloud Self-hosted (local ComfyUI)
Cost Free tier and paid subscription plans Free
GPU Powerful Blackwell RTX 6000 Pros Bring your own GPU
Technical Knowledge No technical knowledge required. While desktop and portable give you easy ways to get started, you'll need to troubleshoot custom node installations and local installation issues.
Custom Nodes Use pre-installed custom nodes and never worry about compatibility issues. Install any custom node you want, but you'll need to manage it yourself.
Models Use pre-installed models. Import models from Civitai and Hugging Face. Use any models you want, but you'll need to download them first.
Notable Differences Easy to onboard your team with Workspaces Works offline, infinitely customizable
Get started Run ComfyUI Cloud Install ComfyUI locally

Pricing and subscription

View pricing and subscription options for Comfy Cloud

Comfy Cloud firewall allowlist

Allow outbound HTTPS and WebSocket traffic on TCP 443 to:

  • App: cloud.comfy.org, api.comfy.org, cdn.comfy.org
  • Uploads and outputs: comfy-hub-assets.comfy.org, storage.googleapis.com
  • Sign-in: dreamboothy.firebaseapp.com, identitytoolkit.googleapis.com, securetoken.googleapis.com, apis.google.com, challenges.cloudflare.com
  • Other features: registry.comfy.org, *.algolia.net, media.comfy.org

How to use ComfyUI Cloud

Using ComfyUI Cloud is essentially the same as using your local ComfyUI. If this is your first time using ComfyUI, here are some quick tips to get started:

Click the template icon in the left sidebar to browse available workflows.

&lt;img alt="Open workflow template" />



Click on the template you want to run.

&lt;img alt="Select workflow template" />



1. In the loaded workflow, since we have pre-installed all models in the cloud version, all templates are ready to run immediately after loading.
2. If you need to make updates, you only need to provide image inputs or text prompts. Check the `Load Image` node or `CLIP Text Encode` node.
   &lt;img alt="Check inputs" />



If everything is correct, click the "Run" icon or use the shortcut "Ctrl + Enter" to run the workflow.

&lt;img alt="Run workflow" />



After clicking run, our service will start allocating a machine for your workflow. You can check the execution status of the corresponding workflow in the queue panel.

&lt;img alt="View queue" />



After the workflow execution is complete, you can save the generated content locally. Depending on the asset type, the save method is as follows:



    In the queue panel or on the save image node, right-click on the generated image and select "Save image" to save the image locally.

    &lt;img alt="Save image assets" />



    In the queue panel or on the save video node:

    1. Click the three dots on the browser player component to open the menu
    2. Select "Download" to save the video locally.

       &lt;img alt="Save video assets" />



    In the queue panel or on the save audio node:

    1. Click the three dots on the browser player component to open the menu
    2. Select "Download" to save the audio file locally.

       &lt;img alt="Save audio assets" />



    In the 3D browser node menu, select the "Export" option, choose the format you want to save, and the 3D file will be saved locally.

    &lt;img alt="Save 3D assets" />

Feedback

If you have any thoughts, suggestions, or run into any issues, simply click the "Feedback" icon. This will directly send your feedback to us.

<img alt="Feedback" />

How to Stop/Exit Comfy Cloud

Cloud sessions only bill you while the GPU is actively running. When you close the browser tab, the session stops automatically — you can close it anytime, just like a regular browser tab.

Frequently Asked Questions

View frequently asked questions and answers about Comfy Cloud, including pricing, features, limitations, and more

Next steps

Programmatically run workflows via the Cloud API



Explore tutorials to learn ComfyUI workflows



Join our Discord community for help