agentCLAWHUBUnverified

Openclaw Comfyui Api Runner

Safe ComfyUI image generation. Use saved or ad-hoc server profiles, paste/upload raw workflow JSON, submit, poll, and serve downloaded outputs locally.

OpenClaw

Rank

62

Safety

84

Downloads

954

Updated

Oct 12, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 954 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 12, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 12, 2026
Adoption signal
954 downloadsadoption · observed Oct 12, 2026
Latest release
1.0.0release · observed Apr 23, 2026
Handshake status
UNKNOWNsecurity

What changed

Newest first. Only changes that point at a source are listed.

  • Release 1.0.0release

    Initial release of comfyui-safe-connector, a safe ComfyUI image generation runner. - Supports saving and managing multiple ComfyUI server profiles. - Accepts workflows as pasted JSON, uploaded files, stdin, or built-in templates. - Submits and polls workflow jobs, downloading all output images to a local directory. - Provides output file paths and browser view URLs in the result JSON. - Prioritizes safe handling by parsing JSON only and not interpolating shell input.

    Observed Apr 23, 2026 · source

Install and run

Setup complexity: low.

clawhub skill install s172yhaxa2mvn5n0h9mgjxszyd83r09e:openclaw-comfyui-api-runner
  1. Install using `clawhub skill install s172yhaxa2mvn5n0h9mgjxszyd83r09e:openclaw-comfyui-api-runner` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/genortg/openclaw-comfyui-api-runner before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-genortg-openclaw-comfyui-api-runner/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

20,748 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: comfyui-safe-connector
description: Safe ComfyUI image generation. Use saved or ad-hoc server profiles, paste/upload raw workflow JSON, submit, poll, and serve downloaded outputs locally.
metadata: {"openclaw":{"emoji":"🖼️","requires":{"anyBins":["python3"]},"primaryEnv":"COMFYUI_API_KEY","skillKey":"comfyui-safe-connector"}}
user-invocable: true
allowed-tools: exec read
---

# ComfyUI Safe Connector

Small safe runner for ComfyUI.

## What it does
- Connects to a remembered server profile or ad-hoc connection settings
- Accepts a workflow as a pasted JSON string, uploaded file, stdin, or built-in template
- Submits the workflow to ComfyUI
- Polls until done and downloads **all** output images
- Saves images under `generated/`
- Returns downloaded file paths and browser view URLs for each output

## Workflow keywords
Saved workflows can include keywords in their `.meta.json`. Use the keyword, not the prompt, to pick the right template.

Examples:
- `IL-Ikastrious` → `anime`, `cartoon`, `illustration`, `ikastrious`
- use for anime/cartoon image requests

## Main command
Run from the skill root:

```bash
./comfy.sh --health
./comfy.sh --list-profiles
./comfy.sh --save-profile home --base-url http://127.0.0.1 --port 8188
./comfy.sh --gen --workflow-file /path/to/workflow.json
./comfy.sh --gen --workflow-stdin < workflow.json
./comfy.sh --gen --workflow-json '{...json...}'
./comfy.sh --poll <prompt_id>
./comfy.sh --watch <prompt_id>
```

`comfy.sh` is the supported entrypoint (instead of calling the Python runner directly).

## Server profiles
Profiles live in:

`~/.config/openclaw/comfyui-runner.json`

Supported fields:
- `servers` (list of server entries)
- `base_url`
- `port`
- `api_key`
- `username`
- `password`
- `default_server`
- `default_workflow`

Use:
- `--profile NAME` to use one for this run
- `--save-profile NAME` to remember the current connection
- `--set-profile NAME` to make a saved profile active
- `--set-default-server NAME` to set the default server
- `--set-default-workflow NAME` to set the default workflow
- `--delete-profile NAME` to remove one

Env vars override saved profiles:
- `COMFYUI_PROFILE`
- `COMFYUI_BASE_URL`
- `COMFYUI_PORT`
- `COMFYUI_API_KEY`
- `COMFYUI_USERNAME`
- `COMFYUI_PASSWORD`

## Workflow input
Preferred for this skill:
- `--workflow-file` for uploaded JSON files
- `--workflow-stdin` for pasted JSON
- `--workflow-json` for direct JSON strings

Built-in templates still work via the positional template id, but raw JSON is the default safe path.
If a keyword matches exactly one saved workflow, you can pass the keyword instead of the template id.

## Output
- `poll` / `watch` write downloaded files to `generated/`
- return JSON includes `view_url`, `local_path`, and `outputs[]`
- image files can be sent directly into Discord or another channel if you want delivery there
- server profiles are remembered in `~/.config/openclaw/comfyui-runner.json`

## Safety
- No shell interpolation of workflow content

_meta.json

{
  "ownerId": "kn7268msn49z4pk9k7vt791rqx82aza9",
  "slug": "openclaw-comfyui-api-runner",
  "version": "1.0.0",
  "publishedAt": 1776936816721
}

references/CONFIG.md

# ComfyUI Safe Connector - Configuration

Connection settings are stored in a small user config file:

`~/.config/openclaw/comfyui-runner.json`

## Schema

```json
{
  "active_profile": "home",
  "profiles": {
    "home": {
      "base_url": "http://127.0.0.1",
      "port": 8188,
      "api_key": "optional",
      "username": "optional",
      "password": "optional"
    }
  }
}
```

## Env overrides

- `COMFYUI_PROFILE`
- `COMFYUI_BASE_URL`
- `COMFYUI_PORT`
- `COMFYUI_API_KEY`
- `COMFYUI_USERNAME`
- `COMFYUI_PASSWORD`

## CLI

```bash
./comfy.sh --list-profiles
./comfy.sh --save-profile home --base-url http://127.0.0.1 --port 8188
./comfy.sh --profile home --health
```

## Notes

- `base_url` can include the scheme, for example `http://127.0.0.1` or `https://host`.
- If `base_url` already contains a port, `port` is ignored.
- API key is optional.
- Basic auth is optional.
- No local viewer is required. The runner returns downloadable files and browser view URLs instead.

references/ENDPOINTS.md

# ComfyUI Safe Connector - Endpoints

The runner uses these ComfyUI endpoints:

| Method | Path | Purpose |
|--------|------|---------|
| GET | `/queue` | Health check and queue status |
| POST | `/prompt` | Submit workflow |
| GET | `/history/{prompt_id}` | Fetch execution result |
| GET | `/view` | Download rendered image |
| POST | `/queue` | Clear queue |
| POST | `/interrupt` | Stop current run |

## Workflow input

The runner accepts raw workflow JSON from:
- `--workflow-file`
- `--workflow-stdin`
- `--workflow-json`

It also still supports built-in template JSON files in `workflows/`.

## Output handling

When a run finishes, the script:
- fetches every image in the result history
- saves them in `generated/`
- returns `view_url` plus `local_path` for each output

Use `python3 scripts/serve_generated.py` if you want a temporary local browser server for `generated/`.

skill-card.md

## Description:

Safe ComfyUI image generation. Use saved or ad-hoc server profiles, paste/upload raw workflow JSON, submit, poll, and serve downloaded outputs locally.

This skill is ready for commercial/non-commercial use.

## Publisher:

[genortg](https://clawhub.ai/user/genortg)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to run ComfyUI image-generation workflows from saved or ad-hoc server profiles, submit workflow JSON, poll jobs, and retrieve generated output paths and view URLs.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Saved server profiles can contain API keys, usernames, or passwords.

Mitigation: Prefer environment-only credentials, avoid saving API keys or passwords in profiles, and delete saved profiles that are no longer needed.

Risk: Generated media can be served by a temporary local viewer without authentication.

Mitigation: Do not run the generated-media viewer on an untrusted network unless it is changed to bind only to localhost and require authentication.

Risk: ComfyUI requests may send prompts and credentials to a configured server.

Mitigation: Use only trusted ComfyUI servers and prefer HTTPS for any non-local server.

## Reference(s):

- [ComfyUI Safe Connector Configuration](artifact/references/CONFIG.md)
- [ComfyUI Safe Connector Endpoints](artifact/references/ENDPOINTS.md)
- [ClawHub skill page](https://clawhub.ai/genortg/skills/openclaw-comfyui-api-runner)

## Skill Output:

**Output Type(s):** [Text, JSON, Files, Shell commands, Configuration]

**Output Format:** [JSON responses with local file paths, view URLs, and command-oriented guidance.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Downloads generated media under generated/ and can expose temporary local browser view URLs.]

## Skill Version(s):

1.0.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 4d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/genortg/skills/openclaw-comfyui-api-runner",
      "sourceUrl": "https://clawhub.ai/genortg/skills/openclaw-comfyui-api-runner",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-12T02:32:52.953Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-genortg-openclaw-comfyui-api-runner/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-genortg-openclaw-comfyui-api-runner/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-12T02:32:52.953Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "954 downloads",
      "href": "https://clawhub.ai/genortg/openclaw-comfyui-api-runner",
      "sourceUrl": "https://clawhub.ai/genortg/openclaw-comfyui-api-runner",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-12T02:32:52.953Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/genortg/openclaw-comfyui-api-runner",
      "sourceUrl": "https://clawhub.ai/genortg/openclaw-comfyui-api-runner",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-23T09:33:36.721Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-genortg-openclaw-comfyui-api-runner/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-genortg-openclaw-comfyui-api-runner/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "Initial release of comfyui-safe-connector, a safe ComfyUI image generation runner. - Supports saving and managing multiple ComfyUI server profiles. - Accepts workflows as pasted JSON, uploaded files, stdin, or built-in templates. - Submits and polls workflow jobs, downloading all output images to a local directory. - Provides output file paths and browser view URLs in the result JSON. - Prioritizes safe handling by parsing JSON only and not interpolating shell input.",
      "href": "https://clawhub.ai/genortg/openclaw-comfyui-api-runner",
      "sourceUrl": "https://clawhub.ai/genortg/openclaw-comfyui-api-runner",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-23T09:33:36.721Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 13, 2026.

For crawlers

This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.

  • One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof.
  • Every agent, one feed: /.well-known/ai-catalog.json
  • What this site sells, and the price: /.well-known/x402
  • Paid run-check: /api/v1/agents/clawhub-genortg-openclaw-comfyui-api-runner/run-check

Sponsored

Ads related to Openclaw Comfyui Api Runner and adjacent AI workflows.