rookiestar28/ComfyUI-OpenClaw

Your own personal AIGC Factory. Any picture. Any reel. The Comfy way. ©️

What it solves

ComfyUI itself lacks secure remote control and automation APIs, making it risky to expose or integrate into production workflows. ComfyUI-OpenClaw fills that gap by adding a hardened orchestration layer: it lets you schedule runs, trigger via webhooks, approve actions, and connect to chat platforms, all with fail-closed security defaults so you can use ComfyUI reliably outside a local-only setup.

How it works

It runs as a ComfyUI custom node pack that loads into the same Python process. The pack registers its own routes (like /openclaw/*) alongside ComfyUI's native ones, adds security modules (RBAC, CSRF, HMAC, SSRF checks), and exposes both an embedded sidebar UI and a standalone remote admin page. Automation works through a secure HTTP API that supports approvals, schedules, presets, and webhooks. An optional sidecar process connects to messaging platforms (Discord, Telegram, WhatsApp, etc.) and calls the OpenClaw API. Configuration is done via environment variables (LLM keys, admin token, auth modes) and a server-side secret store, with a localhost-only convenience mode when no admin token is set.

Who it’s for

It's for ComfyUI users who want to automate image-generation workflows, control ComfyUI from a phone or remote browser, or integrate with chat platforms — especially those who need these capabilities in shared or public deployments where security and explicit trust boundaries matter. The LLM-assisted nodes (planner, refiner, vision) also benefit users who want AI-guided workflow decisions.

Highlights

  • Security-first design: webhooks are deny-by-default until auth is configured, admin actions are limited to localhost unless explicitly enabled, and outbound calls are protected against SSRF.
  • LLM-assisted nodes: planner, refiner, vision/image-to-prompt, and batch variants help guide workflows using LLMs from providers like Ollama or LM Studio.
  • Remote Admin Console: a separate mobile-friendly UI at /openclaw/admin for managing and monitoring ComfyUI from any device.
  • Messaging connectors: sidecar support for Discord, Telegram, WhatsApp, LINE, WeChat, KakaoTalk, Slack, and Feishu/Lark, enabling remote commands and scheduled result deliveries.
  • Hardened automation APIs: webhooks, triggers, schedules, approvals, presets, rewrite recipes, and a model manager, all with replay protection and allowlist policies.
  • Verification-first hardening: CI-parity checks, route drift detection, adversarial fuzz/mutation gates, and audit chain verification are built into the project.

Related

  • Project
  • Project
  • Project
  • Project
  • Project