ComfyMind: Toward General-Purpose Generation via Tree-Based Planning and Reactive Feedback

Li-Tao Guo, Xinli Xu, Luo-Zhou Wang, Jian-Tao Lin, Jin-Song Zhou +3 more
5/1/2025
18 citations

Official code: EnVision-Research/ComfyMind (120 stars).

Abstract

With the rapid advancement of generative models, general-purpose generation has gained increasing attention as a promising approach to unify diverse tasks across modalities within a single system. Despite this progress, existing open-source frameworks often remain fragile and struggle to support complex real-world applications due to the lack of structured workflow planning and execution-level feedback.

Show full abstract

To address these limitations, we present ComfyMind, a collaborative AI system designed to enable robust and scalable general-purpose generation, built on the ComfyUI platform. ComfyMind introduces two core innovations: Semantic Workflow Interface (SWI) that abstracts low-level node graphs into callable functional modules described in natural language, enabling high-level composition and reducing structural errors; Search Tree Planning mechanism with localized feedback execution, which models generation as a hierarchical decision process and allows adaptive correction at each stage. Together, these components improve the stability and flexibility of complex generative workflows. We evaluate ComfyMind on three public benchmarks: ComfyBench, GenEval, and Reason-Edit, which span generation, editing, and reasoning tasks. Results show that ComfyMind consistently outperforms existing open-source baselines and achieves performance comparable to GPT-Image-1. ComfyMind paves a promising path for the development of open-source general-purpose generative AI systems. Project page: https://github.com/LitaoGuo/ComfyMind

View on arXivView PDF

Code Implementations(1)

ComfyMind: Toward General-Purpose Generation via Tree-Based Planning and Reactive Feedback

1204

Similar Papers

Cite this paper

@article{guo2025comfymind,
  title  = {ComfyMind: Toward General-Purpose Generation via Tree-Based Planning and Reactive Feedback},
  author = {Li-Tao Guo and Xinli Xu and Luo-Zhou Wang and Jian-Tao Lin and Jin-Song Zhou and Zi-Xin Zhang and Bolan Su and Ying-Cong Chen},
  year   = {2025},
  eprint = {2505.17908},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.17908},
  url    = {https://doi.org/10.48550/arXiv.2505.17908},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.17908.svg)](https://codeofpaper.com/paper/2505.17908)

Discussion