comfyEz README

The project's README from github.com/amirrezasalimi/comfyEz. As one markdown file: README.md.

ComfyEz

ComfyEz is a modern, feature-rich web interface designed to interact with a local ComfyUI instance.

It abstracts the complex node-based graph into a sleek, professional "Playground" UI (similar to commercial AI generators) while retaining the flexibility of ComfyUI through a powerful Workflow & Node Mapping system. It also integrates LLM capabilities for prompt engineering and complex inpainting tools.

ComfyEz

✨ Key Features

🎨 Core Generation

🧠 Workflow System

🤖 AI-Powered Prompting (LLM Integration)

Integrates with OpenAI-compatible APIs (OpenRouter, OpenAI, local LLMs) to supercharge creativity:

🖌️ Advanced Inpainting

A dedicated, fully-featured inpainting editor:

⚡ Smart Queue & History

💾 Persistence


🛠️ Technology Stack


🚀 Getting Started

Prerequisites

  1. ComfyUI: You must have ComfyUI running locally.
    • Default address: http://127.0.0.1:8188
    • CORS Note: You may need to run ComfyUI with --enable-cors-header * if accessing from a different origin.
  2. Bun: You'll need Bun installed.
    • macOS & Linux:
      curl -fsSL https://bun.com/install | bash
      
    • Windows:
      powershell -c "irm bun.sh/install.ps1|iex"
      

Installation

  1. Clone the repository:

    git clone https://github.com/amirrezasalimi/comfyEz.git
    cd comfyEz
    
  2. Install dependencies:

    bun install
    
  3. Start the development server:

    bun dev
    

⚙️ Configuration

connecting to ComfyUI

  1. Click the Settings (Gear) icon in the sidebar.
  2. Set Host URL to your ComfyUI instance (e.g., http://127.0.0.1:8188).

Setting up LLM Features

  1. In Settings, enable LLM Config.
  2. API Host: Defaults to https://openrouter.ai/api/v1 (or use https://api.openai.com/v1).
  3. API Key: Enter your key (stored locally in browser).
  4. Model: Click "Fetch List" to grab available models or type one manually (e.g., google/gemini-2.0-flash, gpt-4o).

🧩 How Workflow Mapping Works

This app allows you to use any ComfyUI workflow by "mapping" generic UI controls to specific Node IDs.

  1. Open the Workflow Editor (Fork icon in sidebar).
  2. Import a ComfyUI JSON file (Save as API Format from ComfyUI).
  3. The JSON Editor on the right shows the raw graph.
  4. The Mapping Column on the right allows you to select which node corresponds to:
    • Prompt Node: Where the positive text goes.
    • Model Node: Where the checkpoint is loaded.
    • Seed/Steps/CFG: Usually the KSampler node.
    • Preview Node: The final image output node.
  5. Save the preset. The UI will now control that specific workflow.

⌨️ Shortcuts & Tips

🤝 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


🙏 Thanks

Made In AI Studio with Gemini 3

📄 License

MIT

comfyEz (amirrezasalimi/comfyEz)

Searching Database…

这是什么?一个面向本地 ComfyUI 实例的网页界面:它把节点图包装成类似商业 AI 绘图工具的那种美观的 Playground 风格界面,并增加了由大语言模型驱动的提示词工具和一个专用的局部重绘(inpainting)编辑器。
那我是要安装一个桌面应用吗?它和 ComfyUI 是怎么配合使用的?它是一个独立的 React 网页应用,由你自己运行,然后在浏览器里打开。它没有后端——直接通过 API 和你本地的 ComfyUI 通信,所有数据都保存在浏览器里。
我怎么把它跑起来?安装 Bun,克隆仓库,运行 bun install,然后启动开发服务器。在应用里打开设置(齿轮图标),把 Host URL 设置成你的 ComfyUI 实例地址。
需要提前准备好什么才能用?一个本地运行的 ComfyUI(用它的默认地址)和 Bun。如果你从不同的源(域名/端口)打开这个界面,需要用 --enable-cors-header 参数启动 ComfyUI,否则浏览器会拦截请求。
我现有的 ComfyUI 工作流能用吗?可以——导入任何以 ComfyUI 的 API 格式保存的工作流 JSON,就能在不改代码的情况下把界面控件(提示词、checkpoint、KSampler 的 seed/steps/CFG、预览)映射到对应的节点 ID。SDXL、SD1.5、Flux 以及自定义工作流映射好之后都能用。
我生成的图片和 API 密钥会被存到哪里?不会传到任何外部地方:图片、历史记录和队列状态都存在你浏览器的 IndexedDB 里,偏好设置、工作流选择和 API 密钥则存在 localStorage 里。全程不涉及任何外部数据库。
刷新页面之后,我的生成队列还在吗?在——队列保存在 IndexedDB 里,刷新之后应用会自动恢复对等待中任务的进度查询。你还可以对队列项目重新排序、删除或一键清空。
历史记录里喜欢的图,我能重新生成一张一样的吗?可以,用 Remix 功能:点击任意一条历史记录,就能立刻恢复生成它时所用的全部参数、工作流和种子,每张图片都完整保留了元数据。
支持同时叠加多个 LoRA 吗?支持——LoRA 可以动态加载并叠加使用,后端会自动在工作流中把它们各自的 Model 和 CLIP 节点依次串联起来。
它能放大输出的图片吗?可以,放大功能可以开关,提供 Lanczos、Bicubic 等方法,还能自定义放大倍数。
Size
0.9 MB
Stars
77
Updated
CommitDec 10
Age
10mo
Commits · 90 Days