Comfy CLI for OpenClaw to run StableDiffusion workflows
Comfy CLI: Bridging OpenClaw to StableDiffusion for AI Image Generation
A developer built a CLI tool that lets OpenClaw agents manage, edit, and run ComfyUI workflows for StableDiffusion image generation. The bridge handles multiple workflows and parameter changes without requiring the agent to ingest entire workflow JSON files.
CLI Abstraction Layer for ComfyUI Workflow Management and Parameter Editing
The Comfy CLI acts as a bridge between OpenClaw and ComfyUI:
- Workflow management: List, select, and switch between saved ComfyUI workflows
- Parameter editing: Change prompt, negative prompt, steps, seed, and checkpoint without touching raw JSON
- Execution: Trigger workflow runs and monitor progress
- Output handling: Generated images are saved and accessible to the agent
The key design decision: the CLI abstracts away ComfyUI's complex JSON workflow format. The agent just says "generate an image of X with Y style" and the CLI handles the translation.
OpenClaw-to-ComfyUI Bridge for Automated Image Generation
Working OpenClaw-to-ComfyUI bridge for AI image generation. Open-sourced for the community on Reddit's r/StableDiffusion.
Open-Sourced on r/StableDiffusion
Anonymous developer, posted on r/StableDiffusion with the open-source code.