Skip to content
canisminor1990 edited this page Apr 8, 2023 · 2 revisions

Kitchen ComfyUI

A reactflow base stable diffusion GUI as ComfyUI alternative interface.


🔨 TODO List

  • 键盘快捷键

    • Delete: Delete / Backspace
    • Multi Selection: Shift
    • Copy/Paste: Ctrl + C / V
    • Group Selection: Ctrl + G
    • Undo/Redo: Ctrl + Z / Ctrl + Shift + Z
  • 图片节点

    • 图片节点上传适配
    • 拖拽图片自动上传并生成节点
  • 编组

    • 编组相关基础功能
    • 局部 Flow 转换为组件
  • 节点

    • 中继节点,支持一个到多个变量中继
    • WIFI 无线节点,输出节点/接受节点
    • 开关节点,控制流程是否往下
    • ...

📦 Installation

clone ComfyUI follow the README.md installing there

git clone https://github.com/comfyanonymous/ComfyUI

replace ComfyUI/web frontend with dist build


⌨️ Development

place this repo anywhere, and edit ComfyUI/server.py

check assets/modify-server.py

@web.middleware
async def cors_handler(request: web.Request, handler):
    response = await handler(request)
    response.headers['Access-Control-Allow-Origin'] = '*'
    response.headers['Access-Control-Allow-Methods'] = 'POST, GET, OPTIONS'
    response.headers['Access-Control-Allow-Headers'] = 'Content-Type, Authorization, x-requested-with'
    return response
class PromptServer():
......
    self.app = web.Application(client_max_size=20971520, middlewares=[cache_control, cors_handler])
......

🔗 Credits