comfyui-request for Openclaw

A bridge between AI agents and ComfyUI that allows users to programmatically trigger workflows and retrieve generated image assets.

xtopher86
v1.0.0
Jan 26, 2026
2
4.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install comfyui-request

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install comfyui-request using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is comfyui-request?

The comfyui-request skill is designed to interface directly with a running ComfyUI instance, providing a standardized way to execute complex node-based generative AI workflows. By utilizing Openclaw Skills, developers can move beyond manual UI interactions and automate the generation of images by sending JSON-defined workflows to a remote or local server via simple API requests.

comfyui-request Use Cases

  • Automating high-fidelity image generation within AI-driven coding environments.
  • Integrating Stable Diffusion workflows into larger automated data pipelines.
  • Batch processing graphics using remote ComfyUI server hardware.
  • Enabling AI agents to produce visual assets as part of a multi-step creative process using Openclaw Skills.

How comfyui-request Works

  1. The user provides a structured JSON object representing a ComfyUI workflow and specifies the run action.
  2. The skill identifies the target server using the COMFYUI_HOST and COMFYUI_PORT environment variables.
  3. A POST request is initiated to the /run endpoint of the ComfyUI server.
  4. The server processes the node-based graph and generates the requested visual output.
  5. The skill captures the JSON response, extract the image URL or base64 data, and returns it to the agent.

comfyui-request Setup

To get started with this component of your Openclaw Skills library, ensure you have node and curl installed. Configure your server details in your environment or a .env file:

export COMFYUI_HOST="192.168.179.111"
export COMFYUI_PORT="28188"
# Optional: Set credentials if basic auth is enabled
export COMFYUI_USER="your_username"
export COMFYUI_PASS="your_password"

comfyui-request Data Schema & Taxonomy

The skill communicates using a specific JSON structure to ensure compatibility with ComfyUI endpoints.

Key Type Description
action string The operation to perform (e.g., "run").
workflow object A nested JSON object containing the nodes and edges of the ComfyUI graph.
response object Contains the generated image field as a URL or base64 string.

This schema ensures that Openclaw Skills can reliably parse and pass visual data between services.

comfyui-request Advanced Features

  • Support for Basic Authentication for secure remote server access.
  • Flexible configuration via environment variables for dynamic deployment environments.
  • Direct integration with node-based logic allowing for complex image manipulation via Openclaw Skills.
  • Lightweight execution model requiring minimal system overhead (Node.js and Curl).

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*