OpenClaw · Skill
comfyui
Send a workflow request to a running ComfyUI instance and return the generated image URL or base64 data.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install xtopher86/comfyui-requestClawHub installer
npx clawhub@latest install xtopher86/comfyui-requestOpenClaw CLI
openclaw skills install xtopher86/comfyui-requestDirect OpenClaw install
openclaw install xtopher86/comfyui-requestWhat this skill does
Send a workflow request to a running ComfyUI instance and return the generated image URL or base64 data.
Why it matters
Lets agents drive ComfyUI image generation without manual UI interaction, making it composable with other automated steps.
Typical use cases
- Triggering image generation from an AI agent conversation
- Automating batch image workflows without opening the ComfyUI UI
- Integrating ComfyUI output into a larger multi-step pipeline
- Testing workflow JSON changes programmatically
- Retrieving generated images for downstream processing or storage
Source instructions
comfyui-request
Purpose
Send a workflow request to a running ComfyUI instance and return the generated image URL or base64 data.
Configuration
COMFYUI_HOST: Host/IP of the ComfyUI server (default192.168.179.111).COMFYUI_PORT: Port of the ComfyUI server (default28188).COMFYUI_USER: Optional username for basic auth.COMFYUI_PASS: Optional password for basic auth.
These can be set via environment variables or a .env file in the skill directory.
Usage
{
"action": "run",
"workflow": { ... } // JSON workflow object
}
The skill will POST to http://{host}:{port}/run and return the response JSON.
Example
{
"action": "run",
"workflow": {
"nodes": [ ... ],
"edges": [ ... ]
}
}
Notes
The skill expects the ComfyUI server to expose the /run endpoint and return a JSON object containing an image field with a URL or base64 string.