## See ComfyUI-Copilot in Action

Your browser doesn't support HTML5 video. Here is a link to the video instead.

## 🎉 Major Update v2.0

Evolving into a Workflow Development Coworker

ComfyUI-Copilot v2.0 evolves from a "helper tool" into a "development partner"—not just assisting with workflow development, but capable of autonomously completing development tasks.

### 🔧 One-Click Debug

Automatically detects errors in your workflow, precisely identifies issues, and provides repair suggestions.

### 🔄 Workflow Rewriting

Optimizes the current workflow based on your description, such as adjusting parameters, adding nodes, and improving logic.

### 🚀 Enhanced Generation

Understands your requirements more accurately and generates tailored workflows, lowering the barrier to entry for beginners.

### 🧠 Upgraded Architecture

Now aware of your local ComfyUI environment, Copilot delivers optimized, personalized solutions.

## 🔥 Core Features

Comprehensive support for your ComfyUI workflow development

### 💎 Generate First Version Workflow

Based on your text description, we provide workflows that meet your needs, returning 3 high-quality workflows from our library and 1 AI-generated workflow. You can import them into ComfyUI with one click to start generating images.

Usage: Simply type "I want a workflow for xxx."

### 💎 Workflow Debug

Automatically analyze errors in workflows, help you fix parameter errors and workflow connection errors, and provide optimization suggestions. Includes automatic model download suggestions.

Usage: Click the Debug button in the upper right corner of the input box.

### 💎 Workflow Rewriting

Tell us what you're not satisfied with, and let us help you modify the workflow, add nodes, modify parameters, and optimize workflow structure.

Usage: Type "Help me add xxx to the current canvas."

### 💎 Parameter Tuning

Set parameter ranges, and the system will automatically batch execute different parameter combinations and generate visual comparison results to help you find the optimal configuration.

Usage: Switch to the GenLab tab and follow the guidance.

### 💎 Node Recommendations

Based on your description, recommend nodes you might need and provide recommendation reasons.

Usage: Type "I want a node for xxx."

### 💎 Node Query System

Select a node on the canvas, click the node query button to explore the node in depth, view its description, parameter definitions, usage tips, and downstream workflow recommendations.

Usage: Type "What's the usage, input and output of node xxx."

### 💎 Model Recommendations

Based on your text requirements, Copilot helps you find base models and LoRA models that suit your needs.

Usage: Type "I want a Lora that generates xxx images."

### 💎 Downstream Node Recommendations

After you select a node on the canvas, based on the existing nodes on your canvas, recommend downstream subgraphs you might need.

Usage: Select a node and get intelligent recommendations.

## 🚀 Getting Started

Easy installation in just a few steps

1

### Clone Repository

Clone ComfyUI-Copilot in the ComfyUI custom_nodes directory:

cd ComfyUI/custom_nodes
git clone https://github.com/AIDC-AI/ComfyUI-Copilot
2

### Install Dependencies

Install the required dependencies:

cd ComfyUI/custom_nodes/ComfyUI-Copilot
pip install -r requirements.txt

For Windows users:

python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-Copilot\requirements.txt
3

### Activate Copilot

After running ComfyUI, find the Copilot activation button on the left side of the panel to launch its service.

4

### Generate API Key

Click the * button, enter your email address, and the API Key will be automatically sent to your email address. Paste it into the input box and click save to activate Copilot.

### Alternative: ComfyUI Manager

Open ComfyUI Manager, click on Custom Nodes Manager, search for ComfyUI-Copilot, and click the install button. Remember to update to the latest version.

Note: The Manager requires permissions. Run ComfyUI with "sudo python main.py" to prevent errors.

## 📞 Contact Us

For any queries or suggestions, feel free to reach out!

Email: ComfyUI-Copilot@service.alibaba.com

### WeChat

### Discord