A reactflow base stable diffusion GUI as ComfyUI alternative interface.

编组
[x] 编组相关基础功能
[ ] 局部 Flow 转换为组件
节点
clone ComfyUI follow the README.md installing there
git clone https://github.com/comfyanonymous/ComfyUI
replace ComfyUI/web frontend with dist build
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])
......
$ claude mcp add kitchen-comfyui \
-- python -m otcore.mcp_server <graph>