Files
2025-08-13 14:40:55 +08:00

9.0 KiB
Raw Permalink Blame History

中文 | English

🎯 ComfyUI-Copilot: Your Intelligent Assistant for Comfy-UI

Version License Stars Issues Python

👾 Alibaba International Digital Commerce 👾

:octocat: Github

https://github.com/user-attachments/assets/0372faf4-eb64-4aad-82e6-5fd69f349c2c

🌟 Introduction

When it comes to the Swiss Army knife of AI art generation, ComfyUI absolutely deserves the spotlight. This powerful open-source image generation tool provides low-code AI algorithm debugging and deployment capabilities, enabling rapid generation of rich content including text, images, and audio. It transforms your "idle graphics card" into an instant art workshop, truly leaving clients speechless and designers in tears...

But! Here's the catch!

When you enthusiastically open the ComfyUI interface, you're often hit with a soul-crushing reality: ❌ Error messages more cryptic than Morse code ❌ Node connections more complex than spider webs
❌ Parameter adjustments harder to figure out than your girlfriend's mood ❌ Finally getting a workflow file from an expert, only to open it and find:

Let ComfyUI-Copilot save you! Use natural language conversations to complete AI image generation development in ComfyUI - beginners can get started in 5 minutes, experts can double their efficiency!

ComfyUI-Copilot provides comprehensive support for your tedious ComfyUI workflow building, workflow debugging, workflow optimization and iteration processes! It offers intuitive workflow generation, workflow debugging, workflow tuning and modification, batch parameter exploration, and various auxiliary workflow building tools (node recommendations and introductions, model recommendations, downstream subgraph recommendations), making it the Cursor of the ComfyUI world.

Compared to the previous version, ComfyUI-Copilot has evolved from assisting you in workflow development to replacing you in the development process, upgrading from an auxiliary tool to a workflow development assistant.

Whether it's generating text, images, or audio, ComfyUI-Copilot offers intuitive node recommendations, workflow building aids, and model querying services to streamline your development process.

Compared to the previous version, ComfyUI-Copilot has evolved from assisting you in workflow development to replacing you in the development process, upgrading from an auxiliary tool to a workflow development assistant. Here are the core new features of v2.0:

  • Added workflow Debug functionality that can automatically analyze errors in workflows and provide repair suggestions
  • Added workflow rewriting functionality that can optimize current workflow structure and modify parameters to add nodes based on your description
  • Optimized AI workflow generation capability that can generate workflows that meet your needs based on your requirements
  • Architecture upgraded to MCP structure, which can perceive your local ComfyUI environment installation status to provide optimal solutions

🔥 Core Features (V2.0.0)

    1. 💎 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.
    • Simply type in the input box: I want a workflow for xxx
    1. 💎 Workflow Debug: Automatically analyze errors in workflows, help you fix parameter errors and workflow connection errors, and provide optimization suggestions.
    • Among the 4 workflows returned above, when you select one and click Accept, it will be imported into the ComfyUI canvas. At this time, you can click the Debug button to start debugging.
    • There is a Debug button in the upper right corner of the input box. Click it to directly debug the workflow on the current canvas.
    1. 💎 Unsatisfied with Previous Workflow Results?: Tell us what you're not satisfied with, and let us help you modify the workflow, add nodes, modify parameters, and optimize workflow structure.
    • Type in the input box: Help me add xxx to the current canvas
    1. 💎 Parameter Tuning Too Painful?: We provide parameter tuning tools. You can set parameter ranges, and the system will automatically batch execute different parameter combinations and generate visual comparison results to help you quickly find the optimal parameter configuration.
    • Switch to the GenLab tab and follow the guidance. Note that the workflow must be able to run normally at this time to batch generate and evaluate parameters.

Want ComfyUI-Copilot to assist you in workflow development?

    1. 💎 Node Recommendations: Based on your description, recommend nodes you might need and provide recommendation reasons.
    • Type in the input box: I want a workflow for xxx
    1. 💎 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.
    • Type in the input box: I want a node for xxx
    1. 💎 Model Recommendations: Based on your text requirements, Copilot helps you find base models and 'lora'.
    • Type in the input box: I want a Lora that generates xxx images
    1. 💎 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.

🚀 Getting Started

Repository Overview: Visit the GitHub Repository to access the complete codebase.

Installation

  1. Use git to install ComfyUI-Copilot in the ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes
git clone git@github.com:AIDC-AI/ComfyUI-Copilot.git

or

cd ComfyUI/custom_nodes
git clone https://github.com/AIDC-AI/ComfyUI-Copilot
  1. In the ComfyUI custom_nodes directory, find the ComfyUI-Copilot directory and install ComfyUI-Copilot dependencies
cd ComfyUI/custom_nodes/ComfyUI-Copilot
pip install -r requirements.txt

If you are a Windows user:

python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-Copilot\requirements.txt
  1. (To be supported later) Using ComfyUI Manager: Open ComfyUI Manager, click on Custom Nodes Manager, search for ComfyUI-Copilot, and click the install button.

Activation

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

API Key Generation

Click the * button, enter your email address in the popup window, and the API Key will be automatically sent to your email address later. After receiving the API Key, paste it into the input box, click the save button, and you can activate Copilot.

Note:

This project is continuously updated. Please update to the latest code to get new features. You can use git pull to get the latest code, or click "Update" in the ComfyUI Manager plugin.


🤝 Contributions

We welcome any form of contribution! Feel free to make issues, pull requests, or suggest new features.


📞 Contact Us

For any queries or suggestions, please feel free to contact: ComfyUI-Copilot@service.alibaba.com.

WeChat

Discord

📚 License

This project is licensed under the MIT License - see the LICENSE file for details.


Star History

Star History Chart