Dihan

ComfyUI Skill

デザイン・メディアv1.0.0
作者:Dihan更新日 2026-05-17comfy-ui@clawhub_dihan/comfy-ui
画像生成#Image Generation

AlphaMoatによると、2026-09時点でComfyUI Skillのダウンロード数は2,941、スター数は5で、AIスキル全体5,078件中3,773位、デザイン・メディアでは512件中360位です。

インストール数
102
ダウンロード数
2941
スター数
5
総合順位
#3,773
全体の上位 75% · デザイン・メディアの上位 71%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗60227132
SkillHub ↗10229415—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

既定ワークフローまたは利用者が用意したAPIワークフローを使い、プロンプトをサーバーへ送り、生成結果をローカルにダウンロードできます。利用前に到達可能なサーバーを設定し、APIモードを有効にしてください。プロンプトとワークフローはサーバーに送信されます。意図しない場所への書き込みを防ぐため、ダウンロード時のファイル名と出力パスを確認してください。

資料公開日 2026-10-29

できること

  • 設定済みのComfyUIサーバーへ画像生成プロンプトを送る。
  • 生成リクエストにカスタムワークフローJSONを指定する。
  • 生成ファイルとローカル保存先を確認する。

使う場面

  • 自分のハードウェア上のローカルComfyUIで画像を生成するとき。
  • 設定済みワークフローを通じてプロンプトを送るとき。
  • 機微なプロンプトやワークフローの送信、ネットワークサービスの公開、ダウンロードファイルの処理前に、サーバーの信頼性と保存先の安全性を確認するとき。

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

ローカルComfyUIを使う前に確認するサーバーアドレス、APIモード、ワークフローファイルを列挙してください。生成は開始しないでください。
生成前にプロンプトとダウンロード先を確認し、意図したディレクトリ外に書き込まれないことを確認してください。

月次の推移

ダウンロード数2941
650188131112026-03 · ダウンロード数 8202026-05 · ダウンロード数 14322026-07 · ダウンロード数 20632026-08 · ダウンロード数 24362026-09 · ダウンロード数 294126-0326-09
スター数5
3452026-03 · スター数 32026-05 · スター数 42026-07 · スター数 42026-08 · スター数 52026-09 · スター数 526-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-092941—5
2026-082436+18.1%5
2026-072063—4
2026-051432—4
2026-03820—3

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

2.9 KB・ClawHub v1.0.0
---
name: comfyui
description: Generate high-quality images using a local ComfyUI instance. Use when the user wants private, powerful image generation via their own hardware and custom workflows. Requires a running ComfyUI server accessible on the local network.
metadata:
  {
    "openclaw":
      {
        "emoji": "🎨",
        "requires": { "env": ["COMFYUI_SERVER_ADDRESS"] },
      },
すべて表示(全 63 行)
  }
---

# ComfyUI Local Skill

This skill allows OpenClaw to generate images by connecting to a ComfyUI instance running on the local network.

## Setup

1. **Server Address:** Set the `COMFYUI_SERVER_ADDRESS` environment variable to your PC's IP and port (e.g., `http://192.168.1.119:8189`).
2. **API Mode:** Ensure **"Enable Dev mode"** is turned on in your ComfyUI settings to allow API interactions.
  
## Usage

### Generate an Image
Run the internal generation script with a prompt:
```bash
python3 {skillDir}/scripts/comfy_gen.py "your image prompt" $COMFYUI_SERVER_ADDRESS
```

### Use a Custom Workflow
Place your API JSON workflows in the `workflows/` folder, then specify the path:
```bash
python3 {skillDir}/scripts/comfy_gen.py "your prompt" $COMFYUI_SERVER_ADDRESS --workflow {skillDir}/workflows/my_workflow.json
```

## Features
- **SDXL Default:** Uses a high-quality SDXL workflow (Juggernaut XL) by default.
- **Auto-Backup:** Designed to save images to `image-gens/` and can be configured to sync to local document folders.
- **Custom Workflows:** Supports external API JSON workflows saved in the `workflows/` folder. The script will automatically try to inject your prompt and a random seed into the workflow nodes.

## Implementation Details
The skill uses a Python helper (`scripts/comfy_gen.py`) to handle the WebSocket/HTTP handshake with the ComfyUI API, queue the prompt, and download the resulting image.

## ComfyUI Image Generation Notes:

1.  **Server Address:**
    *   The ComfyUI server address needs to be passed as a direct argument to the `comfy_gen.py` script after the prompt, not just as an environment variable.
    *   Example: `python3 ... "Your prompt" http://192.168.1.119:8189 ...`

2.  **Workflow Paths:**
    *   When specifying a workflow file path that contains spaces or special characters, it must be enclosed in single quotes to be parsed correctly by the script.
    *   Example: `--workflow '/path/to/your/workflow file name.json'`

3.  **Lora Weight Control:**
    *   The current `comfy_gen.py` script does not appear to have a direct parameter for controlling Lora weights (e.g., setting 'l1lly' Lora to 0.90). This might need to be configured within the workflow JSON itself, or require modifications to the script or workflow.

4.  **Output Filenames:**
    *   Generated images might be saved with temporary names (e.g., `ComfyUI_temp_...png`) rather than more descriptive ones by default.

5.  **ComfyUI Setup:**
    *   Ensure "Enable Dev mode" is turned on in ComfyUI settings for API interactions.

デザイン・メディアの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。